Nega developer
Nega developer

Reputation: 269

Error in manifest when i try to install my android app

I have the next error when I am trying to install my android application to a virtual device (I couldn't test in a real phone).

INSTALL_PARSE_FAILED_MANIFEST_MALFORMED

Here is my manifest:

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="developer.negabur.chistes" >

    <application
        android:allowBackup="true"
        android:icon="@mipmap/ic_launcher"
        android:label="@string/app_name"
        android:theme="@style/AppTheme" >
        <activity
            android:name="Business.Categorias"
            android:label="@string/app_name" >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
    </application>

</manifest>

Upvotes: 0

Views: 41

Answers (1)

Andrew Brooke
Andrew Brooke

Reputation: 12173

Your activity name needs to be prefixed with a period, like the following

android:name=".BusinessCategorias"

Upvotes: 1

Related Questions