I am new to flutter and I am working on a flutter project. After upgrading Flutter my application is throwing a lot of errors, please help.
Launching lib\main.dart on Redmi 3S in debug mode...
Running Gradle task 'assembleDebug'...
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
Note: D:\Desktop\flutter\.pub-cache\hosted\pub.dartlang.org\cloud_firestore-0.13.6\android\src\main\java\io\flutter\plugins\firebase\cloudfirestore\CloudFirestorePlugin.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
√ Built build\app\outputs\apk\debug\app-debug.apk.
Installing build\app\outputs\apk\app.apk...
D/FlutterActivity(23668): Using the launch theme as normal theme.
D/FlutterActivityAndFragmentDelegate(23668): Setting up FlutterEngine.
D/FlutterActivityAndFragmentDelegate(23668): No preferred FlutterEngine was provided. Creating a new FlutterEngine for this FlutterFragment.
D/FlutterActivityAndFragmentDelegate(23668): Attaching FlutterEngine to the Activity that owns this Fragment.
D/FlutterView(23668): Attaching to a FlutterEngine: io.flutter.embedding.engine.FlutterEngine@a6c57d8
D/FlutterActivityAndFragmentDelegate(23668): Executing Dart entrypoint: main, and sending initial route: /
Debug service listening on ws://127.0.0.1:58779/OulyD3UVTj0=/ws
Syncing files to device Redmi 3S...
I/Choreographer(23668): Skipped 45 frames! The application may be doing too much work on its main thread.
W/DynamiteModule(23668): Local module descriptor class for providerinstaller not found.
I/DynamiteModule(23668): Considering local module providerinstaller:0 and remote module providerinstaller:0
W/ProviderInstaller(23668): Failed to load providerinstaller module: No acceptable module found. Local version is 0 and remote version is 0.
W/ResourceType(23668): No package identifier when getting name for resource number 0x00000000
V/NativeCrypto(23668): Registering com/google/android/gms/org/conscrypt/NativeCrypto's 286 native methods...
I/art (23668): Rejecting re-init on previously-failed class java.lang.Class<com.google.android.gms.org.conscrypt.Java7ExtendedSSLSession>
I/art (23668): Rejecting re-init on previously-failed class java.lang.Class<com.google.android.gms.org.conscrypt.Java7ExtendedSSLSession>
I/art (23668): Rejecting re-init on previously-failed class java.lang.Class<com.google.android.gms.org.conscrypt.Java8ExtendedSSLSession>
I/art (23668): Rejecting re-init on previously-failed class java.lang.Class<com.google.android.gms.org.conscrypt.Java8ExtendedSSLSession>
I/ProviderInstaller(23668): Installed default security provider GmsCore_OpenSSL
I can assure you there is no error founds when I run flutter doctor -v
in case you are wondering.
E:\FlutterProjectsAS\cssc_ngo>flutter doctor -v
[√] Flutter (Channel unknown, v1.12.13+hotfix.9, on Microsoft Windows [Version 10.0.17134.1130], locale en-US)
• Flutter version 1.12.13+hotfix.9 at D:\Desktop\flutter
• Framework revision f139b11009 (3 months ago), 2020-03-30 13:57:30 -0700
• Engine revision af51afceb8
• Dart version 2.7.2
[√] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
• Android SDK at C:\Users\Parth Bhatia\AppData\Local\Android\sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-29, build-tools 29.0.2
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
• All Android licenses accepted.
[√] Android Studio (version 4.0)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin version 47.1.2
• Dart plugin version 193.7361
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
[!] IntelliJ IDEA Ultimate Edition (version 2018.1)
• IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA 2018.1.5
X Flutter plugin not installed; this adds Flutter specific functionality.
X Dart plugin not installed; this adds Dart specific functionality.
• For information about installing plugins, see
https://flutter.dev/intellij-setup/#installing-the-plugins
[√] Connected device (1 available)
• Redmi 3S • bd92de357d93 • android-arm64 • Android 6.0.1 (API 23)
! Doctor found issues in 1 category.
I am looking for a solution to this for a while on the internet so please help me.
User contributions licensed under CC BY-SA 3.0