Skip to content

Need to add a Gradle Android.defaultConfig #454

@NathanaelA

Description

@NathanaelA

If you use Google Play Services you can create a issue where your app will not be installable because of the app conflicting with any other app the GPS was installed that might not have a defaultConfig.applicationId. Android Studio by defaults creates this to eliminate the issue, but we also need to as the issue will prevent ANY two apps by ALL developers that don't have this set to be installable on the same device.

The solution is in the App_Resources/Android/app.gradle to add the (--> line):
defaultConfig {
generatedDensities = []
--> applicationId = "my.package.id"
}
Or we can do this in the main build.gradle file and somehow pull the value from the main package.json file..

Links:
https://code.google.com/p/analytics-issues/issues/detail?id=784
https://code.google.com/p/android/issues/detail?id=193567
http://stackoverflow.com/questions/16267785/install-shows-error-in-console-install-failed-conflicting-provider

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions