Open vanderleisp opened 1 month ago
Hello, thank you for your feedback, would you mind sending us radon ide logs? You can find them in output section of vscode under Radon IDE. Also could you tell me what version of android API do you have installed on your device?
Facing the same issue, despite adding Google Pixel 7 device in Android Studio. I have Android 34 and 35 installed.
Output logs:
2024-10-18 11:17:24.576 [info] Metro Starting project at /Users/timothy/Code/doghouse/mobile
2024-10-18 11:17:24.805 [info] Metro (node:77334) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
2024-10-18 11:17:24.805 [info] Metro (Use `node --trace-deprecation ...` to show where the warning was created)
2024-10-18 11:17:25.220 [info] Metro {"hasReducedPerformance":false,"port":0,"type":"initialize_started"}
2024-10-18 11:17:25.220 [info] Metro {"type":"dep_graph_loading","hasReducedPerformance":false}
2024-10-18 11:17:25.270 [info] Metro {"type":"RNIDE_initialize_done","port":57332}
2024-10-18 11:17:25.270 [info] Metro started on port 57332
2024-10-18 11:17:25.270 [info] Metro & devtools ready
2024-10-18 11:17:25.428 [info] Emulator output INFO | Storing crashdata in: /tmp/android-timothy/emu-crash-34.2.15.db, detection is enabled for process: 77375
2024-10-18 11:17:25.428 [info] Emulator output INFO | Android emulator version 34.2.15.0 (build_id 11906825) (CL:N/A)
2024-10-18 11:17:25.428 [info] Emulator output INFO | Found systemPath /Users/timothy/Library/Android/sdk/system-images/android-35/google_apis/arm64-v8a
2024-10-18 11:17:25.802 [info] Emulator output WARNING | FeatureControl is requesting a non existing feature.
2024-10-18 11:17:25.802 [info] Emulator output WARNING | FeatureControl is requesting a non existing feature.
2024-10-18 11:17:25.802 [info] Emulator output ERROR | This AVD's configuration is missing a kernel file! Please ensure the file "kernel-ranchu" is in the same location as your system image.
2024-10-18 11:17:25.802 [info] Emulator output ERROR | ANDROID_SDK_ROOT is defined (/Users/timothy/Library/Android/sdk) but cannot find kernel file in /Users/timothy/Library/Android/sdk/system-images/ sub directories
2024-10-18 11:17:25.810 [info] Emulator output INFO | Storing crashdata in: /tmp/android-timothy/emu-crash-34.2.15.db, detection is enabled for process: 77375
2024-10-18 11:17:25.810 [info] Emulator output INFO | Duplicate loglines will be removed, if you wish to see each individual line launch with the -log-nofilter flag.
2024-10-18 11:17:25.813 [error] Error: Command failed with exit code 1: /Users/timothy/Library/Android/sdk/emulator/emulator -avd 836da3d1-f60b-4217-ae71-c6f878b0b78a -qt-hide-window -no-audio -no-boot-anim -grpc-use-token -no-snapshot-save
same here >:(
Hello, thank you for your feedback, would you mind sending us radon ide logs? You can find them in output section of vscode under Radon IDE. Also could you tell me what version of android API do you have installed on your device?
sorry for long delay in answering, but I took some time off here. I reinstalled Android Sudio and VS Code, and several drivers, so seems it was some errors here that I had as now Radon is running, even that in general the whole VS consume like 80% of CPU, so need to see why this happens, but its working !!!!
Glad to hear its working @vanderleisp – as for the CPU usage, it'd be good to understand the breakdown between different processes. Things like emulator or the application you're starting from Radon IDE are spawned as separate processes and will not contribute CPU usage to the VSCode main process. You can also try using VSCode's command "Developer: Open Process Explorer" that's accessible from command palette (cmd+shift+P shortcut) which shows only processes owned by the editor.
@timonjagi are you running this on ARM (M1/M2 etc.) or x86 intel Mac? It appears like something is broken with the image installation in Android sdk. The reason for the crash is the missing kernel file as described in these two error messages:
ERROR | This AVD's configuration is missing a kernel file! Please ensure the file "kernel-ranchu" is in the same location as your system image.
ERROR | ANDROID_SDK_ROOT is defined (/Users/timothy/Library/Android/sdk) but cannot find kernel file in /Users/timothy/Library/Android/sdk/system-images/ sub directories
Would you be able to check if kernel-ranchu
file exists under the selected directory? /Users/timothy/Library/Android/sdk/system-images/android-35/google_apis/arm64-v8
Otherwise try installing some new version of the SDK using instructions from here: https://ide.swmansion.com/docs/simulators#installing-android-images and then try creating new emulator with that installed version of SDK
@ViniciusMarcuS2i do you see the same error logs related to missing kernel-ranchu or what do you mean by "same here"
Installed Radon as extension to VS Code, and then opened a React Native code, and went to add a device to emulate, but the two Android options that showed up, Google Pixel 7 and 6a, wasn´t installed, so I went to the Android Studio and installed both, but still Radon can´t find the images, as: No devices found No system images found. You can install them using Android Studio.
Environment
don´t know if need to reboot the machine as for the VS Code find the images installed by the Android Studio.