Couldn't resolve resource @style/Widget.Holo.Light.ActionMode.Inverse

拈花ヽ惹草 提交于 2019-12-04 02:33:47

This problem occured to me when updating Android Studio to version 1.1.0 and opening an old project without changing anything.

For me only changing the preview's rendering API to 19 or above makes the message disappear.

amanpurohit

Hey I faced the same problem and the solution that i figured out was - In android studio Open the Select Theme Dialog and under the All category select NoTitleBar.OverlayActionModes and press okay. The problem would be solved. But it can show up into a dark theme.

Make you project API Level newer.
For me,the problem occured when my build.gradle content like this:

compileSdkVersion 16
buildToolsVersion "23.0.2"

defaultConfig {
    applicationId "com.xiaoguang.xx"
    minSdkVersion 16
    targetSdkVersion 16
    versionCode 1
    versionName "1.0"
}

After i download the sdk 19 and change build.gradle, the problem was fixed.

compileSdkVersion 19
buildToolsVersion "19.1.0"

defaultConfig {
    applicationId "com.xiaoguang.xx"
    minSdkVersion 19
    targetSdkVersion 19
    versionCode 1
    versionName "1.0"
}

change preview'api

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!