Voi*_*ode 7 eclipse ubuntu android actionbarsherlock
今天我完成了测试我的新Android应用程序..
我使用SherlockActionBar.
导入为/库
我的操作系统是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
Run Code Online (Sandbox Code Playgroud)
这是我在崩溃后在Eclipse文件夹中找到的错误日志:http: //paste.ubuntu.com/1677938/
我的AndroidManifest.xml看起来像这样:
Run Code Online (Sandbox Code Playgroud)<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
Run Code Online (Sandbox Code Playgroud)
Kir*_*irk 19
您可能想要检查项目中的一些内容.
android:minSdkVersion="4"改为android:minSdkVersion="7"
如果这不起作用,我也遇到了很多麻烦,导出包解决方案也相当随机.
我的一般解决方案是禁用自动构建,清理它然后手动构建库项目.
例如
这通常适用于我,并停止了许多无法解释的出口问题.
| 归档时间: |
|
| 查看次数: |
2690 次 |
| 最近记录: |