Install android-sdk
- apt-get install libgl1-mesa-dev
- apt-get install openjdk-6-jdk
- download Android SDK or ADT Bundle form here
- unzip android-sdk.zip
- export PATH=$PATH:/path/to/tools:/path/to/platform-tools
- cd android-sdk/tools
- ./android update sdk
- in the AVD manager, set the update proxy (Tools -> Options)
- ./android ( in the AVD manager, new an emulator)
- cd adnroid-sdk/tools
- ./emulator @emulator-name
Set PATH
- echo 'export PATH=$PATH:/new path' >> ~/.bashrc
- logout
沒有留言:
張貼留言