wa-avd-docker icon indicating copy to clipboard operation
wa-avd-docker copied to clipboard

"Unknown AVD name [Pixel]"

Open PascalBaehr opened this issue 6 years ago • 6 comments

Hello, i tried to start the emulator, but nothings happens.

Tried the Command: ${ANDROID_HOME}/tools/emulator @Pixel -gpu off and @Pixel -gpu off in the directory, but that didnt work. Any idea?

image

Thanks!

PascalBaehr avatar Nov 18 '18 09:11 PascalBaehr

Hi Pascal! I'll get on it as soon as I get WiFi connectivity again. Working remotely with limited mobile data.

Is the ANDROID_HOME env variable set? What does echo $ANDROID_HOME return? Does running ${ANDROID_HOME}/tools/emulator @Pixel -gpu off return the same error as in the screenshot above?

BenSchZA avatar Nov 18 '18 13:11 BenSchZA

Hey Benjamin! thanks for your fast answer!

I get the same error when I use the other command :/ echo $ANDROID_HOME gives me the path: image

Setup was without errors

Thanks!

PascalBaehr avatar Nov 18 '18 18:11 PascalBaehr

I can confirm the issue, I'll let you know if I find out the problem.

BenSchZA avatar Nov 22 '18 14:11 BenSchZA

Hi Pascal. I've manually fixed the issue, and updated the README. Basically it looks like the configuration script isn't being run. Manually running it is a workaround. If you manage to fix it, feel free to submit a pull-request!

BenSchZA avatar Nov 24 '18 15:11 BenSchZA

Hi,

I encountered this error too. I started manually executing each command in /app/entrypoint.sh and I am getting the following problem:

root@4ea5a70e74fc:/app# ${ANDROID_HOME}/tools/bin/avdmanager create avd -n Pixel -k "system-images;android-26;google_apis;x86" -c 2000M
Auto-selecting single ABI x86===========] 100% Fetch remote repository...       
Do you wish to create a custom hardware profile? [no] no
Error: AVD not created.                                                         
null

Do you know what might be the problem here? I'm not familiar with android development whatsoever.

pizzapim avatar Nov 05 '19 17:11 pizzapim

Managed to fix this one. A previous run already created the directory and it crashes if it is already available. Found out using the -v verbose argument.

pizzapim avatar Nov 05 '19 20:11 pizzapim