Installing Android x86 7 1 Trying to Terminate Edi Services Again
Case: flutter create myapp
, cd myapp
palpitate run -v
Android 8.0 AVD with 2Gb of RAM, after upgrading palpitate
back to 2.2.one stable:
flutter run -5
builds and installs the app, but the app crashes when loading on the AVD: myapp has stopped [open app once more]
When clicking on "open app again", the app runs correctly.
The output generated by flutter run -5
ends like this:
[ +29 ms] executing: /home/dmayr/Android/Sdk/platform-tools/adb -due south emulator-5554 beat out am start -a android.intent.action.RUN -f 0x20000000 --ez enable-groundwork-compilation true --ez enable-sprint-profiling truthful --ez enable-checked-mode true --ez verify-entry-points truthful com.example.myapp/com.example.myapp.MainActivity [ +155 ms] Starting: Intent { human action=android.intent.action.RUN flg=0x20000000 cmp=com.example.myapp/.MainActivity (has extras) } [ +one ms] Waiting for observatory port to be available... [+2509 ms] Observatory URL on device: http://127.0.0.1:51302/3-mrsoNBBhs=/ [ +5 ms] executing: /domicile/dmayr/Android/Sdk/platform-tools/adb -southward emulator-5554 frontwards tcp:0 tcp:51302 [ +30 ms] 44561 [ +one ms] Forwarded host port 44561 to device port 51302 for Observatory [+4161 ms] Caching compiled dill [ +82 ms] Connecting to service protocol: http://127.0.0.ane:44561/three-mrsoNBBhs=/ [ +230 ms] Fail to connect to service protocol: http://127.0.0.1:44561/3-mrsoNBBhs=/: HttpException: Connexion closed before total header was received, uri = http://127.0.0.ane:44561/3-mrsoNBBhs=/ws [ +ii ms] Error connecting to the service protocol: failed to connect to http://127.0.0.1:44561/3-mrsoNBBhs=/ [ +eight ms] "flutter run" took 34.653ms. [ +11 ms] #0 throwToolExit (parcel:flutter_tools/src/base of operations/common.dart:x:3) #one RunCommand.runCommand (packet:flutter_tools/src/commands/run.dart:663:9) <asynchronous suspension> #2 FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.sprint:1043:27) <asynchronous intermission> #iii AppContext.run.<anonymous closure> (package:flutter_tools/src/base of operations/context.dart:150:19) <asynchronous interruption> #four CommandRunner.runCommand (package:args/command_runner.dart:196:xiii) <asynchronous interruption> #5 FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:284:9) <asynchronous interruption> #half dozen AppContext.run.<bearding closure> (parcel:flutter_tools/src/base of operations/context.dart:150:19) <asynchronous suspension> #7 FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:232:5) <asynchronous suspension> #8 run.<anonymous closure>.<anonymous closure> (parcel:flutter_tools/runner.dart:62:9) <asynchronous intermission> #ix AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.sprint:150:19) <asynchronous intermission> #10 main (packet:flutter_tools/executable.dart:91:3) <asynchronous suspension> [ +91 ms] ensureAnalyticsSent: 85ms [ +2 ms] Running shutdown hooks [ +2 ms] Shutdown hooks complete [ +ane ms] exiting with code 2
Now:
Android vii.1.ane AVD with 1.5Gb of RAM, after upgrading flutter
back to ii.2.1 stable:
flutter make clean && flutter pub become
+ palpitate run -v
:
[ +i ms] executing: /home/dmayr/Android/Sdk/platform-tools/adb -due south emulator-5554 shell am force-finish com.instance.myapp [+1945 ms] executing: /home/dmayr/Android/Sdk/platform-tools/adb -south emulator-5554 shell pm list packages com.instance.myapp [ +450 ms] Installing APK. [ +3 ms] Installing build/app/outputs/flutter-apk/app.apk... [ ] executing: /home/dmayr/Android/Sdk/platform-tools/adb -south emulator-5554 install -t -r /home/dmayr/Documentos/DEV/Code/Android/Flutter/myapp/build/app/outputs/flutter-apk/app.apk [+5921 ms] Performing Streamed Install Success [ ] Installing build/app/outputs/flutter-apk/app.apk... (completed in five,9s) [ +2 ms] executing: /home/dmayr/Android/Sdk/platform-tools/adb -due south emulator-5554 vanquish echo -due north 4f4e53264657d07d9285e3a6600563e8685248ec > /information/local/tmp/heaven.com.example.myapp.sha1 [ +85 ms] executing: /home/dmayr/Android/Sdk/platform-tools/adb -south emulator-5554 beat -x logcat -five time -t 1 [ +146 ms] --------- offset of main 06-04 14:08:31.671 I/InputReader( 1675): Reconfiguring input devices. changes=0x00000010 [ +17 ms] executing: /dwelling house/dmayr/Android/Sdk/platform-tools/adb -due south emulator-5554 trounce am beginning -a android.intent.action.RUN -f 0x20000000 --ez enable-background-compilation true --ez enable-dart-profiling true --ez enable-checked-manner true --ez verify-entry-points true com.example.myapp/com.case.myapp.MainActivity [+2274 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.instance.myapp/.MainActivity (has extras) } [ ] Waiting for observatory port to be bachelor... [+3137 ms] Observatory URL on device: http://127.0.0.one:46464/VK-_xD-wsMM=/ [ +2 ms] executing: /home/dmayr/Android/Sdk/platform-tools/adb -s emulator-5554 forward tcp:0 tcp:46464 [ +22 ms] 38287 [ ] Forwarded host port 38287 to device port 46464 for Observatory [ +20 ms] Caching compiled dill [ +73 ms] Connecting to service protocol: http://127.0.0.1:38287/VK-_xD-wsMM=/ [+1112 ms] Launching a Dart Developer Service (DDS) instance at http://127.0.0.one:0, connecting to VM service at http://127.0.0.1:38287/VK-_xD-wsMM=/. [ +619 ms] DDS is listening at http://127.0.0.1:43705/OzHPeTQnWq4=/. [ +185 ms] Successfully connected to service protocol: http://127.0.0.ane:38287/VK-_xD-wsMM=/ [ +58 ms] DevFS: Creating new filesystem on the device (null) [ +137 ms] DevFS: Created new filesystem on the device (file:///data/user/0/com.example.myapp/code_cache/myappGUNXME/myapp/) [ +5 ms] Updating assets [ +191 ms] Syncing files to device Android SDK congenital for x86... [ +4 ms] <- reset [ ] Compiling sprint to kernel with 0 updated files [ +4 ms] <- recompile package:myapp/main.dart a3c8b635-c090-4ccd-aced-021d9ae4c3af [ ] <- a3c8b635-c090-4ccd-aced-021d9ae4c3af [ +73 ms] D/EGL_emulation( 5531): eglMakeCurrent: 0xa93deca0: ver two 0 (tinfo 0xb6b7ba20) [ ] F/libc ( 5531): Fatal signal 11 (SIGSEGV), code 1, fault addr 0x1c in tid 5556 (one.raster) [ +96 ms] *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** [ +7 ms] Build fingerprint: 'google/sdk_google_phone_x86/generic_x86:vii.1.i/NYC/6695155:userdebug/test-keys' [ ] Revision: '0' [ ] ABI: 'x86' [ ] pid: 5531, tid: 5556, proper noun: one.raster >>> com.case.myapp <<< [ ] signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), error addr 0x1c [ ] eax 00000000 ebx 999a0094 ecx 96a06800 edx 00000000 [ ] esi 00000000 edi 930ffd60 [ ] xcs 00000073 xds 0000007b xes 0000007b xfs 0000003b xss 0000007b [ ] eip 991d7286 ebp 97b80228 esp 97b80210 flags 00010292 [ ] backtrace: [ ] #00 pc 00139286 /data/app/com.example.myapp-i/lib/x86/libflutter.so (offset 0x1235000) [ +44 ms] Updating files. [ ] DevFS: Sync finished [ +2 ms] Syncing files to device Android SDK built for x86... (completed in 236ms) [ +one ms] Synced 0.0MB. [ +v ms] <- accept [+2309 ms] Palpitate run key commands. [ +3 ms] r Hot reload. 🔥🔥🔥 [ +2 ms] R Hot restart. [ ] h Repeat this help message. [ ] d Detach (terminate "flutter run" but leave application running). [ ] c Clear the screen [ ] q Quit (terminate the awarding on the device). [ ] Running with unsound null safety [ ] For more information meet https://dart.dev/null-prophylactic/unsound-null-prophylactic [ +one ms] An Observatory debugger and profiler on Android SDK built for x86 is available at: http://127.0.0.1:43705/OzHPeTQnWq4=/ [ +38 ms] Service protocol connection closed. [ +ane ms] Lost connexion to device. [ +5 ms] executing: /abode/dmayr/Android/Sdk/platform-tools/adb -s emulator-5554 forward --list [ +47 ms] Exit code 0 from: /home/dmayr/Android/Sdk/platform-tools/adb -s emulator-5554 forward --list [ ] emulator-5554 tcp:38287 tcp:46464 [ +ii ms] executing: /home/dmayr/Android/Sdk/platform-tools/adb -south emulator-5554 forrard --remove tcp:38287 [ +46 ms] DevFS: Deleting filesystem on the device (file:///data/user/0/com.example.myapp/code_cache/myappGUNXME/myapp/) [ +175 ms] The Palpitate DevTools debugger and profiler on Android SDK built for x86 is available at: http://127.0.0.1:9100?uri=http%3A%2F%2F127.0.0.one%3A43705%2FOzHPeTQnWq4%3D%2F [ +81 ms] Ignored error while cleaning up DevFS: TimeoutException after 0:00:00.250000: Futurity non completed [ +2 ms] executing: /dwelling house/dmayr/Android/Sdk/platform-tools/adb -s emulator-5554 forrad --list [ +16 ms] Exit code 0 from: /dwelling house/dmayr/Android/Sdk/platform-tools/adb -s emulator-5554 forrad --list [ +6 ms] "flutter run" took 91.711ms. [ +104 ms] ensureAnalyticsSent: 93ms [ +5 ms] Running shutdown hooks [ ] Shutdown hooks complete [ +two ms] exiting with code 0
The app is installed on the 7.ane.one AVD, and crashes just like on the eight.0 AVD, with the same myapp has stopped [open app again] message, but clicking on "open up app once again" results in further crashes. App will not run.
Now, for comparison:
Downgrading flutter
to 2.0.6:
eight.0 AVD, aforementioned process:
flutter run -five
[ +1 ms] executing: /home/dmayr/Android/Sdk/platform-tools/adb -s emulator-5554 shell am force-stop com.case.myapp [ +317 ms] executing: /abode/dmayr/Android/Sdk/platform-tools/adb -s emulator-5554 shell pm list packages com.instance.myapp [+1751 ms] package:com.case.myapp [ +five ms] executing: /dwelling/dmayr/Android/Sdk/platform-tools/adb -s emulator-5554 shell cat /data/local/tmp/heaven.com.instance.myapp.sha1 [ +194 ms] c1a47984155174b9aa0c415786e860972edf3576 [ +one ms] Installing APK. [ +3 ms] Installing build/app/outputs/palpitate-apk/app.apk... [ ] executing: /home/dmayr/Android/Sdk/platform-tools/adb -s emulator-5554 install -t -r /home/dmayr/Documentos/DEV/Code/Android/Palpitate/myapp/build/app/outputs/flutter-apk/app.apk [+13659 ms] Performing Streamed Install Success [ ] Installing build/app/outputs/palpitate-apk/app.apk... (completed in 13,7s) [ +iii ms] executing: /home/dmayr/Android/Sdk/platform-tools/adb -due south emulator-5554 shell echo -northward 3efd47cba7f3fc3f7b8e421b6c2041fd801ebf18 > /data/local/tmp/sky.com.example.myapp.sha1 [ +109 ms] executing: /home/dmayr/Android/Sdk/platform-tools/adb -s emulator-5554 shell -10 logcat -v time -t i [ +392 ms] --------- beginning of system 06-04 14:25:22.209 I/ActivityManager( 1686): Force stopping com.example.myapp appid=10078 user=0: pkg removed [ +20 ms] executing: /home/dmayr/Android/Sdk/platform-tools/adb -s emulator-5554 crush 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 truthful com.case.myapp/com.case.myapp.MainActivity [ +273 ms] Starting: Intent { act=android.intent.activeness.RUN flg=0x20000000 cmp=com.example.myapp/.MainActivity (has extras) } [ +one ms] Waiting for observatory port to exist available... [+6345 ms] Observatory URL on device: http://127.0.0.1:49944/JU4Pp9oPbrY=/ [ +24 ms] executing: /home/dmayr/Android/Sdk/platform-tools/adb -s emulator-5554 forward tcp:0 tcp:49944 [ +44 ms] 36227 [ +1 ms] Forwarded host port 36227 to device port 49944 for Observatory [ +22 ms] Caching compiled dill [ +190 ms] Connecting to service protocol: http://127.0.0.1:36227/JU4Pp9oPbrY=/ [+1287 ms] Launching a Sprint Programmer Service (DDS) instance at http://127.0.0.i:0, connecting to VM service at http://127.0.0.ane:36227/JU4Pp9oPbrY=/. [+1846 ms] DDS is listening at http://127.0.0.1:41057/z_1l2iut7LE=/. [ +202 ms] Successfully connected to service protocol: http://127.0.0.ane:36227/JU4Pp9oPbrY=/ [ +202 ms] DevFS: Creating new filesystem on the device (zip) [ +202 ms] DevFS: Created new filesystem on the device (file:///data/user/0/com.example.myapp/code_cache/myappRWTUSH/myapp/) [ +13 ms] Updating assets [ +435 ms] Syncing files to device Android SDK built for x86... [ +17 ms] <- reset [ +2 ms] Compiling dart to kernel with 0 updated files [ +xx ms] <- recompile package:myapp/primary.sprint aac2b1bd-d225-4238-af91-f4cd4d03a0e2 [ ] <- aac2b1bd-d225-4238-af91-f4cd4d03a0e2 [ +371 ms] Updating files. [ ] DevFS: Sync finished [ +3 ms] Syncing files to device Android SDK congenital for x86... (completed in 413ms) [ +ane ms] Synced 0.0MB. [ +6 ms] <- accept [ +142 ms] Connected to _flutterView/0xa1f2a410. [ +three ms] Flutter run central commands. [ +3 ms] r Hot reload. 🔥🔥🔥 [ +three ms] R Hot restart. [ +1 ms] h Repeat this aid message. [ +1 ms] d Disassemble (end "flutter run" merely leave application running). [ +1 ms] c Clear the screen [ +1 ms] q Quit (terminate the awarding on the device). [ +1 ms] An Observatory debugger and profiler on Android SDK built for x86 is bachelor at: http://127.0.0.one:41057/z_1l2iut7LE=/ [ +three ms] Flutter DevTools, a Palpitate debugger and profiler, on Android SDK built for x86 is bachelor at: http://127.0.0.1:9102?uri=http%3A%2F%2F127.0.0.one%3A41057%2Fz_1l2iut7LE%3D%2F [ +ane ms] Running with unsound null safety [ ] For more data encounter https://dart.dev/null-safety/unsound-aught-safety [ +220 ms] D/EGL_emulation( 4369): eglMakeCurrent: 0xb04beb00: ver 2 0 (tinfo 0x9145c4c0) [+2985 ms] E/flutter ( 4369): [ERROR:palpitate/trounce/common/trounce.cc(242)] Dart Unhandled Exception: NoSuchMethodError: The getter '_handles' was called on null. [ +one ms] East/flutter ( 4369): Receiver: null [ ] Due east/flutter ( 4369): Tried calling: _handles, stack trace: #0 Object.noSuchMethod (dart:core-patch/object_patch.dart:54:v) [ ] E/flutter ( 4369): #1 new Image._ (sprint:ui/painting.dart:1601:12) [ ] E/flutter ( 4369): #ii Picture.toImage.<anonymous closure>.<anonymous closure> (dart:ui/painting.dart:4849:24) [ ] East/flutter ( 4369):
App loads correctly on AVD, no crashes.
7.1.one AVD, aforementioned procedure:
flutter run -v
[+7704 ms] executing: /home/dmayr/Android/Sdk/platform-tools/adb -s emulator-5554 trounce pm list packages com.example.myapp [+2878 ms] packet:com.example.myapp [ +v ms] executing: /home/dmayr/Android/Sdk/platform-tools/adb -due south emulator-5554 shell cat /data/local/tmp/sky.com.instance.myapp.sha1 [ +89 ms] 4f4e53264657d07d9285e3a6600563e8685248ec [ +1 ms] Installing APK. [ +2 ms] Installing build/app/outputs/flutter-apk/app.apk... [ ] executing: /dwelling/dmayr/Android/Sdk/platform-tools/adb -s emulator-5554 install -t -r /home/dmayr/Documentos/DEV/Code/Android/Palpitate/myapp/build/app/outputs/palpitate-apk/app.apk [+12141 ms] Performing Streamed Install Success [ ] Installing build/app/outputs/palpitate-apk/app.apk... (completed in 12,1s) [ +2 ms] executing: /domicile/dmayr/Android/Sdk/platform-tools/adb -s emulator-5554 shell echo -n 3efd47cba7f3fc3f7b8e421b6c2041fd801ebf18 > /information/local/tmp/sky.com.case.myapp.sha1 [ +173 ms] executing: /home/dmayr/Android/Sdk/platform-tools/adb -southward emulator-5554 shell -x logcat -5 fourth dimension -t one [ +477 ms] --------- first of master 06-04 14:nineteen:twenty.848 I/fine art ( 1775): Background fractional concurrent mark sweep GC freed 18981(596KB) AllocSpace objects, 0(0B) LOS objects, 39% gratis, 5MB/9MB, paused 694us total 210.032ms [ +17 ms] executing: /home/dmayr/Android/Sdk/platform-tools/adb -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 truthful com.example.myapp/com.example.myapp.MainActivity [+1398 ms] Starting: Intent { deed=android.intent.activeness.RUN flg=0x20000000 cmp=com.example.myapp/.MainActivity (has extras) } [ +1 ms] Waiting for observatory port to be available... [+3704 ms] Observatory URL on device: http://127.0.0.ane:45764/VIHyeCypvKo=/ [ +i ms] executing: /home/dmayr/Android/Sdk/platform-tools/adb -s emulator-5554 frontward tcp:0 tcp:45764 [ +35 ms] 37739 [ +ane ms] Forwarded host port 37739 to device port 45764 for Observatory [ +x ms] Caching compiled dill [ +105 ms] Connecting to service protocol: http://127.0.0.1:37739/VIHyeCypvKo=/ [+1578 ms] Launching a Dart Developer Service (DDS) example at http://127.0.0.1:0, connecting to VM service at http://127.0.0.1:37739/VIHyeCypvKo=/. [ +414 ms] DDS is listening at http://127.0.0.1:45249/2AfNHi1TKA0=/. [ +429 ms] Successfully connected to service protocol: http://127.0.0.1:37739/VIHyeCypvKo=/ [ +990 ms] DevFS: Creating new filesystem on the device (goose egg) [ +122 ms] DevFS: Created new filesystem on the device (file:///data/user/0/com.case.myapp/code_cache/myappRWJANN/myapp/) [ +31 ms] Updating avails [ +259 ms] Syncing files to device Android SDK congenital for x86... [ +5 ms] <- reset [ ] Compiling sprint to kernel with 0 updated files [ +7 ms] <- recompile parcel:myapp/main.sprint 3f9daabe-a33b-45ec-9193-a83460848057 [ ] <- 3f9daabe-a33b-45ec-9193-a83460848057 [ +285 ms] D/EGL_emulation( 6407): eglMakeCurrent: 0x97783060: ver 2 0 (tinfo 0xb6b7ca30) [ +164 ms] Updating files. [ ] DevFS: Sync finished [ ] Syncing files to device Android SDK built for x86... (completed in 464ms) [ ] Synced 0.0MB. [ +ane ms] <- take [ +218 ms] Connected to _flutterView/0xabe76810. [ +9 ms] Flutter run cardinal commands. [ +x ms] r Hot reload. 🔥🔥🔥 [ +five ms] R Hot restart. [ +1 ms] h Repeat this aid message. [ +1 ms] d Detach (cease "flutter run" but leave awarding running). [ ] c Clear the screen [ ] q Quit (cease the application on the device). [ ] An Observatory debugger and profiler on Android SDK congenital for x86 is bachelor at: http://127.0.0.1:45249/2AfNHi1TKA0=/ [ +2 ms] Flutter DevTools, a Flutter debugger and profiler, on Android SDK built for x86 is bachelor at: http://127.0.0.1:9101?uri=http%3A%2F%2F127.0.0.one%3A45249%2F2AfNHi1TKA0%3D%2F [ ] Running with unsound zip safe [ ] For more information see https://dart.dev/nix-safe/unsound-null-safety [+4042 ms] Due east/flutter ( 6407): [ERROR:flutter/shell/mutual/trounce.cc(242)] Dart Unhandled Exception: NoSuchMethodError: The getter '_handles' was called on null. [ +1 ms] E/flutter ( 6407): Receiver: null [ ] E/flutter ( 6407): Tried calling: _handles, stack trace: #0 Object.noSuchMethod (dart:core-patch/object_patch.dart:54:5) [ ] E/flutter ( 6407): #1 new Paradigm._ (dart:ui/painting.sprint:1601:12) [ ] E/flutter ( 6407): #2 Flick.toImage.<anonymous closure>.<anonymous closure> (dart:ui/painting.dart:4849:24) [ ] E/flutter ( 6407):
App loads correctly on AVD, no crashes.
A bit of a lengthy reply, but I wanted to become alee and coved both scenarios.
In essence, Android 8 allows flutter 2.2.1
to install the app, crashing on the first run try, just running on the first reload endeavor. Android beneath 8 does non. However, flutter 2.0.vi
allows all versions to run without problems.
Source: https://github.com/flutter/flutter/issues/83951
0 Response to "Installing Android x86 7 1 Trying to Terminate Edi Services Again"
Post a Comment