最近筆記本換了LinuxMint18.
安裝開發(fā)環(huán)境续徽,第一次運(yùn)行React—Native報(bào)一下錯(cuò)誤。
java.io.IOException: Cannot run program "/opt/java/Sdk/build-tools/23.0.1/aapt": error=2, No such file or directory at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048) at com.android.builder.png.AaptProcess$Builder.start(AaptProcess.java:167) at com.android.builder.png.QueuedCruncher$1.creation(QueuedCruncher.java:118) at com.android.builder.tasks.WorkQueue.run(WorkQueue.java:203) at java.lang.Thread.run(Thread.java:748)Caused by: java.io.IOException: error=2, No such file or directory at java.lang.UNIXProcess.forkAndExec(Native Method) at java.lang.UNIXProcess.(UNIXProcess.java:247)
at java.lang.ProcessImpl.start(ProcessImpl.java:134)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
原因是被系統(tǒng)時(shí)64位的不支持aapt犯建。
解決方法:apt-getinstall ia32-libs