2017-11-15 14 views
0

내가 먼저 내가은 원시 오류 반응

app:mergeDebugResources 
AAPT err(Facade for 806023675): /usr/Android/Sdk/build-tools/23.0.1/aapt: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory 
AAPT err(Facade for 320379832): /usr/Android/Sdk/build-tools/23.0.1/aapt: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory 
AAPT err(Facade for 1789437959): /usr/Android/Sdk/build-tools/23.0.1/aapt: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory 
AAPT err(Facade for 1055339140): /usr/Android/Sdk/build-tools/23.0.1/aapt: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory 
AAPT err(Facade for 520641803): /usr/Android/Sdk/build-tools/23.0.1/aapt: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory 
AAPT err(Facade for 1656371171): /usr/Android/Sdk/build-tools/23.0.1/aapt: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory 
AAPT err(Facade for 1847553157): /usr/Android/Sdk/build-tools/23.0.1/aapt: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory 
AAPT err(Facade for 1677766557): /usr/Android/Sdk/build-tools/23.0.1/aapt: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory 
AAPT err(Facade for 1952482313): /usr/Android/Sdk/build-tools/23.0.1/aapt: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory 
AAPT err(Facade for 1103640883): /usr/Android/Sdk/build-tools/23.0.1/aapt: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory 
AAPT err(Facade for 1227322743): /usr/Android/Sdk/build-tools/23.0.1/aapt: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory 
AAPT err(Facade for 962420428): /usr/Android/Sdk/build-tools/23.0.1/aapt: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory 
AAPT err(Facade for 1155783227): /usr/Android/Sdk/build-tools/23.0.1/aapt: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory 
AAPT err(Facade for 236690628): /usr/Android/Sdk/build-tools/23.0.1/aapt: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory 
AAPT err(Facade for 1275003794): /usr/Android/Sdk/build-tools/23.0.1/aapt: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory 
AAPT err(Facade for 1275871824): /usr/Android/Sdk/build-tools/23.0.1/aapt: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory 
AAPT err(Facade for 2018846724): /usr/Android/Sdk/build-tools/23.0.1/aapt: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory 
AAPT err(Facade for 291122889): /usr/Android/Sdk/build-tools/23.0.1/aapt: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory 
AAPT err(Facade for 1890726756): /usr/Android/Sdk/build-tools/23.0.1/aapt: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory 
Exception while processing task java.lang.RuntimeException: AAPT process not ready to receive commands 
Exception while processing task java.lang.RuntimeException: AAPT process not ready to receive commands 
Exception while processing task java.lang.RuntimeException: AAPT process not ready to receive commands 
Exception while processing task java.lang.RuntimeException: AAPT process not ready to receive commands 
Exception while processing task java.lang.RuntimeException: AAPT process not ready to receive commands 
Exception while processing task java.lang.RuntimeException: AAPT process not ready to receive commands 
Exception while processing task java.lang.RuntimeException: AAPT process not ready to receive commands 
Exception while processing task java.lang.RuntimeException: AAPT process not ready to receive commands 
Exception while processing task java.lang.RuntimeException: AAPT process not ready to receive commands 
Exception while processing task java.lang.RuntimeException: AAPT process not ready to receive commands 
Exception while processing task java.lang.RuntimeException: AAPT process not ready to receive commands 
Exception while processing task java.lang.RuntimeException: AAPT process not ready to receive commands 
Exception while processing task java.lang.RuntimeException: AAPT process not ready to receive commands 
Exception while processing task java.lang.RuntimeException: AAPT process not ready to receive commands 
Exception while processing task java.lang.RuntimeException: AAPT process not ready to receive commands 
Exception while processing task java.lang.RuntimeException: AAPT process not ready to receive commands 
Exception while processing task java.lang.RuntimeException: AAPT process not ready to receive commands 
Exception while processing task java.lang.RuntimeException: AAPT process not ready to receive commands 
Exception while processing task java.lang.RuntimeException: AAPT process not ready to receive commands 
AAPT err(Facade for 122608110): /usr/Android/Sdk/build-tools/23.0.1/aapt: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory 

... 이상이 같은 로그 내 aapt에 오류가있다이 오류

Execution failed for task ':app:mergeDebugResources'. 
> Error: java.util.concurrent.ExecutionException: java.lang.RuntimeException: AAPT process not ready to receive commands 

가지고 react-native run-android 실행 응용 프로그램을 : mergeDebugResources FAILED

안드로이드 SDK를 올바르게 설치했는데 내 안드로이드 에뮬레이터를 실행하고 반응하는 네이티브 패키지 도구를 실행했습니다

답변

3

난 그냥이 나를 위해 작동

sudo apt-get install lib32stdc++6 lib32z1 

를 명령 줄에서이 붙여 입력, 어쩌면 당신은 그래서 난이 절대 대답은 말할 수 없다 AAPT 서로 다른 문제가 있지만, 이것은 나를 위해

를 작동

참고 : 모든 aapt 오류의 해결책은 아니지만 일부 사용자에게 도움이되기를 바랍니다.