“Could not find class 'android.support.v4.app.FragmentActivity'” Error

后端 未结 4 1376
没有蜡笔的小新
没有蜡笔的小新 2021-02-02 14:58

I\'m getting the following error:

> 02-06 23:10:24.104: E/dalvikvm(912): Could not find class
> \'android.support.v4.app.FragmentActivity\', referenced fro         


        
4条回答
  •  春和景丽
    2021-02-02 15:16

    Please Perform these two steps: 1)It's better to create libs folder and add "android-support-v4.jar" and dont forget to check checkbox mentioning "system library " . 2) Copy "android-support-v4.jar" from "adt-bundle-linux-x86-20140702/sdk/extras/android/support/v4" folder to your "/home/vinny/workspace/appcompat_v7/libs" appcompat libs folder.You can add "android-support-v7-appcompat.jar" this jar also to this folder from "adt-bundle-linux-x86-20140702/sdk/extras/android/support/v7"

    Note: Don't forget to perform this step, properties->Android->Library-> add

提交回复
热议问题