Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Unknown AVD name [Pixel]" #1

Open
PascalBaehr opened this issue Nov 18, 2018 · 6 comments
Open

"Unknown AVD name [Pixel]" #1

PascalBaehr opened this issue Nov 18, 2018 · 6 comments
Assignees

Comments

@PascalBaehr
Copy link

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!

@BenSchZA
Copy link
Member

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 BenSchZA self-assigned this Nov 18, 2018
@PascalBaehr
Copy link
Author

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!

@BenSchZA
Copy link
Member

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

@BenSchZA
Copy link
Member

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!

@pizzapim
Copy link

pizzapim commented Nov 5, 2019

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
Copy link

pizzapim commented Nov 5, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants