New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[shared_preferences] Plugin project :shared_preferences_web not found. Please update settings.gradle. #55827
Comments
Hi @statsss |
1.18.0-dev.5.0-dev and higher Flutter (Channel master, v1.18.0-9.0.pre.15, on Microsoft Windows [Version 10.0.18362.295], locale ru-RU)
• Flutter version 1.18.0-9.0.pre.15 at D:\pf\flutter\flutter
• Framework revision a1a22a7665 (15 hours ago), 2020-04-27 11:18:03 -0700
• Engine revision 4bcfae82c7
• Dart version 2.9.0 (build 2.9.0-3.0.dev a69cb6d700)
[!] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
• Android SDK at C:\Users\admin\AppData\Local\Android\sdk
• Platform android-29, build-tools 29.0.3
• Java binary at: D:\pf\android\android-studio-ide-193.6401094-windows\android-studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
! Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses
[√] Android Studio (version 3.6)
• Android Studio at D:\pf\android\AndroidStudio
• Flutter plugin version 45.1.1
• Dart plugin version 192.7761
• Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04) |
Hi @statsss [✓] Flutter (Channel master, 1.18.0-9.0.pre.73, on Mac OS X 10.15.4 19E287, locale en-EE)
• Flutter version 1.18.0-9.0.pre.73 at /Users/nevercode/development/flutter_master
• Framework revision bd6ccb606a (13 hours ago), 2020-04-29 16:31:42 -0700
• Engine revision 2db3276573
• Dart version 2.9.0 (build 2.9.0-3.0.dev 726d3c7725)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
• Android SDK at /Users/nevercode/Library/Android/sdk
• Platform android-29, build-tools 29.0.2
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 11.3.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 11.3.1, Build version 11C504
• CocoaPods version 1.9.0
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 3.6)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 45.0.1
• Dart plugin version 192.7761
• Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
[✓] VS Code
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.9.1
[✓] Connected device (3 available)
• Pixel 3a • 965AY0WP5C • android-arm64 • Android 10 (API 29)
• Web Server • web-server • web-javascript • Flutter Tools
• Chrome • chrome • web-javascript • Google Chrome 81.0.4044.129
• No issues found! logs
please provide the info indicated above |
logs
|
flutter doctor -v
Logs
|
Hi, I have the same issue with shared_preferences and with some other plugins [connectivity_macos, moor_ffi]. Thanks,
|
I've found that the problem is related to this is the working file
this is the more recent not working
|
@TahaTesser any update on this? Thanks |
Confirmed @fnicastri's fix works. Also on the master channel |
I also have a similar problem, and @fnicastri's fix doesn't work
flutter doctor:
|
I hope that PR #57907 will fix the issue for the new default In the meantime, we can use @fnicastri 's workaround and hopefully later replace the |
For myself, Flutter version 1.17.1 creates the old
|
Same issue for me. Workaround of settings.gradle didn't help. Code works fine with 1.17.1 but can't be built with 1.17.2 and 1.17.3: [√] Flutter (Channel stable, v1.17.3, on Microsoft Windows [Version 10.0.18363.836], locale de-DE) [√] Android toolchain - develop for Android devices (Android SDK version 29.0.2) [√] Android Studio (version 4.0) [√] Connected device (1 available) |
logsWindows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
Try the new cross-platform PowerShell https://aka.ms/pscore6
PS C:\Users\Taha\AndroidStudioProjects\triage-examples\flutter_plugin_examples\shared_preferences_example> flutters run -v
[ +104 ms] executing: [C:\Users\Taha\Code\flutter_stable/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +52 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +1 ms] 9b2d32b605630f28625709ebd9d78ab3016b2bf6
[ ] executing: [C:\Users\Taha\Code\flutter_stable/] git tag --points-at HEAD
[ +37 ms] Exit code 0 from: git tag --points-at HEAD
[ +1 ms] 1.22.6
[ +8 ms] executing: [C:\Users\Taha\Code\flutter_stable/] git rev-parse --abbrev-ref --symbolic @{u}
[ +34 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[ +1 ms] origin/stable
[ +1 ms] executing: [C:\Users\Taha\Code\flutter_stable/] git ls-remote --get-url origin
[ +31 ms] Exit code 0 from: git ls-remote --get-url origin
[ +4 ms] https://github.com/flutter/flutter.git
[ +57 ms] executing: [C:\Users\Taha\Code\flutter_stable/] git rev-parse --abbrev-ref HEAD
[ +29 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[ +1 ms] stable
[ +45 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[ +1 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[ +5 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[ +2 ms] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[ +4 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +15 ms] executing: C:\Users\Taha\Code\SDK\platform-tools\adb.exe devices -l
[ +34 ms] List of devices attached
emulator-5554 device product:sdk_gphone_x86_64 model:Android_SDK_built_for_x86_64 device:generic_x86_64
transport_id:1
[ +9 ms] C:\Users\Taha\Code\SDK\platform-tools\adb.exe -s emulator-5554 shell getprop
[ +35 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[ +4 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[ +2 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[ +7 ms] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[ +1 ms] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +117 ms] Found plugin path_provider_linux at
C:\Users\Taha\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\path_provider_linux-0.0.1+2\
[ +7 ms] Found plugin path_provider_windows at
C:\Users\Taha\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\path_provider_windows-0.0.4+3\
[ +8 ms] Found plugin shared_preferences at
C:\Users\Taha\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\shared_preferences-0.5.12+4\
[ +11 ms] Found plugin shared_preferences_linux at
C:\Users\Taha\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\shared_preferences_linux-0.0.2+4\
[ +2 ms] Found plugin shared_preferences_macos at
C:\Users\Taha\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\shared_preferences_macos-0.0.1+8\
[ +20 ms] Found plugin shared_preferences_web at
C:\Users\Taha\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\shared_preferences_web-0.1.2+5\
[ +11 ms] Found plugin shared_preferences_windows at
C:\Users\Taha\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\shared_preferences_windows-0.0.2+2\
[ +107 ms] Found plugin path_provider_linux at
C:\Users\Taha\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\path_provider_linux-0.0.1+2\
[ +3 ms] Found plugin path_provider_windows at
C:\Users\Taha\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\path_provider_windows-0.0.4+3\
[ +10 ms] Found plugin shared_preferences at
C:\Users\Taha\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\shared_preferences-0.5.12+4\
[ +10 ms] Found plugin shared_preferences_linux at
C:\Users\Taha\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\shared_preferences_linux-0.0.2+4\
[ +2 ms] Found plugin shared_preferences_macos at
C:\Users\Taha\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\shared_preferences_macos-0.0.1+8\
[ +3 ms] Found plugin shared_preferences_web at
C:\Users\Taha\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\shared_preferences_web-0.1.2+5\
[ +8 ms] Found plugin shared_preferences_windows at
C:\Users\Taha\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\shared_preferences_windows-0.0.2+2\
[ +20 ms] Generating
C:\Users\Taha\AndroidStudioProjects\triage-examples\flutter_plugin_examples\shared_preferences_example\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
[ +30 ms] ro.hardware = ranchu
[ +26 ms] Using hardware rendering with device Android SDK built for x86 64. If you notice graphics artifacts, consider
enabling software
rendering with "--enable-software-rendering".
[ +25 ms] Starting incremental build...
[ +4 ms] Initializing file store
[ +13 ms] Skipping target: gen_localizations
[ +8 ms] complete
[ +6 ms] Launching lib\main.dart on Android SDK built for x86 64 in debug mode...
[ +14 ms] C:\Users\Taha\Code\flutter_stable\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev
C:\Users\Taha\Code\flutter_stable\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root
C:\Users\Taha\Code\flutter_stable\bin\cache\artifacts\engine\common\flutter_patched_sdk/ --incremental --target=flutter
--debugger-module-names --experimental-emit-debug-metadata -Ddart.developer.causal_async_stacks=true --output-dill
C:\Users\Taha\AppData\Local\Temp\flutter_tools.8a8cf76\flutter_tool.819f0161\app.dill --packages .packages
-Ddart.vm.profile=false -Ddart.vm.product=false
--bytecode-options=source-positions,local-var-info,debugger-stops,instance-field-initializers,keep-unreachable-code,avoid-closure-call-instructions --enable-asserts --track-widget-creation --filesystem-scheme org-dartlang-root --initialize-from-dill
build\cache.dill.track.dill
[ +28 ms] executing: C:\Users\Taha\Code\SDK\platform-tools\adb.exe -s emulator-5554 shell -x logcat -v time -t 1
[ +34 ms] Exit code 0 from: C:\Users\Taha\Code\SDK\platform-tools\adb.exe -s emulator-5554 shell -x logcat -v time -t 1
[ +1 ms] --------- beginning of main
01-26 18:48:32.133 I/boot-pipe( 1451): done populating /dev/random
[ +2 ms] executing: C:\Users\Taha\Code\SDK\platform-tools\adb.exe -s emulator-5554 shell -x logcat -v time -t 1
[ +40 ms] Exit code 0 from: C:\Users\Taha\Code\SDK\platform-tools\adb.exe -s emulator-5554 shell -x logcat -v time -t 1
[ +1 ms] --------- beginning of main
01-26 18:48:32.133 I/boot-pipe( 1451): done populating /dev/random
[ +14 ms] <- compile package:triage/main.dart
[ +9 ms] executing: C:\Users\Taha\Code\SDK\platform-tools\adb.exe version
[ +60 ms] Android Debug Bridge version 1.0.41
Version 30.0.5-6877874
Installed as C:\Users\Taha\Code\SDK\platform-tools\adb.exe
[ +6 ms] executing: C:\Users\Taha\Code\SDK\platform-tools\adb.exe start-server
[ +23 ms] Building APK
[ +22 ms] Running Gradle task 'assembleDebug'...
[ +2 ms] gradle.properties already sets `android.enableR8`
[ +12 ms] C:\Users\Taha\Code\flutter_stable\bin\cache\artifacts\gradle_wrapper\gradle\wrapper\gradle-wrapper.jar mode: 33206
rw-rw-rw-.
[ +14 ms] C:\Users\Taha\Code\flutter_stable\bin\cache\artifacts\gradle_wrapper\gradlew mode: 33206 rw-rw-rw-.
[ +22 ms] C:\Users\Taha\Code\flutter_stable\bin\cache\artifacts\gradle_wrapper\gradlew.bat mode: 33279 rwxrwxrwx.
[ +3 ms]
C:\Users\Taha\AndroidStudioProjects\triage-examples\flutter_plugin_examples\shared_preferences_example\android\gradlew.bat
mode: 33279 rwxrwxrwx.
[ +1 ms] Using gradle from
C:\Users\Taha\AndroidStudioProjects\triage-examples\flutter_plugin_examples\shared_preferences_example\android\gradlew.bat.
[ +1 ms]
C:\Users\Taha\AndroidStudioProjects\triage-examples\flutter_plugin_examples\shared_preferences_example\android\gradlew.bat
mode: 33279 rwxrwxrwx.
[ +7 ms] executing: C:\Users\Taha\Code\android-studio\jre\bin\java -version
[ +93 ms] Exit code 0 from: C:\Users\Taha\Code\android-studio\jre\bin\java -version
[ ] openjdk version "1.8.0_242-release"
OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
OpenJDK 64-Bit Server VM (build 25.242-b01, mixed mode)
[ +2 ms] executing:
[C:\Users\Taha\AndroidStudioProjects\triage-examples\flutter_plugin_examples\shared_preferences_example\android/]
C:\Users\Taha\AndroidStudioProjects\triage-examples\flutter_plugin_examples\shared_preferences_example\android\gradlew.bat
-Pverbose=true -Ptarget-platform=android-x64
-Ptarget=C:\Users\Taha\AndroidStudioProjects\triage-examples\flutter_plugin_examples\shared_preferences_example\lib\main.dart
-Ptrack-widget-creation=true -Pfilesystem-scheme=org-dartlang-root assembleDebug
[+1684 ms] > Configure project :app
[ +1 ms] Plugin project :shared_preferences_web not found. Please update settings.gradle.
[ +2 ms] Plugin project :shared_preferences_macos not found. Please update settings.gradle.
[+3480 ms] > Task :app:compileFlutterBuildDebug
[ +1 ms] [ +99 ms] executing: [C:\Users\Taha\Code\flutter_stable/] git -c log.showSignature=false log -n 1
--pretty=format:%H
[ +15 ms] [ +55 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +1 ms] [ ] 9b2d32b605630f28625709ebd9d78ab3016b2bf6
[ ] [ ] executing: [C:\Users\Taha\Code\flutter_stable/] git tag --points-at HEAD
[ +16 ms] [ +36 ms] Exit code 0 from: git tag --points-at HEAD
[ +12 ms] [ ] 1.22.6
[ +1 ms] [ +10 ms] executing: [C:\Users\Taha\Code\flutter_stable/] git rev-parse --abbrev-ref --symbolic @{u}
[ +1 ms] [ +31 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[ +1 ms] [ ] origin/stable
[ +1 ms] [ ] executing: [C:\Users\Taha\Code\flutter_stable/] git ls-remote --get-url origin
[ ] [ +27 ms] Exit code 0 from: git ls-remote --get-url origin
[ +2 ms] [ ] https://github.com/flutter/flutter.git
[ +22 ms] [ +57 ms] executing: [C:\Users\Taha\Code\flutter_stable/] git rev-parse --abbrev-ref HEAD
[ +10 ms] [ +29 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[ +12 ms] [ ] stable
[ +1 ms] [ +32 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[ +10 ms] [ ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[ +1 ms] [ ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[ +1 ms] [ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[ +16 ms] [ +2 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[ +1 ms] [ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[ +11 ms] [ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +1 ms] [ +12 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[ +19 ms] [ ] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[ +1 ms] [ ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[ +10 ms] [ ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[ +1 ms] [ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[ +1 ms] [ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[ ] [ ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[ ] [ ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[ +11 ms] [ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[ +1 ms] [ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[ +1 ms] [ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[ +10 ms] [ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[ +1 ms] [ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[ +1 ms] [ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +21 ms] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ +10 ms] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ +1 ms] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ +14 ms] [ ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[ +15 ms] [ +66 ms] Initializing file store
[ +19 ms] [ +13 ms] Skipping target: gen_localizations
[ +1 ms] [ +6 ms] kernel_snapshot: Starting due to {}
[ +2 ms] [ +28 ms] C:\Users\Taha\Code\flutter_stable\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev
C:\Users\Taha\Code\flutter_stable\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root
C:\Users\Taha\Code\flutter_stable\bin\cache\artifacts\engine\common\flutter_patched_sdk/ --target=flutter
-Ddart.developer.causal_async_stacks=true -Ddart.vm.profile=false -Ddart.vm.product=false
--bytecode-options=source-positions,local-var-info,debugger-stops,instance-field-initializers,keep-unreachable-code,avoid-closure-call-instructions --enable-asserts --track-widget-creation --no-link-platform --packages
C:\Users\Taha\AndroidStudioProjects\triage-examples\flutter_plugin_examples\shared_preferences_example\.packages --output-dill
C:\Users\Taha\AndroidStudioProjects\triage-examples\flutter_plugin_examples\shared_preferences_example\.dart_tool\flutter_build\2e798865c92c0fa29ee2a9136d5a1fa1\app.dill --depfile
C:\Users\Taha\AndroidStudioProjects\triage-examples\flutter_plugin_examples\shared_preferences_example\.dart_tool\flutter_build\2e798865c92c0fa29ee2a9136d5a1fa1\kernel_snapshot.d package:triage/main.dart
[+5605 ms] [+6695 ms] kernel_snapshot: Complete
[ +690 ms] [ +611 ms] debug_android_application: Starting due to {}
[ +204 ms] [ +206 ms] debug_android_application: Complete
[ +610 ms] [ +615 ms] Persisting file store
[ +1 ms] [ +13 ms] Done persisting file store
[ +2 ms] [ +12 ms] build succeeded.
[ +1 ms] [ +14 ms] "flutter assemble" took 8,312ms.
[ ] [ +2 ms] ensureAnalyticsSent: 0ms
[ +1 ms] [ +1 ms] Running shutdown hooks
[ +1 ms] [ ] Shutdown hooks complete
[ ] [ ] exiting with code 0
[ +179 ms] > Task :app:packLibsflutterBuildDebug
[ +1 ms] > Task :app:preBuild UP-TO-DATE
[ +3 ms] > Task :app:preDebugBuild UP-TO-DATE
[ +34 ms] > Task :shared_preferences:preBuild UP-TO-DATE
[ +1 ms] > Task :shared_preferences:preDebugBuild UP-TO-DATE
[ +1 ms] > Task :shared_preferences:compileDebugAidl NO-SOURCE
[ +1 ms] > Task :app:compileDebugAidl NO-SOURCE
[ +9 ms] > Task :shared_preferences:packageDebugRenderscript NO-SOURCE
[ +1 ms] > Task :app:compileDebugRenderscript NO-SOURCE
[ +52 ms] > Task :app:checkDebugManifest
[ +1 ms] > Task :app:generateDebugBuildConfig
[ +1 ms] > Task :app:cleanMergeDebugAssets UP-TO-DATE
[ +6 ms] > Task :app:mergeDebugShaders
[ +1 ms] > Task :app:compileDebugShaders
[ +10 ms] > Task :app:generateDebugAssets
[ +1 ms] > Task :shared_preferences:mergeDebugShaders
[ ] > Task :shared_preferences:compileDebugShaders
[ ] > Task :shared_preferences:generateDebugAssets
[ ] > Task :shared_preferences:packageDebugAssets
[ ] > Task :app:mergeDebugAssets
[ +272 ms] > Task :app:copyFlutterAssetsDebug
[ +1 ms] > Task :app:mainApkListPersistenceDebug
[ +1 ms] > Task :app:generateDebugResValues
[ +7 ms] > Task :app:generateDebugResources
[ +1 ms] > Task :shared_preferences:generateDebugResValues
[ +80 ms] > Task :shared_preferences:compileDebugRenderscript NO-SOURCE
[ +1 ms] > Task :shared_preferences:generateDebugResources
[ +1 ms] > Task :shared_preferences:packageDebugResources
[ +309 ms] > Task :app:createDebugCompatibleScreenManifests
[ +2 ms] > Task :shared_preferences:checkDebugManifest
[ +194 ms] > Task :shared_preferences:processDebugManifest
[ +94 ms] > Task :app:processDebugManifest
[ +1 ms] > Task :shared_preferences:parseDebugLibraryResources
[+1104 ms] > Task :app:mergeDebugResources
[ +1 ms] > Task :shared_preferences:generateDebugBuildConfig
[ +189 ms] > Task :shared_preferences:generateDebugRFile
[ +498 ms] > Task :app:processDebugResources
[ +1 ms] > Task :app:processDebugJavaRes NO-SOURCE
[ +10 ms] > Task :shared_preferences:processDebugJavaRes NO-SOURCE
[ +1 ms] > Task :app:checkDebugDuplicateClasses
[ +9 ms] > Task :shared_preferences:javaPreCompileDebug
[ +789 ms] > Task :shared_preferences:compileDebugJavaWithJavac
[ +1 ms] > Task :shared_preferences:bundleLibCompileDebug
[ +497 ms] > Task :app:compileDebugKotlin
[ +91 ms] > Task :shared_preferences:bundleLibResDebug
[ +1 ms] > Task :shared_preferences:bundleLibRuntimeDebug
[ ] > Task :shared_preferences:createFullJarDebug
[ +1 ms] > Task :app:javaPreCompileDebug
[ +995 ms] > Task :app:compileDebugJavaWithJavac
[ +1 ms] > Task :app:compileDebugSources
[ +808 ms] > Task :app:transformClassesWithDexBuilderForDebug
[ +1 ms] > Task :app:validateSigningDebug
[ ] > Task :app:signingConfigWriterDebug
[ +994 ms] > Task :app:mergeDebugJavaResource
[ +1 ms] > Task :app:desugarDebugFileDependencies
[ +91 ms] > Task :app:mergeDebugJniLibFolders
[ +2 ms] > Task :shared_preferences:mergeDebugJniLibFolders
[ +1 ms] > Task :shared_preferences:extractDebugAnnotations
[ +14 ms] > Task :shared_preferences:mergeDebugGeneratedProguardFiles
[ +5 ms] > Task :shared_preferences:mergeDebugConsumerProguardFiles
[ ] > Task :shared_preferences:compileDebugSources
[ +13 ms] > Task :shared_preferences:prepareLintJarForPublish
[ +1 ms] > Task :shared_preferences:mergeDebugNativeLibs
[ +12 ms] > Task :shared_preferences:stripDebugDebugSymbols
[ +60 ms] > Task :shared_preferences:transformNativeLibsWithIntermediateJniLibsForDebug
[ +1 ms] > Task :shared_preferences:mergeDebugJavaResource
[ +1 ms] > Task :shared_preferences:transformClassesAndResourcesWithSyncLibJarsForDebug
[ +12 ms] > Task :shared_preferences:transformNativeLibsWithSyncJniLibsForDebug
[ +75 ms] > Task :shared_preferences:bundleDebugAar
[ +1 ms] > Task :shared_preferences:assembleDebug
[ +295 ms] > Task :app:mergeExtDexDebug
[ +408 ms] > Task :app:mergeDexDebug
[+1197 ms] > Task :app:mergeDebugNativeLibs
[ +205 ms] > Task :app:stripDebugDebugSymbols
[ +1 ms] Compatible side by side NDK version was not found.
[ +9 ms] Unable to strip library
'C:\Users\Taha\AndroidStudioProjects\triage-examples\flutter_plugin_examples\shared_preferences_example\build\app\intermediates\merged_native_libs\debug\out\lib\x86\libflutter.so' due to missing strip tool for ABI 'X86'. Packaging it as is.
[ +3 ms] Unable to strip library
'C:\Users\Taha\AndroidStudioProjects\triage-examples\flutter_plugin_examples\shared_preferences_example\build\app\intermediates\merged_native_libs\debug\out\lib\x86_64\libflutter.so' due to missing strip tool for ABI 'X86_64'. Packaging it as is.
[+3772 ms] > Task :app:packageDebug
[ +85 ms] > Task :app:assembleDebug
[ +4 ms] Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
[ +1 ms] Use '--warning-mode all' to show the individual deprecation warnings.
[ +1 ms] See https://docs.gradle.org/5.6.2/userguide/command_line_interface.html#sec:command_line_warnings
[ ] BUILD SUCCESSFUL in 25s
[ +8 ms] 59 actionable tasks: 58 executed, 1 up-to-date
[ +513 ms] Running Gradle task 'assembleDebug'... (completed in 26.8s)
[ +24 ms] calculateSha: LocalDirectory:
'C:\Users\Taha\AndroidStudioProjects\triage-examples\flutter_plugin_examples\shared_preferences_example\build\app\outputs\flutter-apk'/app.apk
[ +15 ms] calculateSha: reading file took 12us
[ +467 ms] calculateSha: computing sha took 464us
[ +9 ms] √ Built build\app\outputs\flutter-apk\app-debug.apk.
[ +5 ms] executing: C:\Users\Taha\Code\SDK\build-tools\30.0.3\aapt dump xmltree
C:\Users\Taha\AndroidStudioProjects\triage-examples\flutter_plugin_examples\shared_preferences_example\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml
[ +20 ms] Exit code 0 from: C:\Users\Taha\Code\SDK\build-tools\30.0.3\aapt dump xmltree
C:\Users\Taha\AndroidStudioProjects\triage-examples\flutter_plugin_examples\shared_preferences_example\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml
[ +12 ms] N: android=http://schemas.android.com/apk/res/android
E: manifest (line=2)
A: android:versionCode(0x0101021b)=(type 0x10)0x1
A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0")
A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1c
A: android:compileSdkVersionCodename(0x01010573)="9" (Raw: "9")
A: package="com.nevercode.triage" (Raw: "com.nevercode.triage")
A: platformBuildVersionCode=(type 0x10)0x1c
A: platformBuildVersionName=(type 0x10)0x9
E: uses-sdk (line=7)
A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1c
E: uses-permission (line=14)
A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
E: application (line=22)
A: android:label(0x01010001)="triage" (Raw: "triage")
A: android:icon(0x01010002)=@0x7f080000
A: android:name(0x01010003)="io.flutter.app.FlutterApplication" (Raw: "io.flutter.app.FlutterApplication")
A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw:
"androidx.core.app.CoreComponentFactory")
E: activity (line=28)
A: android:theme(0x01010000)=@0x7f0a0000
A: android:name(0x01010003)="com.nevercode.triage.MainActivity" (Raw: "com.nevercode.triage.MainActivity")
A: android:launchMode(0x0101001d)=(type 0x10)0x1
A: android:configChanges(0x0101001f)=(type 0x11)0x40003fb4
A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10
A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff
E: meta-data (line=42)
A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw:
"io.flutter.embedding.android.NormalTheme")
A: android:resource(0x01010025)=@0x7f0a0001
E: meta-data (line=52)
A: android:name(0x01010003)="io.flutter.embedding.android.SplashScreenDrawable" (Raw:
"io.flutter.embedding.android.SplashScreenDrawable")
A: android:resource(0x01010025)=@0x7f040000
E: intent-filter (line=56)
E: action (line=57)
A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
E: category (line=59)
A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER") E: meta-data (line=66)
A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
A: android:value(0x01010024)=(type 0x10)0x2
[ +64 ms] Stopping app 'app.apk' on Android SDK built for x86 64.
[ +11 ms] executing: C:\Users\Taha\Code\SDK\platform-tools\adb.exe -s emulator-5554 shell am force-stop com.nevercode.triage
[ +325 ms] executing: C:\Users\Taha\Code\SDK\platform-tools\adb.exe -s emulator-5554 shell pm list packages
com.nevercode.triage
[ +442 ms] package:com.nevercode.triage
[ +3 ms] executing: C:\Users\Taha\Code\SDK\platform-tools\adb.exe -s emulator-5554 shell cat
/data/local/tmp/sky.com.nevercode.triage.sha1
[ +35 ms] 16c6dd7e5eaa3298818b641b93e6ca0bf0799adc
[ +1 ms] Installing APK.
[ +2 ms] executing: C:\Users\Taha\Code\SDK\platform-tools\adb.exe version
[ +18 ms] Android Debug Bridge version 1.0.41
Version 30.0.5-6877874
Installed as C:\Users\Taha\Code\SDK\platform-tools\adb.exe
[ +5 ms] executing: C:\Users\Taha\Code\SDK\platform-tools\adb.exe start-server
[ +20 ms] Installing build\app\outputs\flutter-apk\app.apk...
[ +5 ms] executing: C:\Users\Taha\Code\SDK\platform-tools\adb.exe -s emulator-5554 install -t -r
C:\Users\Taha\AndroidStudioProjects\triage-examples\flutter_plugin_examples\shared_preferences_example\build\app\outputs\flutter-apk\app.apk
[+1467 ms] Performing Streamed Install
Success
[ +1 ms] Installing build\app\outputs\flutter-apk\app.apk... (completed in 1.5s)
[ +10 ms] executing: C:\Users\Taha\Code\SDK\platform-tools\adb.exe -s emulator-5554 shell echo -n
5d35de353967d7363ff64cf3ca4b877f0ffbb856 > /data/local/tmp/sky.com.nevercode.triage.sha1
[ +47 ms] Android SDK built for x86 64 startApp
[ +3 ms] executing: C:\Users\Taha\Code\SDK\platform-tools\adb.exe -s emulator-5554 shell am start -a
android.intent.action.RUN -f 0x20000000 --ez enable-background-compilation true --ez enable-dart-profiling true --ez
enable-checked-mode true --ez verify-entry-points true com.nevercode.triage/com.nevercode.triage.MainActivity
[ +100 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.nevercode.triage/.MainActivity (has extras)
}
[ +1 ms] Waiting for observatory port to be available...
[+1132 ms] Observatory URL on device: http://127.0.0.1:60216/uzqMbPNuVvs=/
[ +2 ms] executing: C:\Users\Taha\Code\SDK\platform-tools\adb.exe -s emulator-5554 forward tcp:0 tcp:60216
[ +20 ms] 55774
[ +2 ms] Forwarded host port 55774 to device port 60216 for Observatory
[ +4 ms] Caching compiled dill
[ +21 ms] Connecting to service protocol: http://127.0.0.1:55774/uzqMbPNuVvs=/
[ +2 ms] DDS is currently disabled due to https://github.com/flutter/flutter/issues/62507
[ +508 ms] Successfully connected to service protocol: http://127.0.0.1:55774/uzqMbPNuVvs=/
[ +1 ms] Waiting for Android SDK built for x86 64 to report its views...
[ +10 ms] Waiting for Android SDK built for x86 64 to report its views... (completed in 9ms)
[ +10 ms] DevFS: Creating new filesystem on the device (null)
[ +19 ms] DevFS: Created new filesystem on the device
(file:///data/user/0/com.nevercode.triage/code_cache/shared_preferences_exampleEBNRQO/shared_preferences_example/)
[ +2 ms] Updating assets
[ +90 ms] Syncing files to device Android SDK built for x86 64...
[ +4 ms] Scanning asset files
[ +14 ms] <- reset
[ ] Compiling dart to kernel with 0 updated files
[ +1 ms] <- recompile package:triage/main.dart 37fb77ee-5067-44e1-a0d7-3cfcf3d79fdb
[ ] <- 37fb77ee-5067-44e1-a0d7-3cfcf3d79fdb
[ +17 ms] D/EGL_emulation( 7820): eglMakeCurrent: 0x7a090d439400: ver 2 0 (tinfo 0x7a090d40d500)
[ +119 ms] Updating files
[ +134 ms] DevFS: Sync finished
[ +1 ms] Syncing files to device Android SDK built for x86 64... (completed in 292ms)
[ +1 ms] Synced 1.7MB.
[ +9 ms] <- accept
[ +20 ms] Connected to _flutterView/0x7a0908bbf020.
[ +2 ms] Flutter run key commands.
[ +8 ms] r Hot reload.
[ +1 ms] R Hot restart.
[ +4 ms] h Repeat this help message.
[ +27 ms] d Detach (terminate "flutter run" but leave application running).
[ +16 ms] c Clear the screen
[ +1 ms] q Quit (terminate the application on the device).
[ ] An Observatory debugger and profiler on Android SDK built for x86 64 is available at:
http://127.0.0.1:55774/uzqMbPNuVvs=/
[ +440 ms] D/EGL_emulation( 7820): eglMakeCurrent: 0x7a0916aa6de0: ver 2 0 (tinfo 0x7a0908ba7240)
flutter doctor -v[✓] Flutter (Channel stable, 1.22.6, on Microsoft Windows [Version 10.0.19042.746], locale en-US)
• Flutter version 1.22.6 at C:\Users\Taha\Code\flutter_stable
• Framework revision 9b2d32b605 (4 days ago), 2021-01-22 14:36:39 -0800
• Engine revision 2f0af37152
• Dart version 2.10.5
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
• Android SDK at C:\Users\Taha\Code\SDK
• Platform android-30, build-tools 30.0.3
• ANDROID_HOME = C:\Users\Taha\Code\SDK
• Java binary at: C:\Users\Taha\Code\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.1.0)
• Android Studio at C:\Users\Taha\Code\android-studio
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
[✓] VS Code (version 1.52.1)
• VS Code at C:\Users\Taha\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.18.1
[✓] Connected device (1 available)
• Android SDK built for x86 64 (mobile) • emulator-5554 • android-x64 • Android 8.0.0 (API 26) (emulator)
! Doctor found issues in 1 category. [✓] Flutter (Channel master, 1.26.0-13.0.pre.179, on Microsoft Windows [Version 10.0.19042.746], locale en-US)
• Flutter version 1.26.0-13.0.pre.179 at C:\Users\Taha\Code\flutter_master
• Framework revision fc9addb88b (5 hours ago), 2021-01-26 03:24:03 -0500
• Engine revision f47ab4434d
• Dart version 2.12.0 (build 2.12.0-257.0.dev)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
• Android SDK at C:\Users\Taha\Code\SDK
• Platform android-30, build-tools 30.0.3
• ANDROID_HOME = C:\Users\Taha\Code\SDK
• Java binary at: C:\Users\Taha\Code\android-studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
• All Android licenses accepted.
[✓] Chrome - develop for the web
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[✓] Visual Studio - develop for Windows (Visual Studio Community 2019 16.8.3)
• Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
• Visual Studio Community 2019 version 16.8.30804.86
• Windows 10 SDK version 10.0.18362.0
[✓] Android Studio (version 4.1.0)
• Android Studio at C:\Users\Taha\Code\android-studio
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
[✓] VS Code (version 1.52.1)
• VS Code at C:\Users\Taha\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.18.1
[✓] Connected device (4 available)
• Android SDK built for x86 64 (mobile) • emulator-5554 • android-x64 • Android 8.0.0 (API 26) (emulator)
• Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version
10.0.19042.746]
• Chrome (web) • chrome • web-javascript • Google Chrome 87.0.4280.141
• Edge (web) • edge • web-javascript • Microsoft Edge 88.0.705.50
• No issues found! |
flutter_windows_1.18.0-dev.5.0-dev and higher
any dependencies add pubspec.yaml, for example shared_preferences:
Running Gradle task 'assembleDebug'...
Plugin project :shared_preferences_web not found. Please update settings.gradle.
Plugin project :shared_preferences_macos not found. Please update settings.gradle.
not in the build directory
The text was updated successfully, but these errors were encountered: