Location of .apk file

一个人想着一个人 提交于 2019-12-28 04:23:09

问题


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.

Francis


回答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




回答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.

Thanks , All the bast.




回答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




回答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



回答5:


Typically in the bin folder.




回答6:


Its Simple, Go to :

Workspace -> YourApp folder & in that folder type in the search bar(top-right) for your YourApp.apk !



来源:https://stackoverflow.com/questions/6039862/location-of-apk-file

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!