相关疑难解决方法(0)

我的风格有什么问题?无法解析符号Theme.AppCompat.Light.NoActionBar

目前,我的styles.xml文件显示不正确的内容.Theme.AppCompat.Light.NoActionBar无法解决.我已经重新启动android studio但它仍然无法正常工作.我尝试了Invalidate Caches/Restart,但它不起作用.它不会使我的应用程序崩溃,但为什么会发生.看下图:

.

这是我的build.gradle文件

import org.apache.tools.ant.taskdefs.condition.Os

apply plugin: 'com.android.application'
apply plugin: 'com.google.gms.google-services'

android {
    compileSdkVersion 23
    buildToolsVersion '25.0.0'

    defaultConfig {
        applicationId "xx.com.xxx.xxxx"
        minSdkVersion 17
        targetSdkVersion 23
        versionCode 21
        versionName "1.2.0"
        renderscriptTargetApi 23
        renderscriptSupportModeEnabled true

        // Enabling multidex support.
        multiDexEnabled true
    }

dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
    compile('com.afollestad.material-dialogs:core:0.8.5.1@aar') {
        transitive = true
    }
    compile('com.mikepenz:actionitembadge:3.0.2@aar') {
        transitive = true
    }
    compile project(':blurringview')
    compile 'com.android.support:support-v4:23.3.0'
    compile 'com.android.support:appcompat-v7:23.3.0'
    compile 'com.android.support:design:23.3.0'
    compile 'com.android.support:cardview-v7:23.3.0'
    compile 'com.android.support:recyclerview-v7:23.3.0'
    compile 'com.google.android.gms:play-services-gcm:8.3.0'
    compile 'com.android.support:palette-v7:23.3.0' …
Run Code Online (Sandbox Code Playgroud)

android android-appcompat android-studio android-styles

3
推荐指数
1
解决办法
4570
查看次数