android.support.v7.internal.widget.ActionBarOverlayLayout找不到 [英] android.support.v7.internal.widget.ActionBarOverlayLayout could not be Found

查看:285
本文介绍了android.support.v7.internal.widget.ActionBarOverlayLayout找不到的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我跟所有的相关的问题,为这个错误,我想:

I followed the all of related question for this error and i tried :

1 .changing的preVIEW活动的主题

1.changing the theme of the preview activity

//但我不需要这个。它只是改变了preVIEW操作栏(或其他东西),我不需要这个。 (材料个人App_Theme文件的)

//but I dont need this. It just changes the preview action bar (or other something) and I dont need this. (material personal app_theme)

2 .change到API-21。
//这也修复了这个错误,但我们看不到任何操作栏不再使用此选项。

2.change to API-21. //This also fixes this error but we cannot see any action bar anymore with this option.

所以,我的Andr​​oid Studio版本是:

So, my Android Studio Version is:

1.2.1.1

我使用API​​-22。

I'm using API-22.

的build.gradle:

apply plugin: 'com.android.application'

android {
    compileSdkVersion 22
    buildToolsVersion "22.0.0"

    defaultConfig {
        applicationId "test.myapplication"
        minSdkVersion 15
        targetSdkVersion 22
        versionCode 1
        versionName "1.0"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
}

dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
    compile 'com.android.support:appcompat-v7:22.0.0'
}
apply plugin: 'com.android.application'

android {
    compileSdkVersion 22
    buildToolsVersion "22.0.0"

    defaultConfig {
        applicationId "test.myapplication"
        minSdkVersion 15
        targetSdkVersion 22
        versionCode 1
        versionName "1.0"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
}

dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
    compile 'com.android.support:appcompat-v7:22.0.0'
}

如何解决这一问题?

How to fix this?

推荐答案

更​​新后的And​​r​​oid Studio来 AI 141.1962279 加那利 频道和我加入这一块的的build.gradle ,现在看来的工作。

After update the Android Studio to AI 141.1962279 From Canary Channel and i added this one on the Build.gradle and it's seems work now.

编译com.android.support:support-v4:22.1.1

这篇关于android.support.v7.internal.widget.ActionBarOverlayLayout找不到的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆