做运行时的Andr​​oid APK不会产生 [英] Android APK won't generate when doing run

查看:126
本文介绍了做运行时的Andr​​oid APK不会产生的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有几个Android应用程序和样本code我已经下载/ codeD。所有这些都在我的Eclipse工作区。我已经在Eclipse上安装Android开发所需的所有插件/图像。

I have several android application and sample code I have downloaded/coded. All these are in my eclipse workspace. I have installed all the required plugins/images for android development on eclipse.

该项目编译完美你说,你建(我得到构建Sucess!),做一个出口时,将生成APK包符号/无符号。

The projects compile perfectly you you do Build (I get "Build Sucess!") and will generate an APK package when doing an Export signed/Unsigned.

该问题是在这里: 如果我在任何仿真器或连接的设备上运行我得到:

The problem is here: if I do run in either an emulator or connected device I get:

Error generating final archive: java.io.EOFException

使用:

Location : Unkown
Type : Android Packaging Problem

我正在运行的openSUSE 12.1的Eclipse 4.2(也尝试3.5,但没有运气) 最新的ADT和Android SDK 尝试编译所有的Andr​​oid版本(1〜16)

I am running openSUSE 12.1 with Eclipse 4.2 (tried also 3.5 but no luck) Latest ADT and android SDK Tried compiling for all android versions (1 to 16)

请帮助,因为我累了或做出口和亚行安装到放置包我的设备上。

Please help because I am tired or doing export and adb install to place the package on my device.

推荐答案

删除以下文件,然后重试。

Delete the following file and try again.

C:\ Documents和设置\用户\本地设置\应用   数据\机器人\ debug.keystore。

C:\Documents and Setting\User\Local Settings\Application Data\android\debug.keystore .

这篇关于做运行时的Andr​​oid APK不会产生的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆