Cannot resolve symbol Theme, ThemeOverlay

前端 未结 7 1834
清酒与你
清酒与你 2020-12-17 09:17

I updated my android studio to latest version - 3.0.1. Since then it complains \'Cannot resolve symbol\' for Theme and ThemeOverlay in the following lines of code. App runs

7条回答
  •  借酒劲吻你
    2020-12-17 09:50

    I had this same error so i compared it to gradle file of another project which wasn't showing error. In your build.gradle(Module:app) under dependencies, add the following line:

    implementation 'com.android.support:preference-v7:28.0.0'
    

提交回复
热议问题