Cannot resolve symbol 'support' (using Android Studio, following getting started guide)

后端 未结 3 1745
耶瑟儿~
耶瑟儿~ 2021-02-09 10:40

I am getting started with Android development. I have followed this Getting Started guide and use Android Studio (not eclipse).

I ran Hello World on my

3条回答
  •  心在旅途
    2021-02-09 11:03

    Modify your gradle file like below and try if it works.

    ......
    
        dependencies {
           compile 'com.android.support:support-v4:18.0.0'
    
            // You must install or update the Support Repository through the SDK manager to use this dependency.
            // The Support Repository (separate from the corresponding library) can be found in the Extras category.
            // compile 'com.android.support:appcompat-v7:18.0.0'
        }
    

提交回复
热议问题