android manifest

Venom84

Baseband Member
Messages
31
Location
Eire
I'm getting an unable to instantiate activity componentinfo logcat error. I think it might have something to do with my manifest

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

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

    <application
        android:allowBackup="true"
        android:icon="@drawable/ic_launcher"
        android:label="@string/app_name"
        android:theme="@style/AppTheme" >
        <activity android:name=".CartActivity"/>
        <activity android:name=".ShopActivity"/>
        <activity
            android:name=".MainActivity"
            android:label="@string/shop" >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
    </application>
    
</manifest>
but I'm not sure. Would it make a difference with intent filters? I can get from the MainActivity to the ShopActivity but not from there ot the CartActivity.
 
Back
Top Bottom