Class not found error after updating ADT and Android sdk tools to latest ver 22

前端 未结 1 1652
南旧
南旧 2020-12-01 09:11

Earlier it was working fine,as soon i updated my adt and android sdk tools to latest version rev 22, my app stopped working below is logcat output

please help

<
相关标签:
1条回答
  • 2020-12-01 09:56

    Problem occurs for me with projects which use Support library.

    This thread helped me a lot to resolve ClassNotFoundException issue with ADT 22:

    https://code.google.com/p/android/issues/detail?id=55304

    The idea is to enable Android Private Libraries on Java Buils Path | Order and Export

    Nikolay's workaround works for me: For all projects (app and library):

    1. Right click the project, and choose Properties
    2. Go to Java Build Path-Order and Export.
    3. Tick 'Android Private Libraries'
    4. (Optional) Clean all projects if necessary

    Thanks, Nikolay.

    0 讨论(0)
提交回复
热议问题