native-run: Error: Command failed: adb shell getprop
Description:
After updating android platform tools to version 29, native-run crashes with exit code 1.
Steps to Reproduce:
-
using platform tools v28.0.2 =
$ ionic cordova run android
the app is successfully installed on device -
update platform tools to latest v29
-
using latest platform tools =
$ ionic cordova run android
native-run stops with exit code 1
Output:
My ionic info
:
Ionic:
Ionic CLI : 5.0.1 (C:\Users\Gaurav's PC\AppData\Roaming\npm\node_modules\ionic)
Ionic Framework : @ionic/angular 4.4.2
@angular-devkit/build-angular : 0.13.6
@angular-devkit/schematics : 7.2.4
@angular/cli : 7.2.4
@ionic/angular-toolkit : 1.5.1
Cordova:
Cordova CLI : 8.1.2 (cordova-lib@8.1.1)
Cordova Platforms : android 7.1.4
Cordova Plugins : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 3.1.2, (and 30 other plugins)
Utility:
cordova-res : 0.3.0
native-run : 0.2.2
System:
Android SDK Tools : 26.1.1 (C:\AndroidSDK)
NodeJS : v10.15.3 (C:\Program Files\nodejs\node.exe)
npm : 6.9.0
OS : Windows 10
Other Information:
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Reactions: 3
- Comments: 29 (9 by maintainers)
If other people are stuck with this issue: a method to downgrade the platform-tools can be found on the Flutter repo.
–> https://github.com/flutter/flutter/issues/33938#issuecomment-499255056
D:\ionicProyects\borrar>adb -s emulator-5554 shell getprop [dalvik.vm.appimageformat]: [lz4] [dalvik.vm.dex2oat-Xms]: [64m] [dalvik.vm.dex2oat-Xmx]: [512m] [dalvik.vm.dex2oat-minidebuginfo]: [true] [dalvik.vm.dexopt.secondary]: [true] [dalvik.vm.heapsize]: [384m] [dalvik.vm.image-dex2oat-Xms]: [64m] [dalvik.vm.image-dex2oat-Xmx]: [64m] [dalvik.vm.isa.x86.features]: [default] [dalvik.vm.isa.x86.variant]: [x86] [dalvik.vm.lockprof.threshold]: [500] [dalvik.vm.stack-trace-dir]: [/data/anr] [dalvik.vm.usejit]: [true] [dalvik.vm.usejitprofiles]: [true] [debug.atrace.tags.enableflags]: [0] [debug.force_rtl]: [0] [debug.hwui.renderer]: [opengl] [dev.bootcomplete]: [1] [drm.service.enabled]: [true] [gsm.current.phone-type]: [1] [gsm.defaultpdpcontext.active]: [true] [gsm.network.type]: [LTE] [gsm.operator.alpha]: [Android] [gsm.operator.iso-country]: [us] [gsm.operator.isroaming]: [false] [gsm.operator.numeric]: [310260] [gsm.sim.operator.alpha]: [T-Mobile] [gsm.sim.operator.iso-country]: [us] [gsm.sim.operator.numeric]: [310260] [gsm.sim.state]: [LOADED] [gsm.version.baseband]: [1.0.0.0] [gsm.version.ril-impl]: [android reference-ril 1.0] [hwservicemanager.ready]: [true] [init.svc.adbd]: [running] [init.svc.audioserver]: [running] [init.svc.bootanim]: [stopped] [init.svc.bugreport]: [stopped] [init.svc.cameraserver]: [running] [init.svc.clear-bcb]: [stopped] [init.svc.console]: [running] [init.svc.drm]: [running] [init.svc.dumpstate]: [stopped] [init.svc.dumpstatez]: [stopped] [init.svc.fingerprintd]: [stopped] [init.svc.flash_recovery]: [stopped] [init.svc.gatekeeperd]: [running] [init.svc.goldfish-logcat]: [running] [init.svc.healthd]: [running] [init.svc.hidl_memory]: [running] [init.svc.hwservicemanager]: [running] [init.svc.incidentd]: [running] [init.svc.installd]: [running] [init.svc.keystore]: [running] [init.svc.lmkd]: [running] [init.svc.logcatd]: [stopped] [init.svc.logd]: [running] [init.svc.logd-reinit]: [stopped] [init.svc.mdnsd]: [stopped] [init.svc.media]: [running] [init.svc.mediadrm]: [running] [init.svc.mediaextractor]: [running] [init.svc.mediametrics]: [running] [init.svc.misc-pipe]: [running] [init.svc.mtpd]: [stopped] [init.svc.netd]: [running] [init.svc.perfprofd]: [running] [init.svc.qemu-props]: [running] [init.svc.racoon]: [stopped] [init.svc.ranchu-net]: [stopped] [init.svc.ranchu-setup]: [stopped] [init.svc.ril-daemon]: [running] [init.svc.servicemanager]: [running] [init.svc.setup-bcb]: [stopped] [init.svc.statsd]: [running] [init.svc.storaged]: [running] [init.svc.surfaceflinger]: [running] [init.svc.thermalservice]: [running] [init.svc.tombstoned]: [running] [init.svc.traced]: [stopped] [init.svc.traced_probes]: [stopped] [init.svc.ueventd]: [running] [init.svc.uncrypt]: [stopped] [init.svc.usbd]: [stopped] [init.svc.vendor.audio-hal-2-0]: [running] [init.svc.vendor.camera-provider-2-4]: [running] [init.svc.vendor.cas-hal-1-0]: [running] [init.svc.vendor.configstore-hal-1-0]: [running] [init.svc.vendor.drm-hal-1-0]: [running] [init.svc.vendor.drm-widevine-hal-1-0]: [running] [init.svc.vendor.fps_hal]: [running] [init.svc.vendor.gatekeeper-1-0]: [running] [init.svc.vendor.gnss_service]: [running] [init.svc.vendor.gralloc-2-0]: [running] [init.svc.vendor.hwcomposer-2-1]: [running] [init.svc.vendor.keymaster-3-0]: [running] [init.svc.vendor.media.omx]: [running] [init.svc.vendor.move_data_sh]: [stopped] [init.svc.vendor.power-hal-1-0]: [running] [init.svc.vendor.sensors-hal-1-0]: [running] [init.svc.vndservicemanager]: [running] [init.svc.vold]: [running] [init.svc.webview_zygote32]: [running] [init.svc.wificond]: [running] [init.svc.zygote]: [running] [log.tag.WifiHAL]: [D] [log.tag.stats_log]: [I] [logd.logpersistd.enable]: [true] [media.mediadrmservice.enable]: [true] [net.bt.name]: [Android] [net.eth0.dns1]: [10.0.2.3] [net.eth0.gw]: [10.0.2.2] [net.gprs.local-ip]: [10.0.2.15] [net.qtaguid_enabled]: [1] [net.tcp.default_init_rwnd]: [60] [persist.sys.dalvik.vm.lib.2]: [libart.so] [persist.sys.gps.lpp]: [] [persist.sys.timezone]: [GMT] [persist.sys.usb.config]: [adb] [persist.sys.webview.vmsize]: [158489520] [pm.dexopt.ab-ota]: [speed-profile] [pm.dexopt.bg-dexopt]: [speed-profile] [pm.dexopt.boot]: [verify] [pm.dexopt.first-boot]: [quicken] [pm.dexopt.inactive]: [verify] [pm.dexopt.install]: [quicken] [pm.dexopt.priv-apps-oob]: [false] [pm.dexopt.shared]: [speed] [qemu.adbd]: [start] [qemu.gles]: [1] [qemu.hw.mainkeys]: [0] [qemu.logcat]: [start] [qemu.sf.fake_camera]: [front] [qemu.sf.lcd_density]: [440] [qemu.timezone]: [Unknown/Unknown] [rild.libpath]: [/vendor/lib/libreference-ril.so] [ro.actionable_compatible_property.enabled]: [false] [ro.allow.mock.location]: [0] [ro.art.hiddenapi.warning]: [1] [ro.baseband]: [unknown] [ro.bionic.ld.warning]: [1] [ro.board.platform]: [] [ro.boot.android_dt_dir]: [/sys/bus/platform/devices/ANDR0001:00/properties/android/] [ro.boot.bootreason]: [reboot,factory_reset] [ro.boot.hardware]: [ranchu] [ro.boot.serialno]: [EMULATOR29X0X11X0] [ro.bootimage.build.date]: [Tue Feb 27 20:10:31 UTC 2018] [ro.bootimage.build.date.utc]: [1519762231] [ro.bootimage.build.fingerprint]: [google/sdk_gphone_x86/generic_x86:P/PPP1.180208.011/4624533:userdebug/dev-keys] [ro.bootloader]: [unknown] [ro.bootmode]: [unknown] [ro.build.characteristics]: [emulator] [ro.build.date]: [Tue Feb 27 20:10:31 UTC 2018] [ro.build.date.utc]: [1519762231] [ro.build.description]: [sdk_gphone_x86-userdebug P PPP1.180208.011 4624533 dev-keys] [ro.build.display.id]: [sdk_gphone_x86-userdebug P PPP1.180208.011 4624533 dev-keys] [ro.build.fingerprint]: [google/sdk_gphone_x86/generic_x86:P/PPP1.180208.011/4624533:userdebug/dev-keys] [ro.build.flavor]: [sdk_gphone_x86-userdebug] [ro.build.host]: [wphr5.hot.corp.google.com] [ro.build.id]: [PPP1.180208.011] [ro.build.product]: [generic_x86] [ro.build.system_root_image]: [true] [ro.build.tags]: [dev-keys] [ro.build.type]: [userdebug] [ro.build.user]: [android-build] [ro.build.version.all_codenames]: [P] [ro.build.version.base_os]: [] [ro.build.version.codename]: [P] [ro.build.version.incremental]: [4624533] [ro.build.version.min_supported_target_sdk]: [17] [ro.build.version.preview_sdk]: [1] [ro.build.version.release]: [P] [ro.build.version.sdk]: [27] [ro.build.version.security_patch]: [2018-03-05] [ro.com.google.locationfeatures]: [1] [ro.config.alarm_alert]: [Alarm_Classic.ogg] [ro.config.nocheckin]: [yes] [ro.config.notification_sound]: [OnTheHunt.ogg] [ro.crypto.fs_crypto_blkdev]: [/dev/block/dm-0] [ro.crypto.state]: [encrypted] [ro.crypto.type]: [block] [ro.dalvik.vm.native.bridge]: [0] [ro.debuggable]: [1] [ro.device_owner]: [false] [ro.hardware]: [ranchu] [ro.hardware.audio.primary]: [goldfish] [ro.hwui.drop_shadow_cache_size]: [6] [ro.hwui.gradient_cache_size]: [1] [ro.hwui.layer_cache_size]: [48] [ro.hwui.path_cache_size]: [32] [ro.hwui.r_buffer_cache_size]: [8] [ro.hwui.text_large_cache_height]: [1024] [ro.hwui.text_large_cache_width]: [2048] [ro.hwui.text_small_cache_height]: [1024] [ro.hwui.text_small_cache_width]: [1024] [ro.hwui.texture_cache_flushrate]: [0.4] [ro.hwui.texture_cache_size]: [72] [ro.kernel.android.checkjni]: [1] [ro.kernel.android.qemud]: [1] [ro.kernel.androidboot.android_dt_dir]: [/sys/bus/platform/devices/ANDR0001:00/properties/android/] [ro.kernel.androidboot.hardware]: [ranchu] [ro.kernel.androidboot.serialno]: [EMULATOR29X0X11X0] [ro.kernel.clocksource]: [pit] [ro.kernel.cma]: [292M@0-4G] [ro.kernel.console]: [0] [ro.kernel.init]: [/init] [ro.kernel.loop.max_part]: [7] [ro.kernel.mac80211_hwsim.mac_prefix]: [5554] [ro.kernel.memmap]: [0x10000$0xff018000] [ro.kernel.ndns]: [4] [ro.kernel.qemu]: [1] [ro.kernel.qemu.dalvik.vm.heapsize]: [384m] [ro.kernel.qemu.encrypt]: [1] [ro.kernel.qemu.gles]: [1] [ro.kernel.qemu.opengles.version]: [196609] [ro.kernel.qemu.settings.system.screen_off_timeout]: [2147483647] [ro.kernel.qemu.uirenderer]: [skiagl] [ro.kernel.ramoops.mem_address]: [0xff018000] [ro.kernel.ramoops.mem_size]: [0x10000] [ro.kernel.root]: [/dev/vda1] [ro.logd.size.stats]: [64K] [ro.opengles.version]: [196609] [ro.product.board]: [] [ro.product.brand]: [google] [ro.product.cpu.abi]: [x86] [ro.product.cpu.abilist]: [x86] [ro.product.cpu.abilist32]: [x86] [ro.product.cpu.abilist64]: [] [ro.product.device]: [generic_x86] [ro.product.locale]: [en-US] [ro.product.manufacturer]: [Google] [ro.product.model]: [Android SDK built for x86] [ro.product.name]: [sdk_gphone_x86] [ro.product.vendor.brand]: [google] [ro.product.vendor.device]: [generic_x86] [ro.product.vendor.manufacturer]: [Google] [ro.product.vendor.model]: [Android SDK built for x86] [ro.product.vendor.name]: [sdk_gphone_x86] [ro.property_service.version]: [2] [ro.radio.use-ppp]: [no] [ro.revision]: [0] [ro.secure]: [1] [ro.serialno]: [EMULATOR29X0X11X0] [ro.setupwizard.mode]: [EMULATOR] [ro.treble.enabled]: [true] [ro.vendor.build.date]: [Tue Feb 27 20:10:31 UTC 2018] [ro.vendor.build.date.utc]: [1519762231] [ro.vendor.build.fingerprint]: [google/sdk_gphone_x86/generic_x86:P/PPP1.180208.011/4624533:userdebug/dev-keys] [ro.vendor.product.cpu.abilist]: [x86] [ro.vendor.product.cpu.abilist32]: [x86] [ro.vendor.product.cpu.abilist64]: [] [ro.vndk.version]: [P] [ro.wifi.channels]: [] [ro.zygote]: [zygote32] [security.perf_harden]: [1] [selinux.restorecon_recursive]: [/data/misc_ce/0] [service.bootanim.exit]: [1] [service.sf.present_timestamp]: [0] [status.battery.level]: [5] [status.battery.level_raw]: [50] [status.battery.level_scale]: [9] [status.battery.state]: [Slow] [sys.boot.reason]: [reboot,factory_reset] [sys.boot_completed]: [1] [sys.logbootcomplete]: [1] [sys.rescue_boot_count]: [3] [sys.retaildemo.enabled]: [0] [sys.sysctl.extra_free_kbytes]: [27337] [sys.sysctl.tcp_def_init_rwnd]: [60] [sys.usb.config]: [adb] [sys.usb.configfs]: [0] [sys.usb.ffs.mtp.ready]: [1] [sys.usb.state]: [adb] [sys.user.0.ce_available]: [true] [sys.wifitracing.started]: [1] [tombstoned.max_tombstone_count]: [50] [vold.decrypt]: [trigger_restart_framework] [vold.encrypt_progress]: [100] [vold.encrypt_time_remaining]: [0] [vold.has_adoptable]: [1] [vold.has_quota]: [1] [vold.has_reserved]: [0] [vold.post_fs_data_done]: [1] [xmpp.auto-presence]: [true]
Hi, yes the fix link provided by @ME-QEOS works
https://github.com/flutter/flutter/issues/33938#issuecomment-499250288
It’s a temp-fix though.