Error “package android.support.v7.app does not exist”

前端 未结 16 1786
-上瘾入骨i
-上瘾入骨i 2020-11-30 02:03

I am new to android development, and I have been using the command line tools to create an android project. I followed all the instructions given in the tutorial at android

16条回答
  •  一个人的身影
    2020-11-30 02:15

    Your project is missing the support library from the SDK.

    If you have no installed them, just right click on the project > Android Tools > Install support library.

    Then, just import into workspace, as an Android project, android-support-v7-appcompat, located into ${android-sdk-path}/extras/android/support/v7

    And finally, right click in the Android project > Properties > Android Tab. Push the Add button and add the support project "android-support-v7-appcompat" as dependency.

    Clean your project and the must compile and work properly.

提交回复
热议问题