我正在开发一个包含依赖项facebook_app_events的颤振应用程序。到目前为止,它一直运行得很好,但现在,由于无缘无故,它不再为android工作了。
当我构建应用程序时,我会得到以下错误:
失败:生成失败,出现异常。
* What went wrong:
Execution failed for task ':app:checkProdDebugAarMetadata'.
> Could not resolve all files for configuration ':app:prodDebugRuntimeClasspath'.
&g
更新:2021年10月22日
我的调试AndroidManifest.xml文件在构建时给了我错误。只发生在Android模拟器上,IOS运行perfectly.android.useAndroidX=trueandroid.enableJetifier=true。
com.yalantis.ucrop.UCropActivity:错误是由标记:引起的,这是不合适的。即使我把它移到正确的地方,它也会在建筑时自动向后移动。
我正在收到的错误:
error: unexpected element <activity> found in <manifest>.
以下是我的调试
当我运行我的颤振项目或运行pub get命令时,我得到了这个错误。我研究了我的颤振项目中的代码,我没有使用这个插件,但是我找不到flutter_sim_country_code插件的用法。下面提到了错误。
The plugin `flutter_sim_country_code` doesn't have a main class defined in E:\flutter_windows_2.0.2-stable\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_sim_country_code-0.1.1\android\src\
我刚开始接触flutter,所以我正在从事firebase身份验证工作,并且已经创建了一个flutter firebase项目,但是当我运行flutter packages get时,我得到了包错误。 我的输出如下所示 Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
Try the new cross-platform PowerShell https://aka.ms/pscore6
PS E:\new proj\firebase auth\firebase_auth_demo_f
我正在尝试在我的flutter应用程序上实现Facebook Firebase身份验证, 我已经解决了一切,一切顺利,但在Facebook要求用户的登录凭据。它给出了这个错误: PlatformException(ERROR_INVALID_CREDENTIAL, The supplied auth credential is malformed or has expired. [ Bad access token: {"code":190,"message":"Invalid OAuth access token."} ], null) 下面
在过去的3天里,我尝试了所有我能想到的-更新了gradle,但是当我运行flutter build apk和flutter build appbundle时,我得到了同样的错误: FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'apple_sign_in'.
> SDK location not found. Define location with sdk.dir in the local.properti
我从github下载了项目,并试图运行该项目,但它需要Get Dependencies,当我按下Pub Get to for dependencies时,我收到以下错误:
由于sdk的每个版本的flutter_test都依赖于路径1.7.0,fstore依赖于路径1.6.4,所以禁止sdk的flutter_test。
因此,由于fstore依赖于sdk中的flutter_test any,因此版本解析失败。发布获取失败(1;因此,因为fstore依赖于sdk中的flutter_test,所以版本解析失败。)
这是pubsbec.yaml文件:
name: fstore
description:
firebase_auth ^0.7.0 and flutter_firebase_ui ^0.0.13, version solving failed.
我不想搬到android别人帮我解决这个问题
http:^0.12.0 # The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons.
cupertino\_icons: ^0.1.2
#sqflite: any
sqflite: ^
我只是向pubspec.yaml添加了新的依赖项,它是firebase_admob: ^0.8.0+3,但添加它后,我的应用程序在启动时崩溃。 这是我的其他依赖项,有什么好解决的吗? dependencies:
flutter:
sdk: flutter
flutter_localizations:
sdk: flutter
# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style i
所以最近,我尝试将我的Flutter web应用托管到Firebase托管中。flutter build web --release脚本运行得很好,没有任何错误。然后,我将其部署到我的Firebase主机上。当我点击登录按钮时,什么也没有发生。然后我尝试用firebase serve在本地运行我的build/web,web应用程序运行得很好。我是不是跳过了什么步骤?我走进了死胡同。 也许我会告诉你这个gif是怎么做的。 这是我的web/index.html <!DOCTYPE html>
<html>
<head>
<!--
If you
我正在尝试实现与苹果签署我的颤音网络项目。
我已经完全遵循了FlutterFire文档()中关于web实现的说明。我还没有为iOS或安卓系统实现它。我已经成功地在我的web应用程序中实现了Google和Facebook的登录。
当我打电话:
import 'package:firebase_auth/firebase_auth.dart';
Future<UserCredential> signInWithApple() async {
// Create and configure an OAuthProvider for Sign In with Appl
当我运行命令时,我得到了以下错误: pod -repo-update
以下是我正在犯的错误:
[!] CocoaPods could not find compatible versions for pod "FBSDKLoginKit":
In Podfile:
flutter_facebook_auth (from `.symlinks/plugins/flutter_facebook_auth/ios`) was resolved to 4.3.0, which depends on
FBSDKLoginKit (~> 13)
fl
我正在使用flutter_login_facebook 1.0.1插件来使用Facebook登录到我的应用程序。
当我试图在iOS设备上设置Facebook登录时,我得到了下面的错误。
pod install
WARNING: CocoaPods requires your terminal to be using UTF-8 encoding.
Consider adding the following to ~/.profile:
export LANG=en_US.UTF-8
Analyzing dependencies
Pre-downloadin
我正在尝试用firebase实时数据库运行我的网页应用程序,但是每当我运行这个应用程序时,总是会得到这个错误。
错误:MissingPluginException(在通道plugins.fltter.io/firebase_database上没有找到方法Query#observe的实现)
我的index.html文件如下所示
<!DOCTYPE html>
<html>
<head>
<!--
If you are serving your web app in a path other than the root, chan
我正在尝试使用Flutter为Andriod应用程序构建一个发布应用程序包, 当我运行时: flutter build appbundle 我得到了: * What went wrong:
A problem occurred evaluating project ':app'.
> No signature of method: build_9z8dp8vvjumdxnixrakr4imyg.android() is applicable for argument
types: (build_9z8dp8vvjumdxnixrakr4imyg$_run_closur