No resource found that matches the given name '@style/ Theme.Holo.Light.DarkActionBar'

前端 未结 7 1058
我寻月下人不归
我寻月下人不归 2020-12-01 03:26

Platform:4.3

API Level:18

AndroidManifest.xml:


         


        
7条回答
  •  半阙折子戏
    2020-12-01 03:51

    If you use android studio, this might be useful for you.

    I had a similar problem and i solved it by changing the skd path from the default C:\Program Files (x86)\Android\android-studio\sdk to C:\Program Files (x86)\Android\android-sdk .

    It seems the problem came from the compiler version (gradle sets it automatically to the highest one available in the sdk folder) which doesn't support this theme, and since android studio had only the api 7 in its sdk folder, it gave me this error.

    For more information on how to change Android sdk path in Android Studio: Android Studio - How to Change Android SDK Path

提交回复
热议问题