FragmentActivity causing ClassNotFoundException

后端 未结 8 2102
心在旅途
心在旅途 2020-12-05 06:48

I just used Android SDK Manager to update Android SDK Tools to revision 17, and Android Compatiblity to revision 7. Now, the program I\'ve been running for ages crashes on

8条回答
  •  无人及你
    2020-12-05 07:50

    Turns out it's a problem with Android SDK Tools r17. I had previously been using the method given in the tutorial at:

    http://mobile.tutsplus.com/tutorials/android/android-compatibility-working-with-fragments/

    However, this no longer works. Instead, all I needed to do was right-click on my project in Eclipse and choose Android Tools-->Add Support Library...

    Doing this means it is no longer necessary to go to Java Build Path and click "Add External JARs..."

    Many thanks to eMich for this solution from: Jar-file issue with ADT r17

提交回复
热议问题