Android Installation error: INSTALL_PARSE_FAILED_MANIFEST_MALFORMED -
i making application, when run application getting following error during running.
[2015-06-19 17:11:06 - ecommerce] installation error: [2015-06-19 17:11:06 - ecommerce] please check logcat output more details. [2015-06-19 17:11:06 - ecommerce] launch canceled!
i don't know doing wrong, saw many solutions not match problem. here manifest file
<?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.ecommerce.app" android:versioncode="1" android:versionname="1.0" > <uses-sdk android:minsdkversion="8" /> <uses-permission android:name="android.permission.internet" /> <uses-permission android:name="android.permission.access_network_state" /> <uses-permission android:name="android.permission.write_external_storage" /> <uses-permission android:name="android.permission.access_fine_location" /> <uses-permission android:name="android.permission.access_coarse_location" /> <uses-permission android:name="android.permission.access_wifi_state" /> <uses-permission android:name="com.google.android.providers.gsf.permission.read_gservices" /> <uses-permission android:name="android.permission.call_phone" /> <uses-permission android:name="com.google.android.c2dm.permission.receive" /> <uses-permission android:name="android.permission.wake_lock" /> <uses-permission android:name="android.permission.read_phone_state" /> <uses-permission android:name="com.ecommerce.app.permission.c2d_message" android:protectionlevel="signature" /> <uses-feature android:glesversion="0x00020000" android:required="true" /> <uses-permission android:name="com.ecommerce.app.permission.maps_receive" android:protectionlevel="signature" /> <application android:allowbackup="true" android:icon="@drawable/ic_launcher" android:label="@string/app_name" android:theme="@style/apptheme" > <receiver android:name="com.ecommerce.app.utils.gcmbroadcastreceiver" android:permission="com.google.android.c2dm.permission.send" > <intent-filter> <action android:name="com.google.android.c2dm.intent.receive" /> <category android:name="com.ecommerce.app" /> </intent-filter> </receiver> <service android:name="com.ecommerce.app.utils.gcmintentservice" /> <activity android:name="com.ecommerce.app.splashscreenactivity" 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="com.ecommerce.app.mainactivity" /> <activity android:name="com.ecommerce.app.shoppingcartactivity" /> <activity android:name="com.ecommerce.app.authenticateactivity" /> <activity android:name="com.ecommerce.app.branchlocationactivity" /> <activity android:name="com.ecommerce.app.profileactivity" /> <activity android:name="com.ecommerce.app.voucheractivity" /> <activity android:name="com.ecommerce.app.eshopfragmentactivity" /> <activity android:name="com.ecommerce.app.eshopdetailactivity" /> <activity android:name="com.ecommerce.app.paypalactivity" /> <activity android:name="com.ecommerce.app.feedbackactivity" /> <activity android:name="com.ecommerce.app.loyaltyactivity" /> <activity android:name="com.ecommerce.app.voucherdisplayactivity" /> <activity android:name="com.google.android.gms.ads.adactivity" android:configchanges="keyboard|keyboardhidden|orientation|screenlayout|uimode|screensize|smallestscreensize" /> <receiver android:name="com.ecommerce.app.utils.gcmbroadcastreceiver" android:process=":remote" > </receiver> <meta-data android:name="com.google.android.gms.version" /> <meta-data android:name="com.google.android.maps.v2.api_key" android:value="@string/map_key" /> </application> </manifest>
try specifying google play services version in meta-data
<meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version" />
from google maps doc-https://developers.google.com/maps/documentation/android/start
edit application's androidmanifest.xml file, , add following declaration within element. embeds version of google play services app compiled with.
Comments
Post a Comment