Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

New formula: Android SDK #397

Closed
tstevens opened this issue Jan 6, 2010 · 6 comments
Closed

New formula: Android SDK #397

tstevens opened this issue Jan 6, 2010 · 6 comments

Comments

@tstevens
Copy link
Contributor

tstevens commented Jan 6, 2010

http://github.com/tstevens/homebrew/commit/f7458267b5887c4c8b3b39aa2ad86410a2265ca1

@mxcl
Copy link
Contributor

mxcl commented Jan 6, 2010

Great job.

@enriquez
Copy link
Contributor

Thanks for the Formula.

I ran into a problem when trying to run the emulator:
>> emulator -avd my_avd
emulator: ERROR: could not find required kernel image (kernel-qemu).
emulator: Maybe defining ANDROID_SDK_ROOT to point to a valid SDK installation path might help ?

I defined ANDROID_SDK_ROOT and it didn't have any effect.

It only works when I specify the installed path for emulator:
>> /usr/local/Cellar/android-sdk/r04/tools/emulator -avd my_avd

@tstevens
Copy link
Contributor Author

It must be something with the sdk wanting to know where it is. Add the following to your .bash_profile

export ANDROID_SDK_ROOT=/usr/local/Cellar/android-sdk/r04/

I will add this to the caveats section so other users avoid this problem.
Fixed in tstevens/homebrew@cd4f816

@enriquez
Copy link
Contributor

I pointed my environment variable to the wrong directory. Thanks!

@adamv
Copy link
Contributor

adamv commented Feb 20, 2010

I couldn't pull this commit, so I did it manually:
5c4ef8f

@mxcl
Copy link
Contributor

mxcl commented Feb 20, 2010

Personally I never needed to set the ENV var…

@Homebrew Homebrew locked and limited conversation to collaborators Feb 16, 2016
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants