I just installed Android Studio 0.3. After creating a new Project (I've not changed the code) I get error on R.layout.activity_main
and every line that uses R
class saying
Cannot resolve symbol R
. Also on the bottom of the screen in warning/console segment I get this error:
Gradle: Execution failed for task ":First_Test:mergeDebugResources". /home/alireza/AndroidStudioProjects/First_TestProject/First_Test/src/main/res/drawable-xhdpi/ic_launcher.png: Error: Cannot run program "/home/alireza/IDEs/android-studio/sdk/build-tools/android-4.4/aapt": error=2, No such file or directory
It's my first time I use Android studio and I'm new to Linux (mint Olivia) so I would be very greatful if you help me this issue
This is funny but solution was restarting computer! After reboot android studio worked perfectly and I was able to run "Hello world!" app on my device.