I occasionally bring up Studio to work on a personal project. It was 
basically working at one point, at least it appears to be built in Studio.  
I decided I wanted to try to build it from the command line.  From what I 
understand, this just requires "./gradlew assemble".

This produced the following (truncated) output:
:Application:preBuild UP-TO-DATE
...
:Application:generateReleaseResources UP-TO-DATE
:Application:mergeReleaseResourcesjava.io.IOException: Cannot run program 
"<myhome>/Android/Sdk/build-tools/23.0.2/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:
154)
    at com.android.builder.png.QueuedCruncher$1.creation(QueuedCruncher.java
:105)
    at com.android.builder.tasks.WorkQueue.run(WorkQueue.java:204)
    at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.IOException: error=2, No such file or directory
    at java.lang.UNIXProcess.forkAndExec(Native Method)
    at java.lang.UNIXProcess.<init>(UNIXProcess.java:248)
    at java.lang.ProcessImpl.start(ProcessImpl.java:134)
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
    ... 4 more

That stacktrace repeated 20 more times after this, and then it just sat 
there. It didn't complete, just hung waiting for input of some sort.  It's 
been sitting here for the last few minutes, and I don't think it's going to 
complete.

My platform is CentOS Linux.

Note that the path given above DOES exist, and is executable.

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/3a3dd85c-6b36-4a70-afe5-8b6a4835176e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to