java - Android Studio. Emulator works. App does not run -


i'm using androiod studio 2.1.3. i've made app. no errors, emulator comes up, works, acts phone. problem app not run. cleared errors except saw one:

error while waiting device: emulator process avd nexus_5_api_23

also, tried rebuilding app , got following :

exception in thread "png-cruncher_62" java.lang.runtimeexception: timed out while waiting slave aapt process, make sure aapt execute @ c:\users\owner\appdata\local\android\sdk\build-tools\24.0.2\aapt.exe can run (some anti-virus may block it) or try setting environment variable slave_aapt_timeout value bigger 5 seconds @ com.android.builder.png.aaptprocess.waitforready(aaptprocess.java:108) @ com.android.builder.png.queuedcruncher$1.creation(queuedcruncher.java:110) @ com.android.builder.tasks.workqueue.run(workqueue.java:203) @ java.lang.thread.run(thread.java:745)

and that's repeated several times different number on png-cruncher. ideas?

i saw png-cruncher_62 on log, make sure never use - in image name (you can use _ png_cruncher_62 work), android not take it. if it's still not working, try create new emulator , make sure updated in sdk manager :)


Comments

Popular posts from this blog

java - Jasper subreport showing only one entry from the JSON data source when embedded in the Title band -

serialization - Convert Any type in scala to Array[Byte] and back -

SonarQube Plugin for Jenkins does not find SonarQube Scanner executable -