VerifyError in android test-project build tools v17

后端 未结 5 1919
青春惊慌失措
青春惊慌失措 2021-01-11 13:17

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

A short description of my project structure:

<
5条回答
  •  庸人自扰
    2021-01-11 13:58

    In my case, I have a test project using the library of "robotium". I'd had the same problem, and soleved by following steps,

    1. "Properties > Java Build Path > Libraries", delete "Android Dependencies" in my test project.
    2. "Properties > Java Build Path > Libraries", delete two robotium jar and click "Add JARs" to re-import robotium jar in my test project.
    3. "Properties > Java Build Path > Order and Export", check two checkbok of robotium jar (and othera you want exported.)
    4. Clean my test project.

    I think you also solve the problem, Good Luck!

    more information

  • How to fix the “NoClassDefFoundError” with ADT 17
  • Dealing with dependencies in Android projects
提交回复
热议问题