无法构建React-Native应用程序



我是React-Native的新手,我尝试创建很棒的应用程序。本教程。但是当我运行react-native run-android时,它会丢弃许多错误

    AAPT err(Facade for 762660807): /home/trantuan/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 1110068242): /home/trantuan/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
Thread(png-cruncher_1): Broken pipe
java.io.IOException: Broken pipe
        at java.io.FileOutputStream.writeBytes(Native Method)
        at java.io.FileOutputStream.write(FileOutputStream.java:326)
        at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
        at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
        at sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:297)
        at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:141)
        at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:229)
        at com.android.builder.png.AaptProcess.shutdown(AaptProcess.java:143)
        at com.android.builder.png.QueuedCruncher$1.destruction(QueuedCruncher.java:151)
        at com.android.builder.tasks.WorkQueue.run(WorkQueue.java:245)
        at java.lang.Thread.run(Thread.java:748)
AAPT err(Facade for 146724770): /home/trantuan/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 286442752): /home/trantuan/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 1478193577): /home/trantuan/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
Thread(png-cruncher_3): Stream closed
java.io.IOException: Stream closed
        at java.lang.ProcessBuilder$NullOutputStream.write(ProcessBuilder.java:433)
        at java.io.OutputStream.write(OutputStream.java:116)
        at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
        at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
        at sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:297)
        at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:141)
        at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:229)
        at com.android.builder.png.AaptProcess.shutdown(AaptProcess.java:143)
        at com.android.builder.png.QueuedCruncher$1.destruction(QueuedCruncher.java:151)
        at com.android.builder.tasks.WorkQueue.run(WorkQueue.java:245)
        at java.lang.Thread.run(Thread.java:748)
Exception while processing task java.lang.RuntimeException: AAPT process not ready to receive commands
Thread(png-cruncher_2): Stream closed
java.io.IOException: Stream closed
        at java.lang.ProcessBuilder$NullOutputStream.write(ProcessBuilder.java:433)
        at java.io.OutputStream.write(OutputStream.java:116)
        at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
        at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
        at sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:297)
        at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:141)
        at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:229)
        at com.android.builder.png.AaptProcess.shutdown(AaptProcess.java:143)
        at com.android.builder.png.QueuedCruncher$1.destruction(QueuedCruncher.java:151)
        at com.android.builder.tasks.WorkQueue.run(WorkQueue.java:245)
        at java.lang.Thread.run(Thread.java:748)
Exception while processing task java.lang.RuntimeException: AAPT process not ready to receive commands
Thread(png-cruncher_4): Stream closed
java.io.IOException: Stream closed
        at java.lang.ProcessBuilder$NullOutputStream.write(ProcessBuilder.java:433)
        at java.io.OutputStream.write(OutputStream.java:116)
        at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
        at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
        at sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:297)
        at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:141)
        at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:229)
        at com.android.builder.png.AaptProcess.shutdown(AaptProcess.java:143)
        at com.android.builder.png.QueuedCruncher$1.destruction(QueuedCruncher.java:151)
        at com.android.builder.tasks.WorkQueue.run(WorkQueue.java:245)
        at java.lang.Thread.run(Thread.java:748)
Exception while processing task java.lang.RuntimeException: AAPT process not ready to receive commands
Thread(png-cruncher_5): Stream closed
java.io.IOException: Stream closed
        at java.lang.ProcessBuilder$NullOutputStream.write(ProcessBuilder.java:433)
        at java.io.OutputStream.write(OutputStream.java:116)
        at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
        at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
        at sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:297)
        at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:141)
        at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:229)
        at com.android.builder.png.AaptProcess.shutdown(AaptProcess.java:143)
        at com.android.builder.png.QueuedCruncher$1.destruction(QueuedCruncher.java:151)
        at com.android.builder.tasks.WorkQueue.run(WorkQueue.java:245)
        at java.lang.Thread.run(Thread.java:748)
AAPT err(Facade for 1225942468): /home/trantuan/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
AAPT err(Facade for 2043292931): /home/trantuan/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
AAPT err(Facade for 1529341869): /home/trantuan/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
Thread(png-cruncher_8): Broken pipe
java.io.IOException: Broken pipe
        at java.io.FileOutputStream.writeBytes(Native Method)
        at java.io.FileOutputStream.write(FileOutputStream.java:326)
        at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
        at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
        at sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:297)
        at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:141)
        at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:229)
        at com.android.builder.png.AaptProcess.shutdown(AaptProcess.java:143)
        at com.android.builder.png.QueuedCruncher$1.destruction(QueuedCruncher.java:151)
        at com.android.builder.tasks.WorkQueue.run(WorkQueue.java:245)
        at java.lang.Thread.run(Thread.java:748)
Thread(png-cruncher_7): Broken pipe
java.io.IOException: Broken pipe
        at java.io.FileOutputStream.writeBytes(Native Method)
        at java.io.FileOutputStream.write(FileOutputStream.java:326)
        at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
        at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
        at sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:297)
        at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:141)
        at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:229)
        at com.android.builder.png.AaptProcess.shutdown(AaptProcess.java:143)
        at com.android.builder.png.QueuedCruncher$1.destruction(QueuedCruncher.java:151)
        at com.android.builder.tasks.WorkQueue.run(WorkQueue.java:245)
        at java.lang.Thread.run(Thread.java:748)
Exception while processing task java.lang.RuntimeException: AAPT process not ready to receive commands
Thread(png-cruncher_6): Broken pipe
java.io.IOException: Broken pipe
        at java.io.FileOutputStream.writeBytes(Native Method)
        at java.io.FileOutputStream.write(FileOutputStream.java:326)
        at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
        at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
        at sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:297)
        at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:141)
        at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:229)
        at com.android.builder.png.AaptProcess.shutdown(AaptProcess.java:143)
        at com.android.builder.png.QueuedCruncher$1.destruction(QueuedCruncher.java:151)
        at com.android.builder.tasks.WorkQueue.run(WorkQueue.java:245)
        at java.lang.Thread.run(Thread.java:748)
AAPT err(Facade for 482911119): /home/trantuan/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
AAPT err(Facade for 1815908639): /home/trantuan/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): /home/trantuan/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
Thread(png-cruncher_10): Broken pipe
java.io.IOException: Broken pipe
        at java.io.FileOutputStream.writeBytes(Native Method)
        at java.io.FileOutputStream.write(FileOutputStream.java:326)
        at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
        at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
        at sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:297)
        at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:141)
        at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:229)
        at com.android.builder.png.AaptProcess.shutdown(AaptProcess.java:143)
        at com.android.builder.png.QueuedCruncher$1.destruction(QueuedCruncher.java:151)
        at com.android.builder.tasks.WorkQueue.run(WorkQueue.java:245)
        at java.lang.Thread.run(Thread.java:748)
Exception while processing task java.lang.RuntimeException: AAPT process not ready to receive commands
AAPT err(Facade for 1587857275): /home/trantuan/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
Thread(png-cruncher_11): Broken pipe
java.io.IOException: Broken pipe
        at java.io.FileOutputStream.writeBytes(Native Method)
        at java.io.FileOutputStream.write(FileOutputStream.java:326)
        at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
        at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
        at sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:297)
        at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:141)
        at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:229)
        at com.android.builder.png.AaptProcess.shutdown(AaptProcess.java:143)
        at com.android.builder.png.QueuedCruncher$1.destruction(QueuedCruncher.java:151)
        at com.android.builder.tasks.WorkQueue.run(WorkQueue.java:245)
        at java.lang.Thread.run(Thread.java:748)
AAPT err(Facade for 2122638962): /home/trantuan/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
Thread(png-cruncher_9): Stream closed
java.io.IOException: Stream closed
        at java.lang.ProcessBuilder$NullOutputStream.write(ProcessBuilder.java:433)
        at java.io.OutputStream.write(OutputStream.java:116)
        at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
        at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
        at sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:297)
        at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:141)
        at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:229)
        at com.android.builder.png.AaptProcess.shutdown(AaptProcess.java:143)
        at com.android.builder.png.QueuedCruncher$1.destruction(QueuedCruncher.java:151)
        at com.android.builder.tasks.WorkQueue.run(WorkQueue.java:245)
        at java.lang.Thread.run(Thread.java:748)
AAPT err(Facade for 1605821964): /home/trantuan/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
Thread(png-cruncher_13): Broken pipe
java.io.IOException: Broken pipe
        at java.io.FileOutputStream.writeBytes(Native Method)
        at java.io.FileOutputStream.write(FileOutputStream.java:326)
        at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
        at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
        at sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:297)
        at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:141)
        at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:229)
        at com.android.builder.png.AaptProcess.shutdown(AaptProcess.java:143)
        at com.android.builder.png.QueuedCruncher$1.destruction(QueuedCruncher.java:151)
        at com.android.builder.tasks.WorkQueue.run(WorkQueue.java:245)
        at java.lang.Thread.run(Thread.java:748)
Thread(png-cruncher_12): Stream closed
java.io.IOException: Stream closed
        at java.lang.ProcessBuilder$NullOutputStream.write(ProcessBuilder.java:433)
        at java.io.OutputStream.write(OutputStream.java:116)
        at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
        at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
        at sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:297)
        at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:141)
        at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:229)
        at com.android.builder.png.AaptProcess.shutdown(AaptProcess.java:143)
        at com.android.builder.png.QueuedCruncher$1.destruction(QueuedCruncher.java:151)
        at com.android.builder.tasks.WorkQueue.run(WorkQueue.java:245)
        at java.lang.Thread.run(Thread.java:748)
Exception while processing task java.lang.RuntimeException: AAPT process not ready to receive commands
Thread(png-cruncher_15): Broken pipe
java.io.IOException: Broken pipe
        at java.io.FileOutputStream.writeBytes(Native Method)
        at java.io.FileOutputStream.write(FileOutputStream.java:326)
        at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
        at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
        at sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:297)
        at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:141)
        at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:229)
        at com.android.builder.png.AaptProcess.shutdown(AaptProcess.java:143)
        at com.android.builder.png.QueuedCruncher$1.destruction(QueuedCruncher.java:151)
        at com.android.builder.tasks.WorkQueue.run(WorkQueue.java:245)
        at java.lang.Thread.run(Thread.java:748)
AAPT err(Facade for 2112052223): /home/trantuan/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
Thread(png-cruncher_14): Broken pipe
java.io.IOException: Broken pipe
        at java.io.FileOutputStream.writeBytes(Native Method)
        at java.io.FileOutputStream.write(FileOutputStream.java:326)
        at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
        at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
        at sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:297)
        at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:141)
        at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:229)
        at com.android.builder.png.AaptProcess.shutdown(AaptProcess.java:143)
        at com.android.builder.png.QueuedCruncher$1.destruction(QueuedCruncher.java:151)
        at com.android.builder.tasks.WorkQueue.run(WorkQueue.java:245)
        at java.lang.Thread.run(Thread.java:748)
AAPT err(Facade for 1184088505): /home/trantuan/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 522173194): /home/trantuan/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 1024149312): /home/trantuan/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
AAPT err(Facade for 1031795258): /home/trantuan/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
Thread(png-cruncher_18): Broken pipe
java.io.IOException: Broken pipe
        at java.io.FileOutputStream.writeBytes(Native Method)
        at java.io.FileOutputStream.write(FileOutputStream.java:326)
        at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
        at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
        at sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:297)
        at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:141)
        at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:229)
        at com.android.builder.png.AaptProcess.shutdown(AaptProcess.java:143)
        at com.android.builder.png.QueuedCruncher$1.destruction(QueuedCruncher.java:151)
        at com.android.builder.tasks.WorkQueue.run(WorkQueue.java:245)
        at java.lang.Thread.run(Thread.java:748)
Exception while processing task java.lang.RuntimeException: AAPT process not ready to receive commands
Thread(png-cruncher_16): Stream closed
java.io.IOException: Stream closed
        at java.lang.ProcessBuilder$NullOutputStream.write(ProcessBuilder.java:433)
        at java.io.OutputStream.write(OutputStream.java:116)
        at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
        at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
        at sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:297)
        at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:141)
        at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:229)
        at com.android.builder.png.AaptProcess.shutdown(AaptProcess.java:143)
        at com.android.builder.png.QueuedCruncher$1.destruction(QueuedCruncher.java:151)
        at com.android.builder.tasks.WorkQueue.run(WorkQueue.java:245)
        at java.lang.Thread.run(Thread.java:748)
Thread(png-cruncher_17): Stream closed
java.io.IOException: Stream closed
        at java.lang.ProcessBuilder$NullOutputStream.write(ProcessBuilder.java:433)
        at java.io.OutputStream.write(OutputStream.java:116)
        at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
        at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
        at sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:297)
        at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:141)
        at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:229)
        at com.android.builder.png.AaptProcess.shutdown(AaptProcess.java:143)
        at com.android.builder.png.QueuedCruncher$1.destruction(QueuedCruncher.java:151)
        at com.android.builder.tasks.WorkQueue.run(WorkQueue.java:245)
        at java.lang.Thread.run(Thread.java:748)
Thread(png-cruncher_20): Stream closed
java.io.IOException: Stream closed
        at java.lang.ProcessBuilder$NullOutputStream.write(ProcessBuilder.java:433)
        at java.io.OutputStream.write(OutputStream.java:116)
        at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
        at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
        at sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:297)
        at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:141)
        at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:229)
        at com.android.builder.png.AaptProcess.shutdown(AaptProcess.java:143)
        at com.android.builder.png.QueuedCruncher$1.destruction(QueuedCruncher.java:151)
        at com.android.builder.tasks.WorkQueue.run(WorkQueue.java:245)
        at java.lang.Thread.run(Thread.java:748)
AAPT err(Facade for 278298510): /home/trantuan/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
Thread(png-cruncher_19): Stream closed
java.io.IOException: Stream closed
        at java.lang.ProcessBuilder$NullOutputStream.write(ProcessBuilder.java:433)
        at java.io.OutputStream.write(OutputStream.java:116)
        at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
        at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
        at sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:297)
        at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:141)
        at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:229)
        at com.android.builder.png.AaptProcess.shutdown(AaptProcess.java:143)
        at com.android.builder.png.QueuedCruncher$1.destruction(QueuedCruncher.java:151)
        at com.android.builder.tasks.WorkQueue.run(WorkQueue.java:245)
        at java.lang.Thread.run(Thread.java:748)
Error: java.util.concurrent.ExecutionException: java.lang.RuntimeException: AAPT process not ready to receive commands
:app:mergeDebugResources FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:mergeDebugResources'.
> Error: java.util.concurrent.ExecutionException: java.lang.RuntimeException: AAPT process not ready to receive commands
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 6.487 secs

我发现了许多质量检查,例如

  • 无法打开共享对象文件
  • 反应本地运行式Android失败,无法安装应用

但仍然不起作用:(。

看起来您可能会缺少libz.so库。
从另一个帖子中,尝试:

sudo apt-get安装zlib1g


sudo apt-get安装zlib1g:i386

相关内容

  • 没有找到相关文章

最新更新