Android app crashes after SDK-tools update version (NoClassDefFound, tool version 22)

前端 未结 9 1787
伪装坚强ぢ
伪装坚强ぢ 2020-11-30 03:38

I have just updated my android SDK tools to the newly released version (tools version 22, platform tools version 17)

java.lang.NoClassDefFoundError


        
相关标签:
9条回答
  • 2020-11-30 04:34

    I had a similar issue after the upgrade. The problem in my case was that the android-support-v4.jar library had become unchecked in the Order and Export- list. Check + rebuild solved it for me.

    The error manifested itself by crashing the app when opening a dialog with a Facebook LoginButton widget on it.

    0 讨论(0)
  • 2020-11-30 04:34

    Also need to make sure the Android Dependencies is checked in the Order & Export tab. Both are needed when using other library projects.

    0 讨论(0)
  • 2020-11-30 04:39

    I had similar issue, following two steps fixed it:-

    1. Java Build Path -> Order and Export tab.

    2. Then "Project -> Clean".

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