.apk 文件的位置
我最近在我的 PC/Xp 上使用 Eclipse (Galileo) 构建了一个 Android 应用程序。我是 Android 开发新手,我花了 2 个月的时间来构建我的应用程序,同时阅读/试验所有 Java 和其他编程的优点/缺点。该项目在 Eclipse 上运行良好。我现在想要签署该应用程序(当前正在阅读如何执行此操作),准备将其发布到 Android 市场。此刻,我被难住了。 “签署您的应用程序”讨论使用您的私钥签署 .apk 文件。我的问题是:.apk 文件位于我的 PC/Eclipse 文件中的哪里。我知道 src、res、manifest 和 R.java 文件的位置,因为过去 2 个月我一直在使用它们。 .apk 文件位于哪里?希望有人能帮助我。
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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(6)
在 Eclipse 中,已编译的 *.apk 文件的默认位置位于项目工作区下的
bin
目录中。例如,我的 Eclipse 工作区位于
c:\Users\crsierra\workspace
下,我的 Eclipse 项目名为HelloWorld
。因此HelloWorld.apk
文件将位于c:\Users\crsierra\workspace\HelloWorld\bin\HelloWorld.apk
下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 namedHelloWorld
. Therefore theHelloWorld.apk
file will be located underc:\Users\crsierra\workspace\HelloWorld\bin\HelloWorld.apk
在 Eclipse 中右键单击您的项目,然后在该菜单中选择 Android 工具->导出签名的应用程序包 。
在出现的对话框中按照说明进行操作。
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.
您可以使用 eclipse 导出签名和未签名的 .apk 文件,也可以生成私钥,只需使用 项目文件夹 -- >右键单击--> Android 工具
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
通常位于
bin
文件夹中。Typically in the
bin
folder.很简单,转到:
工作区 -> YourApp文件夹 &在该文件夹中的搜索栏(右上角)中输入您的
YourApp.apk
!Its Simple, Go to :
Workspace -> YourApp folder & in that folder type in the search bar(top-right) for your
YourApp.apk
!