Status Update
Comments
da...@google.com <da...@google.com> #2
<provider
tools:replace="android:authorities"
android:name="com.google.android.gms.measurement.AppMeasurementContentProvider"
android:authorities="${applicationId}.google_measurement_service"
android:exported="false" />
You must have tools namespace defined in the xml.
[Deleted User] <[Deleted User]> #3
ju...@gmail.com <ju...@gmail.com> #4
[Deleted User] <[Deleted User]> #5
android {
defaultConfig.applicationId = "
}
to my gradle file and it fixed that issue for me
[Deleted User] <[Deleted User]> #6
However when applicationId isn't present in the project gradle the play-services-measurement AAR package in its AndroidManifest.xml gets defaulted in. This creates a silent issue for the app developer as their is no warnings or errors when the app builds. Only after another app that was build the same way is also installed on the device is the issue known as the OP noted with the INSTALL_FAILED_CONFLICTING_PROVIDER error.
The fix is adding android.defaultConfig.applicationId to your app's gradle file as others have noted however, the play-services-measurement AAR or the build tools should be changed to throw an error if this is missing.
uc...@google.com <uc...@google.com>
da...@google.com <da...@google.com> #7
je...@google.com <je...@google.com>
pa...@gmail.com <pa...@gmail.com> #8
hu...@google.com <hu...@google.com> #9
[Deleted User] <[Deleted User]> #10
I'm wondering if the play store checks for authorities uniqueness to ensure this doesn't happen on a wide scale.
hu...@google.com <hu...@google.com> #11
[Deleted User] <[Deleted User]> #12
hu...@google.com <hu...@google.com> #13
Two apps I use are in conflict as described above in original post.
RadPad and Glassdoor.
Uninstall one, the other will install.
Any workaround for us users?
[Deleted User] <[Deleted User]> #14
hu...@google.com <hu...@google.com> #15
[Deleted User] <[Deleted User]> #16
I'm having some users complaining about Play Store Error 505.
I cannot apply solution #4 because my project is a library project, so I'm getting: "Error: Library projects cannot set applicationId."
My app is currently using Play Services 8.3.0. Does anyone know what else I can try? Thanks in advance!
hu...@google.com <hu...@google.com> #17
Do you declare authority provider in your lib?
[Deleted User] <[Deleted User]> #18
Good luck & thank you.
[Deleted User] <[Deleted User]> #19
Many thanks,
ka...@gmail.com <ka...@gmail.com> #20
There is a special branch of the Pushwoosh plugin, to be used with Intel XDK (see Paul F answer)
ma...@cyberagent.co.jp <ma...@cyberagent.co.jp> #21
hu...@google.com <hu...@google.com> #22
ch...@gmail.com <ch...@gmail.com> #23
Among others, the following apps are known to exhibit this issue:
* LG's NLP helper
* HTC Push Services
* Dashlane
* Crunchyroll
* Groundlink
This should be fixed at the framework level. Some projects have patched their Gradle configs to work around this problem, but others (notably Dashlane) stubbornly insist that it is a Google problem and not their responsibility to fix, despite the availability of simple workarounds.
hu...@google.com <hu...@google.com> #24
ma...@gmail.com <ma...@gmail.com> #25
da...@google.com <da...@google.com> #26
sa...@dfarooq.com <sa...@dfarooq.com> #27
da...@google.com <da...@google.com> #28
da...@google.com <da...@google.com> #29
Hung: I meant to say, I reopned this bug, but if it ends up being a different cause, or just because this bug already has so much history, feel free to reclose it and create a new one.
sa...@dfarooq.com <sa...@dfarooq.com> #30
I tried 4.2.0-beta05 and 7.0.0-alpha8 in Arctic Fox Canary 08 and the behavior is the same. Remove kapt, test passes. Added it back, get the NoClassDefFound error.
hu...@google.com <hu...@google.com> #31
Thank you for the sample project! This issue was mentioned earlier at
This is caused by
Basically, when using kapt
, users will need to add:
kaptTest some-random-dependency
forkapt
to run annotation processing on unit test source code, which in this case will include the missing data binding classes.kaptAndroidTest some-random-dependency
forkapt
to run annotation processing on androidTest source code.
Please follow the Kapt bug above for progress on this issue.
@David: I'm closing this issue as this should ideally be fixed by the Kotlin Gradle plugin.
ar...@gmail.com <ar...@gmail.com> #32
I can not sing google account
Description
Sample repo:
To reproduce:
- Run `ConnectedMainActivityTest` = OK
- Run `MainActivityTest` = OK
- Run `ConnectedLibActivityTest` = OK
- Run `LibActivityTest` = Error
------
Build: $VERSION, AI-183.5429.30.34.5310756, 201902141945,
AI-183.5429.30.34.5310756, JRE 1.8.0_152-release-1248-b22x64 JetBrains s.r.o, OS Mac OS X(x86_64) v10.14, screens 1680x1050, 1920x1080; Retina
Android Gradle Plugin: 3.4.0-beta05
Gradle: 5.1.1
NDK: from local.properties: (not specified); latest from SDK: (not found);
LLDB: pinned revision 3.1 not found; latest from SDK: (package not found);
CMake: from local.properties: (not specified); latest from SDK: (not found); from PATH: (not found);
IMPORTANT: Please read