close
Eclipse 是android推薦的開發環境,但是在linux久了,前輩一直說一定要自己手動做一遍才會知道到底做了哪些事情。於是也跟著看了

google android 說明文件中的
Developing Android Applications with Other IDEs and Tools

android提供了一個好用的tool : activitycreator
可以用來幫助建立build.xml(for ant)。
以android sdk 裏面的sample Snake為例:
在tool目錄下執行activitycreator


./activityCreator.py --out ../samples/Snake com.android.snake.Snake


接著就是直接下ant 指令就可以在Snake/bin目錄下產生 Snake-debug.apk。
把Snake-debug.apk 複製到 tool 目錄下,就可以利用adb install 安裝進去模擬器啦。(別忘了要先開模擬器才能安裝唷@@)




但是還是要補充一篇:

Get started with the Eclipse Platform

幫助大家上手!!!

go go go ~


Eclipse 相關文章:

set Android error log on Eclipse

linux(ubuntu)環境下開發 Android 所遇到的Eclipse 設定問題

Android tutorial : Before HelloWorld
arrow
arrow
    全站熱搜

    tttt 發表在 痞客邦 留言(0) 人氣()