logo
Login

Sponsored Links

Sponsored

ActivityNotFoundException: Unable to find explicit activity class

1 reply
mvohra's picture
Online
Administrator
Joined: 12/19/2009
Points: 5570

Issue

01-29 01:12:15.861: E/AndroidRuntime(790): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.livrona.apps.radio/com.livrona.apps.radio.activity.HomeScreen}: android.content.ActivityNotFoundException: Unable to find explicit activity class {com.livrona.apps.radio/com.livrona.andriod.commons.view.WebViewScreen}; have you declared this activity in your AndroidManifest.xml?

Answer

This is a common issue, you have to define the activity in the AndroidManifest.xml file before it can be invoked from code.

Example :

        <activity android:name=".activity.WebViewScreen"
            android:label="@string/activity_web_view_screen">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
        </activity>

 

Subscribe to Feed

Subscribe to DeveloperFeedDid you like this article? Did it Help you Solve your Problem? You can get the all the latest articles published at DeveloperFeed in your email inbox by entering your email address below. Your address will only be used for mailing you the articles, and each one will include a link so you can unsubscribe at any time.

Enter your email address:

Sponsored

Subscribe & Follow

RSS Feed Follow me on Twitter! Follow me on Facebook! Follow me on Youtube!
Feed via Email:

Facebook

Sponsored Apps

Job Change Alert for Linkedin


Contact2CRM for Salesforce


Advertise on DeveloperFeed

About

Manpreet is an Architect & Software developer currently focusing on developing mobile apps on the iOS (iPhone/iPad) Platform. He’s the founder of a small iPhone development studio
called Livrona.

Subscribe to Developer Feed iPhone Blog

Tags

Who's online

There are currently 1 user and 8 guests online.

Online users