デバッグビルド.apkを作成する

  • ant を用意する
  • プロジェクトフォルダで以下のコマンドを実行する
android update project -p ./
  • と、「build.xml」と「local.properties」というファイルが作成されるはず
  • その後以下のコマンドを実行する
ant debug
  • と、bin/***.apk というファイルができる

※ant debug で以下のようなエラーメッセージが出力されるけど、ちゃんとapkはできてるみたい

BUILD FAILED
C:\apps\adt\sdk\tools\ant\build.xml:649: The following error occurred while executing this line:
C:\apps\adt\sdk\tools\ant\build.xml:690: null returned: 1