java.lang.RuntimeException

tip

I did this as root, and works
dpkg --add-architecture i386 apt-get install libncurses5:i386 libstdc++6:i386 zlib1g:i386

tip

Switch to Android Build Tools 23.0.3


rprp

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • I can not create apk on Raspberry Pi
    via Stack Overflow by Lukas0025
    ,
  • android studio renamed package but errors
    via Stack Overflow by eminem
    ,
  • Why building of gradle can't be finished (Ubuntu) ?
    via by Unknown author,
    • java.lang.RuntimeException: Timed out while waiting for slave aapt process, make sure the aapt execute at C:\develop\android\sdk\build-tools\24.0.1\aapt.exe can run successfully (some anti-virus may block it) or try setting environment variable SLAVE_AAPT_TIMEOUT to a value bigger than 10 seconds at com.android.builder.png.AaptProcess.waitForReady(AaptProcess.java:108) at com.android.builder.png.QueuedCruncher$1.creation(QueuedCruncher.java:110) at com.android.builder.tasks.WorkQueue.run(WorkQueue.java:203) at java.lang.Thread.run(Thread.java:745)

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    16 more bugmates