Sunday, July 29, 2012

How to build android project with Ant ?


Replace () with your own value

Step 1:  cd to project directory

Step 2: android update project -p .

Step 3: linux/unix: nano ant.properties  
            windows: notepad ant.properties

Step 4: input the following: 


  key.store=(path of key store file )/.keystore
  key.alias=(name of alias)
  key.store.password=(password of key store)
  key.alias.password=(password of key alias)

Step 5: 
ant release;
adb install -r bin/(generated file name).apk;
adb shell am start -a android.intent.action.MAIN -n (package name)/(package name).(activity name)

To make life easier, put step 5 inside a bash script and run it :)



Ant でAndroidプロジェクトをビルド方法:(in Japanese)
ーーーーーーーーーーーーーーーーーーー

Step 1: コマンドプロンプトで プロジェクトフォルダの中に移動する (cd コマンド)

Step 2: android update project -p .

Step 3: notepad ant.properties

Step 4:  下記を記載して保存
  key.store=??/.keystore
  key.alias=??
  key.store.password=??
  key.alias.password=??

Step 5: ant release;adb install -r bin/.apk;adb shell am start -a android.intent.action.MAIN -n package name/package name.activity name

3 comments:

boughcheau said...

see this here dildo,male masturbator,horse dildo,wolf dildo,dildo,horse dildo,sex toys,horse dildo,vibrators useful source

Unknown said...

replica bags china free shipping replica gucci m8g35d5x72 replica bags for sale replica bags hermes replica hermes handbags p3z48y0y35 replica bags reference t7v72k0s48 high quality designer replica replica bags canada e6m17y6e07

sheatheaud said...

best replica bags online r95 g1d44p7o43 designer replica luggage a15 r2g60e3q55 replica wallets y97 i3e20q4m88