Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse for Android: How to automate 'Export Android Application' to apk?

I'm working an android project using eclipse. I can't test it out in emulator because of the sensor and so I have to export to APK file quite frequently. The problem is that it takes more than 10 mouse clicks and entering the (same) password two times (which I often type wrong) to generate the APK file.

I'm wondering if there is a way to automate these steps. or is there a command line equivalent for those steps?

like image 913
newman Avatar asked Nov 17 '11 05:11

newman


2 Answers

If you want the APK file for testing only then you can use unsigned APK.

Right Click Project -> Android Tools -> Export Unsigned Application Package
like image 87
MKJParekh Avatar answered Nov 13 '22 16:11

MKJParekh


if you need .apk , you should find it in project folder bin directory ,after run your application.

like image 1
Hemant Menaria Avatar answered Nov 13 '22 15:11

Hemant Menaria