在为Android (座位为APK)编译移动应用程序时,我会收到以下警告:
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollect
我正在尝试添加一个简单的文本到Firebase数据库中。我已经成功地使用gmail登录,并且工作正常,但是当我尝试添加任何内容时,它会给我这个错误:
E/MethodChannel#plugins.flutter.io/firebase_database( 6299): Failed to handle method call
E/MethodChannel#plugins.flutter.io/firebase_database( 6299): com.google.firebase.database.DatabaseException: Failed to get FirebaseData
hei是一款全新的火药桶,我想用它来制作登录页面。在我创建了登录页面和从firebase到我的项目的所有安装程序之后,我得到了这个erorr。我尝试pub clear cache,但它不能解决这个问题。
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':firebase_core:compileDebugAidl'.
> Could not resolve all task dependencies for
我正在尝试通过Flutter/Firebase web应用程序使用Apple登录。它在弹出浏览器选项卡上工作得很好,所以我知道常规配置是正确的。但是,当使用重定向流而不是弹出窗口时,会导致错误。当苹果登录完成后,它会在Firebase的https://YOUR_FIREBASE_PROJECT_ID.firebaseapp.com/__/auth/handler网址上发布一个帖子,其中包括一个code和id_token。但是,Firebase Auth处理程序页面显示以下错误:
Unable to process request due to missing initial state. Th
我试图在Flutter中登录google,问题是在填写登录凭据后,它不会移动到下一页,而是返回登录页面。此外,它不会在Cloud Firestore中保存任何数据。但它会将该电子邮件登录用户添加到Firebase的用户身份验证字段中。我试着用不同的代码来解决这个问题,但是什么也没有发生。以下是我到目前为止所做的工作。 **Flutter Doctor:**
C:\Users\Nouma>flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stab
当我有wifi时,我可以使用电子邮件和密码进行防火墙身份验证,但是我连接了移动数据连接,防火墙身份验证失败了,并得到了以下消息:
"a network error (such as timeout, interrupted connection or unreachable
host) has occurred."
这是我的秤:
classpath 'com.google.gms:google-services:3.1.0'
compile 'com.google.firebase:firebase-auth:11.0.1'
这是我的舱单:
我一直致力于颤振和使用Firebase授权。在我编写应用程序的时候,我可以通过三种方式登录:电话认证、谷歌登录和电子邮件认证。在我的应用程序apk上,我无法通过电话身份验证登录。在我得到这个错误后,我再次尝试了调试模式,并且Phone Auth还在工作。我搞不懂这个问题。我控制了SHA-1和SHA-256指纹,两者都是正确的。哦,我收到了这个错误:
[firebase_auth/app-not-authrized] This app is not authorized to use Firebase Authtentication. Please verify that the correct
我在Flutter应用程序中安装Firebase时遇到了问题。
因此,我尝试使用Firebase创建一个登录页面,并遵循Firebase网站上的示例,其中表示您需要添加以下代码
plugins {
id 'com.android.application'
// Add the Google services Gradle plugin
id 'com.google.gms.google-services'
...
}
对于build.gradle文件,但是当我这样做并尝试通过Android运行我的Flutter应用程序时,它会停在"G
尝试使用Flutter构建Android应用程序时出错。
我试过这个解决方案,但它不起作用。
我想要一个提示来解决它。
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:preDebugBuild'.
> Android dependency 'com.google.firebase:firebase-iid' has different version for the compile (19.0.0) and runti
一个月前,当我创建一个新的颤振项目,在firebase注册它,并在上面的页面上运行这个示例时,我能够注册并登录到iOS模拟器和安卓模拟器中。
当我今天再次运行该应用程序时,iOS上会出现异常,即使我在用户注册屏幕上输入电子邮件/密码并按下提交按钮,屏幕显示也不会改变。情况是用户注册尚未完成。
使用android仿真器,用户注册和登录可以顺利完成。当然,我已经在firebase控制台中将"email/password“方法设置为"enabled”。异常消息如下所示。
Launching lib/main.dart on iPhone SE (2nd generation) in
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: ^
我一直坚持使用Gradle而不是构建(在iOS上工作很好)。我挣扎着,因为Gradle给出了一个通用的错误,今天终于得到了这个: FAILURE: Build failed with an exception.
* What went wrong: Failed to capture fingerprint of input files for task ':app:preDebugBuild' property 'compileManifests' during up-to-date check.
> In project 'app'