ant
Eclipseの起動が待てない。エディタが使いにくい。
でapache-antを入れる。
% sudo port install apache-ant % ant -version Apache Ant version 1.7.0 compiled on September 23 2007
コマンドラインでの開発手順 - Androidプログラミング入門 | JavaDriveを参考に
練習。
% ant
と打つ。これでビルドだ。なんとシンプル。
エミュレータを起動。
% emulator &
こんなことを言われる。
2007-11-26 22:14:07.855 emulator[5780:10b] Warning once: This application, or a library it uses, is using NSQuickDrawView, which has been deprecated. Apps should cease use of QuickDraw and move to Quartz.
言っている意味がわかりません。なのでパス。いいのか。
つくったアプリをエミュレータに転送。
% adb install bin/Website.apk
なんかいろいろ言われて、最後にわかりやすいエラーメッセージがでた。
* daemon still not running * error: no device
よくわからんが、エミュレータを再起動して、アプリをもう一回転送したら、
うまくいく。
% adb install bin/Website.apk 368 KB/s (4322 bytes in 0.011s)