firebase Authentication gradle build error

429 views
Skip to first unread message

kumarvi...@gmail.com

unread,
Apr 18, 2019, 3:22:54 PM4/18/19
to Flutter Dev
Used dependencies:
firebase_auth: ^0.8.4+5
google_sign_in: ^3.2.4
Resolving dependencies... 78.0s Gradle task 'assembleDebug'... registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection) registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection) registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection) registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection) registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)

Kenton

unread,
Apr 18, 2019, 4:10:00 PM4/18/19
to Flutter Dev
I'm running into the same issue. Building for iOS is fine, but building for Android returns this error.

Jason Thomas

unread,
Apr 20, 2019, 10:54:11 AM4/20/19
to Flutter Dev
It's a warning, not an error.  I am seeing this message as well and my app works fine with the following:

firebase_auth: ^0.8.1+4
cloud_firestore: ^0.9.5+2
google_sign_in: ^4.0.1+1 

Kenton

unread,
Apr 20, 2019, 3:42:09 PM4/20/19
to Flutter Dev
I had additional errors that wouldn't let me build, but this helped me. 

Sreejith M

unread,
Oct 14, 2019, 10:56:43 PM10/14/19
to Flutter Development (flutter-dev)
Launching lib\main.dart on Android SDK built for x86 64 in debug mode...
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
Note: E:\Andriod\flutter\.pub-cache\hosted\pub.dartlang.org\cloud_firestore-0.12.9+5\android\src\main\java\io\flutter\plugins\firebase\cloudfirestore\CloudFirestorePlugin.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: E:\Andriod\flutter\.pub-cache\hosted\pub.dartlang.org\cloud_firestore-0.12.9+5\android\src\main\java\io\flutter\plugins\firebase\cloudfirestore\CloudFirestorePlugin.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details.
Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details.
Built build\app\outputs\apk\debug\app-debug.apk.
Exited (sigint)

Nidhin Mahesh

unread,
Oct 15, 2019, 8:01:09 AM10/15/19
to Sreejith M, Flutter Development (flutter-dev)
It would be easy to find the issue if you could mention what did change in code. 

--
You received this message because you are subscribed to the Google Groups "Flutter Development (flutter-dev)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/flutter-dev/4338ae8b-19b4-4ef0-a076-c76b56a3ae50%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages