Appcompat does not work

前端 未结 5 1490
青春惊慌失措
青春惊慌失措 2020-12-02 02:19

I am trying to use appcompat in my application. I have done everything according to the instructions. But when I add android-support-v7-appcompat as a library in my proect,

5条回答
  •  没有蜡笔的小新
    2020-12-02 02:43

    Delete jar library from every directory you add. Then you need to add appcompat as a dependency. If you use Android Studio, you need to do as following:

    add this

    compile 'com.android.support:appcompat-v7:18.0.+'

    into your gradle dependencies and after that, Build -> Rebuild Project.

提交回复
热议问题