-
-
Notifications
You must be signed in to change notification settings - Fork 672
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
Does not work on Android 10 device release build #441
Comments
I'm facing the same issue, working on iOS, but not on Android |
yes i'm also have this problem with android 9 and 10 after release on playstore |
same issue. but also debug build. I added
on And, I can't change value="1" to value="2" |
I referred from |
but, flutter_advanced_networkimage worked. but |
|
Same issue on Android.. iOS works :( |
Seems more like an issue with path_provider than with cached_network_image |
|
Is this still an issue? I would have expected way more complaints if this is the case. |
This comment has been minimized.
This comment has been minimized.
same issue here |
I'm also having this issue on latest flutter beta:
Only on Android release build. Debug works fine, iOS also works fine. Building apk with:
|
Looks like I've found a workaround.
|
This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further. |
this is still an issue, disabling obfuscation on android builds is not a valid solution |
Agreed. It is not good to have to do this. |
leaving dot here in case there is another workaround to use minify in release ver |
Was a solution ever found? Still having this error |
I'm facing this issue on Flutter 3.19.6 with |
@fbardecio were you able to fix it? |
Works in 2024 🚀 |
My test device have android 10
I have cached_network_image: ^2.2.0+1
in build.gradle I have;
minSdkVersion 21
targetSdkVersion 29
When I run it in debug mode on the device everything works fine.
But when I run it in release mode does not show any images, but I can see the data is getting downloaded.
flutter run --release -v
[ +129 ms] executing: [C:\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +86 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[ ] 2ae34518b87dd891355ed6c6ea8cb68c4d52bb9d
[ ] executing: [C:\flutter/] git tag --contains HEAD
[ +357 ms] Exit code 0 from: git tag --contains HEAD
[ ] 1.20.1
[ +7 ms] executing: [C:\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[ +67 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[ ] origin/stable
[ ] executing: [C:\flutter/] git ls-remote --get-url origin
[ +52 ms] Exit code 0 from: git ls-remote --get-url origin
[ ] https://github.com/flutter/flutter.git
[ +90 ms] executing: [C:\flutter/] git rev-parse --abbrev-ref HEAD
[ +56 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[ ] stable
[ +70 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[ +1 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[ ] 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.
[ +4 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[ ] 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.
[ ] 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.
[ +25 ms] executing: C:\Android\Sdk\platform-tools\adb.exe devices -l
[ +59 ms] List of devices attached
emulator-5554 device product:sdk_gphone_x86_arm model:AOSP_on_IA_Emulator device:generic_x86_arm
transport_id:1
[ +14 ms] C:\Android\Sdk\platform-tools\adb.exe -s emulator-5554 shell getprop
[ +97 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[ +10 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.
[ +3 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.
[ +1 ms] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +164 ms] Found plugin cloud_firestore at
C:\Users\Janaka\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\cloud_firestore-0.13.7
[ +14 ms] Found plugin cloud_firestore_web at
C:\Users\Janaka\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\cloud_firestore_web-0.1.1+2
[ +23 ms] Found plugin firebase_auth at
C:\Users\Janaka\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\firebase_auth-0.16.1
[ +7 ms] Found plugin firebase_auth_web at
C:\Users\Janaka\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\firebase_auth_web-0.1.3+1
[ +5 ms] Found plugin firebase_core at
C:\Users\Janaka\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\firebase_core-0.4.5
[ +7 ms] Found plugin firebase_core_web at
C:\Users\Janaka\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\firebase_core_web-0.1.1+2
[ +4 ms] Found plugin firebase_storage at
C:\Users\Janaka\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\firebase_storage-3.1.6
[ +9 ms] Found plugin flutter_facebook_login at
C:\Users\Janaka\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\flutter_facebook_login-3.0.0
[ +7 ms] Found plugin flutter_plugin_android_lifecycle at
C:\Users\Janaka\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\flutter_plugin_android_lifecycle-1.0.8
[ +11 ms] Found plugin image_picker at
C:\Users\Janaka\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\image_picker-0.6.7+4
[ +21 ms] Found plugin path_provider at
C:\Users\Janaka\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\path_provider-1.6.11
[ +5 ms] Found plugin path_provider_linux at
C:\Users\Janaka\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\path_provider_linux-0.0.1+2
[ +3 ms] Found plugin path_provider_macos at
C:\Users\Janaka\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\path_provider_macos-0.0.4+3
[ +29 ms] Found plugin sqflite at C:\Users\Janaka\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\sqflite-1.3.1
[ +20 ms] Found plugin url_launcher at
C:\Users\Janaka\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\url_launcher-5.5.0
[ +3 ms] Found plugin url_launcher_linux at
C:\Users\Janaka\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\url_launcher_linux-0.0.1+1
[ +2 ms] Found plugin url_launcher_macos at
C:\Users\Janaka\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\url_launcher_macos-0.0.1+7
[ +5 ms] Found plugin url_launcher_web at
C:\Users\Janaka\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\url_launcher_web-0.1.2
[ +205 ms] Found plugin cloud_firestore at
C:\Users\Janaka\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\cloud_firestore-0.13.7
[ +5 ms] Found plugin cloud_firestore_web at
C:\Users\Janaka\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\cloud_firestore_web-0.1.1+2
[ +7 ms] Found plugin firebase_auth at
C:\Users\Janaka\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\firebase_auth-0.16.1
[ +3 ms] Found plugin firebase_auth_web at
C:\Users\Janaka\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\firebase_auth_web-0.1.3+1
[ +2 ms] Found plugin firebase_core at
C:\Users\Janaka\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\firebase_core-0.4.5
[ +3 ms] Found plugin firebase_core_web at
C:\Users\Janaka\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\firebase_core_web-0.1.1+2
[ +2 ms] Found plugin firebase_storage at
C:\Users\Janaka\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\firebase_storage-3.1.6
[ +2 ms] Found plugin flutter_facebook_login at
C:\Users\Janaka\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\flutter_facebook_login-3.0.0
[ +2 ms] Found plugin flutter_plugin_android_lifecycle at
C:\Users\Janaka\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\flutter_plugin_android_lifecycle-1.0.8
[ +3 ms] Found plugin image_picker at
C:\Users\Janaka\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\image_picker-0.6.7+4
[ +6 ms] Found plugin path_provider at
C:\Users\Janaka\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\path_provider-1.6.11
[ +2 ms] Found plugin path_provider_linux at
C:\Users\Janaka\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\path_provider_linux-0.0.1+2
[ +2 ms] Found plugin path_provider_macos at
C:\Users\Janaka\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\path_provider_macos-0.0.4+3
[ +8 ms] Found plugin sqflite at C:\Users\Janaka\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\sqflite-1.3.1
[ +5 ms] Found plugin url_launcher at
C:\Users\Janaka\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\url_launcher-5.5.0
[ +1 ms] Found plugin url_launcher_linux at
C:\Users\Janaka\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\url_launcher_linux-0.0.1+1
[ +2 ms] Found plugin url_launcher_macos at
C:\Users\Janaka\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\url_launcher_macos-0.0.1+7
[ +3 ms] Found plugin url_launcher_web at
C:\Users\Janaka\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\url_launcher_web-0.1.2
[ +78 ms] Generating
E:\TechnoGlitter\Janaka\MyApp\Code\Build\JanakaApp\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
[ +32 ms] ro.hardware = ranchu
[ +38 ms] "flutter run" took 1,013ms.
[ +9 ms] Release mode is not supported by AOSP on IA Emulator.
[ +3 ms]
#0 throwToolExit (package:flutter_tools/src/base/common.dart:14:3)
#1 RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:476:9)
#2 FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:860:18)
#3 _rootRunUnary (dart:async/zone.dart:1198:47)
#4 _CustomZone.runUnary (dart:async/zone.dart:1100:19)
#5 _FutureListener.handleValue (dart:async/future_impl.dart:143:18)
#6 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:696:45)
#7 Future._propagateToListeners (dart:async/future_impl.dart:725:32)
#8 Future._completeWithValue (dart:async/future_impl.dart:529:5)
#9 _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:40:15)
#10 _completeOnAsyncReturn (dart:async-patch/async_patch.dart:311:13)
#11 RunCommand.usageValues (package:flutter_tools/src/commands/run.dart)
#12 _rootRunUnary (dart:async/zone.dart:1198:47)
#13 _CustomZone.runUnary (dart:async/zone.dart:1100:19)
#14 _FutureListener.handleValue (dart:async/future_impl.dart:143:18)
#15 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:696:45)
#16 Future._propagateToListeners (dart:async/future_impl.dart:725:32)
#17 Future._completeWithValue (dart:async/future_impl.dart:529:5)
#18 _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:40:15)
#19 _completeOnAsyncReturn (dart:async-patch/async_patch.dart:311:13)
#20 AndroidDevice.isLocalEmulator (package:flutter_tools/src/android/android_device.dart)
#21 _rootRunUnary (dart:async/zone.dart:1198:47)
#22 _CustomZone.runUnary (dart:async/zone.dart:1100:19)
#23 _FutureListener.handleValue (dart:async/future_impl.dart:143:18)
#24 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:696:45)
#25 Future._propagateToListeners (dart:async/future_impl.dart:725:32)
#26 Future._completeWithValue (dart:async/future_impl.dart:529:5)
#27 Future._asyncCompleteWithValue. (dart:async/future_impl.dart:567:7)
#28 _rootRun (dart:async/zone.dart:1190:13)
#29 _CustomZone.run (dart:async/zone.dart:1093:19)
#30 _CustomZone.runGuarded (dart:async/zone.dart:997:7)
#31 _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:1037:23)
#32 _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
#33 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
#34 _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:118:13)
#35 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:169:5)
[ +255 ms] ensureAnalyticsSent: 252ms
[ +3 ms] Running shutdown hooks
[ +1 ms] Shutdown hooks complete
[ +1 ms] exiting with code 1
The text was updated successfully, but these errors were encountered: