• Register
Welcome to Kodlogs, programming questions and answer website.
0 votes
10 views

Problem :

I am getting bellow error while trying to run my android code.
java.lang.runtimeexception: unable to start activity componentinfo
by (6.9k points)  

1 Answer

0 votes

Solution :

To fix this issue your Manifest Must Change like bellow Activity name must Specified like ".YourActivityname"

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.th.mybook"
android:versionCode="1"
android:versionName="1.0" >

<uses-sdk
     android:minSdkVersion="8" android:targetSdkVersion="8" />

<application
    android:icon="@drawable/ic_launcher"
    android:label="@string/app_name" >
    <activity
        android:name=".MainTabPanel"
        android:label="@string/app_name" >
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />
            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>
    <activity
        android:name=".MyBookActivity"  >            
    </activity>
</application>

Further Readings:

by (20.3k points)  
...