2017-09-09 11 views
4

Android 기기에서 실행하려고 할 때 오류가 발생합니다! 나는 무슨 일이 일어나고 있는지 전혀 모른다!com.android.ide.common.process.ProcessException : aapt를 실행하지 못했습니다! 내가 무엇을 할 수 있을지? [SOLVED]

해결하려면 어떻게해야합니까?

:(

실패 :. 예외로 빌드 실패

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). 

편집을 실패

해결했다 다시 만들기 프로젝트를 다시 기능을 추가 !

답변

1

v4 v7 버전을 26.0.0으로 업데이트하는 경우 도 변경해야합니다. CompileSdkVersion 및 BuildToolsVersion 을 26.0.0

으로 변경해야합니다.