Default Activity not found (Android Studio 0.6.1) -



Default Activity not found (Android Studio 0.6.1) -

i installed android studio 0.6.1 , imported project eclipse. when tried run project, got error: default activity not found.

i looked @ these 2 stackoverflow questions:

error: default activity not found

default activity not found in android studio

as suggested, tried invalidate caches + restart , make sure androidmanifest correct. both didn't work.

i tried solution, no avail:

try right click on project , take open module settings. go sources tab in module, find src folder, right click on , mark sources (blue color).

when opened module settings, there no sources tab.

how can prepare problem? there there equivalent of sources tab in android studio 0.6.1?

edit:

here's launcher activity

<activity android:name="com.lschlessinger.appname.activities.splashscreenactivity" android:nohistory="true" > <intent-filter> <action android:name="android.intent.action.main" /> <category android:name="android.intent.category.launcher" /> </intent-filter> </activity>

i tried cleaning project, rebuilding project, , restarting android studio, of which, did not resolve problem.

as temporary solution, i'm manually selecting launcher activity in run configuration.

i encountered same question. resolved question.

my manifest file this:

<action android:name="android.intent.action.main" /> <category android:name="android.intent.category.default" />

and should be:

<action android:name="android.intent.action.main" /> <category android:name="android.intent.category.launcher" />

in worst, if cannot resolve question, can create new activity , select launcher activity see whether it's resolved.

it seems don't have default activity. create new activity file -> new ->activity , select launcher activity.

android android-activity intellij-idea android-studio

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -