Android Question Error creating new AVD

AnandGupta

Expert
Licensed User
Longtime User
After many months I sat to create an app in B4X in my new laptop. Tried to create an avd. Got below error
Screenshot 2026-07-25 233740.png

Never saw such error in past. Any advise on fixing it ?
 

teddybear

Well-Known Member
Licensed User
Is there any command line to create the avd from the existing android tools in B4X, instead of installing full Android Studio ?
Yes, you can use the sdkmanager and avdmanager do that without Android Studio .
 
Last edited:
Upvote 0

teddybear

Well-Known Member
Licensed User
Original error is from avd manager.
These are commands I used in the command line.
B4X:
sdkmanager --sdk_root=D:\android --install "emulator"
sdkmanager --sdk_root=D:\android "system-images;android-36;google_apis;x86_64"
avdmanager create avd --force --name MyEmu36 --package "system-images;android-36;google_apis;x86_64"
emulator -avd MyEmu36
It works for me.

_2026-07-27_184637_347.png
 
Upvote 0
Top