Location of .apk file
I recently built an Android application using Eclipse (Galileo) on my PC/Xp. I'm a noob to Android development and it took me 2 months to build my app while reading/experimenting with all the Java and other programming ups/downs. The project runs fine on Eclipse. I now want to sign the application (currently reading on how to do this) in preparation to releasing it to the Android Market. At this point, I am stumped. The "signing your application" talks about signing the .apk file with your private key. My question is: where is the .apk file located on my PC/Eclipse files. I know where the src, res, manifest, and R.java files are located because I've been using them for the past 2 months. Where is the .apk file located? Hopefully someone can help me.
Solution 1:
In Eclipse the default location for a compiled *.apk file is in the bin
directory under the project workspace.
For example, my Eclipse workspace is under c:\Users\crsierra\workspace
and my Eclipse Project is named HelloWorld
. Therefore the HelloWorld.apk
file will be located under c:\Users\crsierra\workspace\HelloWorld\bin\HelloWorld.apk
Solution 2:
In eclipse right click on your project and in that menu select Android tools->Export signed Application package .
And In that appearing dialog follow the instructions.
Solution 3:
You can export signed and unsigned .apk file using eclipse, as well as can generate private key too just use Project folder -- > right click --> Android tools
Solution 4:
If you already running your project on emulator,you just close that emulator.And goes to
Project->clean
Project->BuildProject.
And then run your project in emulator and then check it out
bin/res/your.apk file
Solution 5:
Typically in the bin
folder.