When I try to deploy my project to the emulator the compile fails with a bunch of Cannot find symbol errors. I have to rebuild the project then deploy everytime I make a change. This just started in 0.1.6 for me. Anyone else seeing this?
As a temporary workaround, try turning off Preferences > Compiler > Use External Build.
(as suggested in this issue: https://code.google.com/p/android/issues/detail?id=56884)
Clicking "Sync project with Gradle files" resolved this for me.
I used the following answer and it worked great:
https://stackoverflow.com/a/19223269/1531683
You can do "File" -> "Invalidate Caches...", and select "Invalidate and Restart" option to fix this.
Just Click Build -> Clean Project. It will solve the problem of missing "R.java".
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With