2016-07-29 9 views
-3

こんにちは私は 私の主な活動と資源がエラーを示していくつかの時間後にAndroidのメーカーを再起動したときにアンドロイドアプリのプロジェクトのすべてが24のAndroid Studioは今、このエラー

今アンドロイドN 7.0 APIを使用してコンパイルしてうまく作ら示して?

C:\Users\Hella\AndroidStudioProjects\Z\app\src\main\res\values-v21\styles.xml 
Error:(3, 5) No resource found that matches the given name: attr 'windowActionBar'. 
Error:(3, 5) No resource found that matches the given name: attr 'windowNoTitle'. 
C:\Users\Hella\AndroidStudioProjects\Z\app\src\main\res\values\styles.xml 
Error:No resource found that matches the given name: attr 'windowActionBar'. 
Error:No resource found that matches the given name: attr 'windowNoTitle'. 
Error:(4, 5) No resource found that matches the given name: attr 'colorAccent'. 
Error:(4, 5) No resource found that matches the given name: attr 'colorPrimary'. 
Error:(4, 5) No resource found that matches the given name: attr 'colorPrimaryDark'. 
C:\Users\Hella\AndroidStudioProjects\Z\app\build\intermediates\res\merged\debug\values\values.xml 
Error:(11) Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'. 
Error:(17) Error retrieving parent for item: No resource found that matches the given name 'ThemeOverlay.AppCompat.Dark.ActionBar'. 
Error:(22) Error retrieving parent for item: No resource found that matches the given name 'ThemeOverlay.AppCompat.Light'. 
Error:Execution failed for task ':app:processDebugResources'. 
> com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Users\Hella\AppData\Local\Android\Sdk\build-tools\24.0.1\aapt.exe'' finished with non-zero exit value 1 

PS私の依存関係は、n APPCOMPATするために自動的に拡張された活動、それをターゲットと私はアンドロイド7コンパイルして、新しいプロジェクトを作成したときのように任意のAPPCOMPATサポートを追加しhavenot何も示していない、それは大丈夫だった、すべてのビルドは成功したが、ちょうど再起動後それはappcompatactivity解決カント私はAndroidのメーカーを再起動して、私のプロジェクトをロードし、依存関係は、私は新しいプロジェクトを作り、以下の依存関係が存在しないことを発見した自動

を削除された

+0

それだけで、あなたがきれいにしようとすると、再構築、またはちょうどあなたのスタイルをチェックできるいくつかの属性が欠落している、あなたのスタイルのXMLのように見えるとxml値 – ziondreamt

+0

hello doesnot fix PS私の依存関係は何も表示されません。私がアンドロイド7で新しいプロジェクトを作成したときにappcompatサポートを追加しても、それは自動的にappcompatにアクティビティを拡張しました。再起動直後には、アプリケーション互換性を解決できません –

+0

あなたのbuild.gradleが24を指していることを確認しますか? – Bill

答えて

-1

compile fileTree(dir: 'libs', include: ['*.jar']) 
    testCompile 'junit:junit:4.12' 
    compile 'com.android.support:appcompat-v7:24.0.0-alpha2' 
    compile 'com.android.support:design:24.0.0-alpha2' 

のAndroid Studioは、私が戻って日食のgetサポートを希望、バグの完全である

+1

Eclipse NeonはAndroidサポートを持っています..しかし、あなたの問題はGradle関連です。 –

関連する問題