D
D
Dmitry Miza2016-02-12 17:58:22
linux
Dmitry Miza, 2016-02-12 17:58:22

Why doesn't Android Studio see the R class?

The studio does not see the R class.
906d69e755b44288b1ef829ba51d95f3.png
I am sitting under kali linux.
Here is the error:

Exception in thread "png-cruncher_18" java.lang.RuntimeException: Timed out while waiting for slave aapt process, make sure the aapt execute at /home/Android/Sdk/build-tools/23.0.2/aapt can run successfully (some anti-virus may block it) or try setting environment variable SLAVE_AAPT_TIMEOUT to a value bigger than 5 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)

aapt file in place.
Grandel is constantly loading something and apparently doesn't want to stop...

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexey Medvedev, 2016-02-12
@RockBearLTD

The following helped me:
Tab Build - Clean Project

M
maaGames, 2016-02-12
@maaGames

if you click on the light bulb, will it prompt you to insert the missing import?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question