0

I am developing a application that implement the samsung myknox basic functionality. But I'm getting the below error while i'm trying to run the code.

Installation error: INSTALL_PARSE_FAILED_MANIFEST_MALFORMED

I tried these links :

Installation error: INSTALL_PARSE_FAILED_MANIFEST_MALFORMED?

How to fix INSTALL_PARSE_FAILED_MANIFEST_MALFORMED in my android application

Android Studio : INSTALL_PARSE_FAILED_MANIFEST_MALFORMED

Screen shot of error which i'm getting at time of run the application.

AndroidManifest.xml

<?xml version="1.0" encoding="utf-8"?>

<uses-permission android:name="android.permission.sec.MDM_HW_CONTROL" />
<uses-permission android:name="android.permission.sec.MDM_APP_MGMT" />

<application
    android:icon="@mipmap/ic_launcher"
    android:label="@string/app_name">
    <activity
        android:name="com.signity.myknox.MainActivity"
        android:label="@string/app_name">
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />
            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>

    <receiver
        android:name="com.signity.myknox.SampleAdmin"
        android:permission="android.permission.BIND_DEVICE_ADMIN">
        <meta-data android:name="android.app.device_admin" />
        <intent-filter>
            <action android:name="android.app.action.DEVICE_ADMIN_ENABLED" />
        </intent-filter>
    </receiver>
    <receiver
        android:name="com.signity.myknox.SampleLicenseReceiver"
        android:enabled="true">
        <intent-filter>
            <action android:name="edm.intent.action.license.status" />
        </intent-filter>
    </receiver>
</application>

Community
  • 1
  • 1
Rajesh
  • 1
  • 1

1 Answers1

0
<meta-data android:name="android.app.device_admin" />

meta-data elements must have also a value or resource attribute, not just name.

laalto
  • 150,114
  • 66
  • 286
  • 303