今天我完成了我的新安卓应用程序的测试..
我使用 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