Closed waltercruz closed 1 month ago
the output of ./node_modules/.bin/native-run android --app /Users/waltercruz/devel/adb-test/android/app/build/outputs/apk/debug/app-debug.apk --target Pixel_7_API_33 --verbose
adb-test (main) ✗)./node_modules/.bin/native-run android --app /Users/waltercruz/devel/adb-test/android/app/build/outputs/apk/debug/app-debug.apk --target Pixel_7_API_33 --verbose
native-run:android:utils:sdk:resolveSDKRoot Looking for $ANDROID_HOME +0ms
native-run:android:utils:sdk:resolveSDKRoot Looking for $ANDROID_SDK_ROOT +1ms
native-run:android:utils:sdk:resolveSDKRoot Using $ANDROID_SDK_ROOT at /Users/waltercruz/Library/Android/sdk +1ms
native-run:android:utils:sdk:resolveEmulatorHome Looking for $ANDROID_EMULATOR_HOME +0ms
native-run:android:utils:sdk:resolveEmulatorHome Looking at $HOME/.android +0ms
native-run:android:utils:sdk:resolveEmulatorHome Using $HOME/.android/ at /Users/waltercruz/.android +0ms
native-run:android:utils:sdk:resolveAVDHome Looking for $ANDROID_AVD_HOME +0ms
native-run:android:utils:sdk:resolveAVDHome Looking at $HOME/.android/avd +0ms
native-run:android:utils:sdk:resolveAVDHome Using $HOME/.android/avd/ at /Users/waltercruz/.android/avd +0ms
native-run:android:utils:adb:getDevices Invoking adb with args: [ 'devices', '-l' ] +0ms
native-run:android:utils:sdk:getSDKPackage Parsing /Users/waltercruz/Library/Android/sdk/platform-tools/package.xml +0ms
native-run:android:utils:adb:parseAdbDevices Parsing adb devices from output lines: [
native-run:android:utils:adb:parseAdbDevices 'List of devices attached',
native-run:android:utils:adb:parseAdbDevices 'emulator-5554 device product:sdk_gphone64_x86_64 model:sdk_gphone64_x86_64 device:emu64x transport_id:1',
native-run:android:utils:adb:parseAdbDevices 'emulator-5562 offline transport_id:31',
native-run:android:utils:adb:parseAdbDevices '',
native-run:android:utils:adb:parseAdbDevices ''
native-run:android:utils:adb:parseAdbDevices ] +0ms
native-run:android:utils:adb:getDeviceProperties Invoking adb with args: [ '-s', 'emulator-5554', 'shell', 'getprop' ] +0ms
native-run:android:utils:adb:getDeviceProperties Invoking adb with args: [ '-s', 'emulator-5562', 'shell', 'getprop' ] +0ms
ADBs is unresponsive after 5000ms, killing server and retrying...
native-run:android:utils:adb:execAdb ADB timeout of 5000 reached, killing server and retrying... +0ms
native-run:android:utils:adb:execAdb Invoking adb with args: [ 'kill-server' ] +0ms
native-run:android:utils:adb:execAdb Invoking adb with args: [ 'start-server' ] +18ms
native-run:android:utils:adb:execAdb Retrying... +3s
native-run Caught fatal error: Error: Command failed: /Users/waltercruz/Library/Android/sdk/platform-tools/adb -s emulator-5562 shell getprop
native-run * daemon not running; starting now at tcp:5037
native-run * daemon started successfully
native-run adb: device offline
native-run
native-run at genericNodeError (node:internal/errors:984:15)
native-run at wrappedFn (node:internal/errors:538:14)
native-run at ChildProcess.exithandler (node:child_process:422:12)
native-run at ChildProcess.emit (node:events:518:28)
native-run at maybeClose (node:internal/child_process:1105:16)
native-run at Socket.<anonymous> (node:internal/child_process:457:11)
native-run at Socket.emit (node:events:518:28)
native-run at Pipe.<anonymous> (node:net:337:12) {
native-run code: 1,
native-run killed: false,
native-run signal: null,
native-run cmd: '/Users/waltercruz/Library/Android/sdk/platform-tools/adb -s emulator-5562 shell getprop',
native-run stdout: '',
native-run stderr: '* daemon not running; starting now at tcp:5037\n' +
native-run '* daemon started successfully\n' +
native-run 'adb: device offline\n'
native-run } +0ms
Error: Command failed: /Users/waltercruz/Library/Android/sdk/platform-tools/adb -s emulator-5562 shell getprop
* daemon not running; starting now at tcp:5037
* daemon started successfully
adb: device offline
at genericNodeError (node:internal/errors:984:15)
at wrappedFn (node:internal/errors:538:14)
at ChildProcess.exithandler (node:child_process:422:12)
at ChildProcess.emit (node:events:518:28)
at maybeClose (node:internal/child_process:1105:16)
at Socket.<anonymous> (node:internal/child_process:457:11)
at Socket.emit (node:events:518:28)
at Pipe.<anonymous> (node:net:337:12)
ok, it seems that Ventura 13.6.6 broke something.
Someone with that version of Ventura that wanna help me confirm?
Version:
2.0.1
Description:
I use ionic to develop apps. Somehow in the last days the native-run (or adb, not completly sure) stopped working, either for livereloading or not, when using android platform. livereload still works on ios
Command Output:
this is the latest step of a ionic capacitor run android --debug --verbose --info, I hope it helps. The project itself was a newly generated app with ionic start, followed by a ionic add android.
SDK Info: