Android 支持库 Build V 25 错误
Android Support library Build V 25 error
当我将支持库版本从 23.4.0 更新到 25 时,v11 样式值出现错误
这是我的配置:
compileSdkVersion 25
buildToolsVersion "25.0.0"
defaultConfig {
renderscriptTargetApi 21
applicationId "com.myapp"
minSdkVersion 16
renderscriptSupportModeEnabled true
targetSdkVersion 25
versionCode 64
versionName "2.0.8"
multiDexEnabled true
}
还有我的支持库:
def SUPPORT_LIBRARY_VERSION = '25.0.0'
compile "com.android.support:appcompat-v7:$SUPPORT_LIBRARY_VERSION"
compile("com.android.support:support-v4:$SUPPORT_LIBRARY_VERSION") {
force = true;
}
compile "com.android.support:design:$SUPPORT_LIBRARY_VERSION"
compile "com.android.support:palette-v7:$SUPPORT_LIBRARY_VERSION"
compile "com.android.support:recyclerview-v7:$SUPPORT_LIBRARY_VERSION"
compile "com.android.support:cardview-v7:$SUPPORT_LIBRARY_VERSION"
androidTestCompile "com.android.support:support-annotations:$SUPPORT_LIBRARY_VERSION"
我遇到的错误:
Error:(109, 54) No resource found that matches the given name (at 'android:actionModeCloseDrawable' with value '@drawable/abc_ic_ab_back_mtrl_am_alpha').
Error:(109, 54) No resource found that matches the given name (at 'android:actionModeCloseDrawable' with value '@drawable/abc_ic_ab_back_mtrl_am_alpha').
但是当我将支持库版本恢复到 23 时,它构建得很好。
我错过了什么?我刚刚将我的 Android SDK 管理器支持库更新到最新版本,但仍然出现相同的错误。
尝试将其更改为 abc_ic_ab_back_material
替换
@drawable/abc_ic_ab_back_mtrl_am_alpha
和 @drawable/abc_ic_ab_back_material
这是source
当我将支持库版本从 23.4.0 更新到 25 时,v11 样式值出现错误
这是我的配置:
compileSdkVersion 25
buildToolsVersion "25.0.0"
defaultConfig {
renderscriptTargetApi 21
applicationId "com.myapp"
minSdkVersion 16
renderscriptSupportModeEnabled true
targetSdkVersion 25
versionCode 64
versionName "2.0.8"
multiDexEnabled true
}
还有我的支持库:
def SUPPORT_LIBRARY_VERSION = '25.0.0'
compile "com.android.support:appcompat-v7:$SUPPORT_LIBRARY_VERSION"
compile("com.android.support:support-v4:$SUPPORT_LIBRARY_VERSION") {
force = true;
}
compile "com.android.support:design:$SUPPORT_LIBRARY_VERSION"
compile "com.android.support:palette-v7:$SUPPORT_LIBRARY_VERSION"
compile "com.android.support:recyclerview-v7:$SUPPORT_LIBRARY_VERSION"
compile "com.android.support:cardview-v7:$SUPPORT_LIBRARY_VERSION"
androidTestCompile "com.android.support:support-annotations:$SUPPORT_LIBRARY_VERSION"
我遇到的错误:
Error:(109, 54) No resource found that matches the given name (at 'android:actionModeCloseDrawable' with value '@drawable/abc_ic_ab_back_mtrl_am_alpha').
Error:(109, 54) No resource found that matches the given name (at 'android:actionModeCloseDrawable' with value '@drawable/abc_ic_ab_back_mtrl_am_alpha').
但是当我将支持库版本恢复到 23 时,它构建得很好。
我错过了什么?我刚刚将我的 Android SDK 管理器支持库更新到最新版本,但仍然出现相同的错误。
尝试将其更改为 abc_ic_ab_back_material
替换
@drawable/abc_ic_ab_back_mtrl_am_alpha
和 @drawable/abc_ic_ab_back_material
这是source