Hi,

I'm running Xam.Android 4.7.4 on my Mac and trying to deploy an app to my Nexus 7.

Everything builds, but the deploy fails with

Deployment failed because of an internal error: Unexpected install output: pkg: /data/local/tmp/Origin.Origin-Signed.apk
Failure [INSTALL_PARSE_FAILED_MANIFEST_MALFORMED]

My manifest file looks like this

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"; android:versionCode="1" android:versionName="1.0" package="Origin">
        <uses-sdk android:minSdkVersion="10" />
        <application android:label="OriginApp" android:icon="@drawable/icon_32">
        </application>
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
        <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" 
/>
        <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" 
/>
        <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
        <uses-permission android:name="android.permission.BROADCAST_WAP_PUSH" />
        <uses-permission android:name="android.permission.INTERNET" />
        <uses-permission android:name="android.permission.RECEIVE_WAP_PUSH" />
        <uses-permission android:name="android.permission.SET_ORIENTATION" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
</manifest>

(nothing really out of the ordinary)

The app uses PushSharp and the push source file has this in it

[BroadcastReceiver(Permission=GCMConstants.PERMISSION_GCM_INTENTS)]
[IntentFilter(new string[] { GCMConstants.INTENT_FROM_GCM_MESSAGE }, Categories = new string[] { "@PACKAGE_NAME@" })] [IntentFilter(new string[] { GCMConstants.INTENT_FROM_GCM_REGISTRATION_CALLBACK }, Categories = new string[] { "@PACKAGE_NAME@" })] [IntentFilter(new string[] { GCMConstants.INTENT_FROM_GCM_LIBRARY_RETRY }, Categories = new string[] { "@PACKAGE_NAME@" })]

Do I need to define @PACKAGE_NAME@ anywhere special or is it picked up from the manifest and any ideas why I can't install?

Paul
--
"Space," it says, "is big. Really big. You just won't believe how vastly, hugely, mindbogglingly big it is. I mean, you may think it's a long way down the road to the chemist's, but that's just peanuts to space, listen..."
Hitch Hikers Guide to the Galaxy, a truly remarkable book!

_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to