对于APIDemos,Gingerbread 4.0构建失败

时间:2011-08-04 15:07:09

标签: android

我是Android开发新手,正在运行构建脚本或Android-Gingerbread-Release4.0 正如您所看到的,构建失败了。我更喜欢自己解决问题,但会欣赏任何提示/帮助从哪里开始寻找此错误。我查看了classPath,验证了junit安装,查看了out / target / common / obj / APPS / ApiDemosTests_intermediates / classes-full-debug.jar文件等...没有明显的东西向我跳出来。我怀疑这是一个配置问题,但我不确定验证它的步骤。任何帮助表示赞赏。

强文     host prebuilt:tradefed-prebuilt(out / host / common / obj / JAVA_LIBRARIES / tradefed-prebuilt_intermediates / tradefed-prebuilt.jar)     安装:out / host / linux-x86 / framework / cts-tradefed.jar     安装:out / host / linux-x86 / framework / cts-api-coverage.jar     host prebuilt:mkfs(out / host / linux-x86 / obj / EXECUTABLES / mkfs_intermediates / mkfs.ubifs)     host prebuilt:run-core-tests-on-ri(out / host / linux-x86 / obj / EXECUTABLES / run-core-teston-ri_intermediates / run-core-tests-on-ri)     复制:out / target / common / obj / JAVA_LIBRARIES / android.cts.refapp_intermediates / emma_o​​ut / lib / classes-jarjar.jar     target Static Jar:android.cts.refapp(out / target / common / obj / JAVA_LIBRARIES / android.cts.refapp_intermediates / javalib.jar)     复制:out / target / common / obj / APPS / ApiDemos_intermediates / emma_o​​ut / lib / classes-jarjar.jar     target Java:ApiDemosTests(out / target / common / obj / APPS / ApiDemosTests_intermediates / classes)     development / samples / ApiDemos / tests / src / com / example / android / apis / ApiDemosApplicationTests.java:33:无法访问junit.framework.TestCase     坏类文件:junit / framework / TestCase.class(junit / framework:TestCase.class)     无法访问文件:损坏的zip文件     请删除或确保它出现在类路径的正确子目录中。     公共类ApiDemosApplicationTests扩展ApplicationTestCase {        ^     make: * [out / target / common / obj / APPS / ApiDemosTests_intermediates / classes-full-debug.jar]错误41     /home/richard/Desktop/freescale/androidimx53/i.mx53AndroidV4/i.MX53-QSB-Android-Gingerbread-Release4.0     mkimage:无法打开./ramdisk.img:没有这样的文件或目录     理查德膝上型:理查德:〜/桌面/飞思卡尔/ androidimx53 / i.mx53AndroidV4 /的i.MX53-QSB-Android的姜饼-Release4.0 /脚本

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=2.3.3
TARGET_PRODUCT=imx53_loco
TARGET_BUILD_VARIANT=eng
TARGET_SIMULATOR=
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release

BUILD_ID = GRI40

1 个答案:

答案 0 :(得分:1)

我最近遇到了类似的问题,尽管错误消息抱怨了不同的类。 Svartalf在this post中的回答对我有帮助。