Skip to content

Instantly share code, notes, and snippets.

@koyachi
Created November 17, 2009 21:47
Show Gist options
  • Save koyachi/237294 to your computer and use it in GitHub Desktop.
Save koyachi/237294 to your computer and use it in GitHub Desktop.
emacsでandroid
0. SDKいれてAVDも作っておく
android create avd -n <name> -t <targetID> [-<option> <value>] ...
0. http://riddell.us/tutorial/android/android.htmlのelisp入れる
1. emulator起動
M-x android-start-emulatorかemulatorコマンド
2. 新規プロジェクト作成
android create project --target <targetID> --path /path/hoge --activity MyProgram --package com.example.hoge
target: android list targetsででてくるものから選択
path: プロジェクト保存場所
activity: Activityクラスの名前
package: com.example.myprojectみたいなやつ。
3. Project/res/layout/main.xml開いて、M-x android-ant-install
4. ソース修正したら M-x android-ant-reinstall
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment