2017-09-09 3 views
4

Androidデバイスで実行しようとしているときにエラーが発生しています。私は何が起こっているのか分かりません!com.android.ide.common.process.ProcessException:aaptを実行できませんでした!私に何ができる? [SOLVED]

私はそれを解決するために何ができますか?

:(

FAILURE:例外で失敗しましたビルド

BUILDは

Total time: 7.791 secs 

* What went wrong: 
Execution failed for task ':processDebugResources'. 
> com.android.ide.common.process.ProcessException: Failed to execute aapt 

* Try: 
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. 
Error: cmd: Command failed with exit code 1 Error output: 
C:\tmp\myproj\platforms\android\build\intermediates\res\merged\debug\values\values.xml:373: AAPT: Attribute "theme" already defined with incompatible format. 

C:\tmp\myproj\platforms\android\build\intermediates\res\merged\debug\values\values.xml:359: AAPT: Original attribute defined here. 

C:\tmp\myproj\platforms\android\build\intermediates\res\merged\debug\values-v26\values-v26.xml:15:21-54: AAPT: No resource found that matches the given name: attr 'android:keyboardNavigationCluster'. 

C:\tmp\myproj\platforms\android\build\intermediates\res\merged\debug\values\values.xml:373: error: Attribute "theme" already defined with incompatible format. 
C:\tmp\myproj\platforms\android\build\intermediates\res\merged\debug\values\values.xml:359: Original attribute defined here. 
C:\tmp\myproj\platforms\android\build\intermediates\res\merged\debug\values-v26\values-v26.xml:15: error: Error: No resource found that matches the given name: attr 'android:keyboardNavigationCluster'. 



FAILURE: Build failed with an exception. 

* What went wrong: 
Execution failed for task ':processDebugResources'. 
> com.android.ide.common.process.ProcessException: Failed to execute aapt 

* Try: 
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. 

[ERROR] An error occurred while running cordova run android (exit code 1). 

EDIT解決しよう

FAILED:再作成プロジェクトを再び機能を追加します!

答えて

1

v4 v7のバージョンを26.0.0に更新する場合は、 も変更してください。CompileSdkVersionおよびBuildToolsVersion を26.0.0に変更してください。

関連する問題