My tester said that he couldn\'t install the app from Play Store to his Nexus 5 (Lollipop). He said he got this error
Unknown error code during application i
Change your package name to some other package name, instead of deleting that permissions.
package="com.example.gcm"
to
package="com.appname" //use any name here like your app name or company name
Android 5.0. You have Multi-User, so You must Uninstall for all Users Following steps:
After Uninstalling App. You may found that Your app name in Apps List of Downloaded Tab.
Go to Settings->Apps. At bottom of list you found YourApp with "NOT INSTALLED" Tag -> Open -> Click on Option Menu and Select "Uninstall for all Users".
After that process you successfully install new app and running well.
As described in INSTALL_FAILED_DUPLICATE_PERMISSION... C2D_MESSAGE , you should use ${applicationId}
instead a static application id in the AndroidManifest.
Example:
<uses-permission android:name="${applicationId}.permission.C2D_MESSAGE"/>
It will fix your problem and if you starting using Flavor everything will work perfectly too. ;)