Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

android studio cannot find "Activity" symbol

Tags:

I have tried to create and run hello world new app using Android studio. however i cannot compile as it says it's cannot resolve Activity symbol.

and also other basic symbols in the black template.

I suggest adding/configuration the JDK.

I guess I'm doing this wrong, because I have tried to add the JDK and the problem re-occurred.

enter image description here

how to solve this?

UPDATE1

couldn't find external build

enter image description here

enter image description here

Android studio 0.2.6

like image 918
Elad Benda Avatar asked Sep 05 '13 13:09

Elad Benda


People also ask

How do I determine the default activity using Android Studio?

The Android system finds the default activity to launch by looking at your AndroidManifest. xml file. When you add a new activity, then that activity will be added to the manifest file as well, but without the <intent-filter> tag.


1 Answers

Android Studio

File -> Invalidate Caches / Restart

It Worked for me.

like image 64
Manoj Behera Avatar answered Sep 30 '22 17:09

Manoj Behera