【发布时间】:2013-02-18 17:56:51
【问题描述】:
今天我完成了对我的新 Android 应用程序的测试..
我使用 SherlockActionBar。
导入为 /library
我的操作系统是 Ubuntu 12.10 64bit..
我可以从 Eclipse 构建 .apk,该应用程序可以在我的 Android 2.3.3(手机)和我的 Android 4.0(平板电脑)上运行。
但是当我尝试:Android tools -> Export signed application package,
然后 Eclipse 崩溃:(
我收到此错误:(在导出/崩溃之前)
Invalid ZIP archive: /home/voidcode/Ubuntu One/workspace/JakeWharton-ActionBarSherlock-e5c2d1c/library/bin/library.jar
这是崩溃后我在 Eclipse 文件夹中找到的错误日志: http://paste.ubuntu.com/1677938/
我的 AndroidManifest.xml 看起来像这样:
<uses-sdk android:minSdkVersion="4" android:targetSdkVersion="15" />
而我的 project.properties 看起来像这样:
# This file is automatically generated by Android Tools.
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
#
# This file must be checked in Version Control Systems.
#
# To customize properties used by the Ant build system edit
# "ant.properties", and override values to adapt the script to your
# project structure.
#
# To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):
#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
# Project target.
target=android-14
android.library.reference.1=../JakeWharton-ActionBarSherlock-e5c2d1c/library
【问题讨论】:
标签: android eclipse ubuntu actionbarsherlock