Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

invalid aapt version #1

Closed
daoxiangcun opened this issue Mar 16, 2016 · 2 comments
Closed

invalid aapt version #1

daoxiangcun opened this issue Mar 16, 2016 · 2 comments

Comments

@daoxiangcun
Copy link

I build this sample with android studio 1.4, and android sdk build tools 23.0.1, 23.0.2 both installed, but when build, following error happens:

Exception in thread "stderr" java.lang.RuntimeException: Invalid aapt version, version 21 or above is required
at com.android.builder.png.AaptProcess$ProcessOutputFacade.err(AaptProcess.java:217)
at com.android.utils.GrabProcessOutput$1.run(GrabProcessOutput.java:102)
Exception in thread "png-cruncher_6" java.lang.RuntimeException: Timed out while waiting for slave aapt process, try setting environment variable SLAVE_AAPT_TIMEOUT to a value bigger than 5 seconds
at com.android.builder.png.AaptProcess.waitForReady(AaptProcess.java:104)
at com.android.builder.png.QueuedCruncher$1.creation(QueuedCruncher.java:107)
at com.android.builder.tasks.WorkQueue.run(WorkQueue.java:204)
at java.lang.Thread.run(Thread.java:745)

@bherbst
Copy link
Owner

bherbst commented Mar 16, 2016

As per this StackOverflow post, can you verify that you have version 21 of the Android SDK fully installed and that your support library is up to date?

@bherbst
Copy link
Owner

bherbst commented Nov 28, 2016

Closing due to lack of response.

@bherbst bherbst closed this as completed Nov 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants