在的VerifyError Android的测试项目生成工具V17 [英] VerifyError in android test-project build tools v17

查看:160
本文介绍了在的VerifyError Android的测试项目生成工具V17的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

自从安装了Android构建工具V17我收到的VerifyError在我的测试项目。

Since installing v17 of the android build tools I am getting a VerifyError in my test project.

我的项目结构的简短说明:

所有罐子我的主要项目中存在的文件的的文件夹

All jar files exist in my main projects libs folder

测试项目是位于我的主要项目中一个项目

The test-project is a project that resides inside my main project

所有的仪表测试在同一个包存在我的活动。

All Instrumentation tests exist in the same package as my activities.

我有一个只在需要测试的项目之一罐子我的的文件夹中的测试项目

I have one jar that is only needed for the test projects in my libs folder in the test project

有没有人见过这个?它的更新以来发生在我所有的项目。运行测试产生的InstrumentationException:java.lang.VerifyError

Has anyone seen this? Its happening on all my projects since updating. Running the test produces an InstrumentationException: java.lang.VerifyError

推荐答案

X ... @ a​​ndroid.com做,因为我报一个问题一个临时的解决办法:<一href="http://$c$c.google.com/p/android/issues/detail?id=27608">http://$c$c.google.com/p/android/issues/detail?id=27608.

x...@android.com made a temporary fix for an issue I reported: http://code.google.com/p/android/issues/detail?id=27608.

您可以试试,看看新的anttasks.jar文件可以解决您的问题。

You can try to see if the new anttasks.jar file can fix your problem.

它固定我的。 <一href="http://stackoverflow.com/questions/9847443/noclassdeffounderror-when-running-instrumentation-test-with-ant">NoClassDefFoundError运行蚂蚁的仪器测试时

It fixed mine. NoClassDefFoundError when running Instrumentation test with ant

这篇关于在的VerifyError Android的测试项目生成工具V17的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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