You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is happening because both androidx.test:runner:1.2.0, androidx.test:monitor:1.2.0 have the same package set in their AndroidManifest.xml inside the AAR
Description
Package name warnings when using the latest Android Gradle Plugin and espresso core
Steps to Reproduce
Use the latest canary of AGP 4.1
Add
androidTestImplementation
dependency toandroidx.test.espresso:espresso-core:3.1.0
Expected Results
No warnings
Actual Results
AndroidX Test and Android OS Versions
androidx.test.espresso:espresso-core:3.1.0
and N/ALink to a public git repo demonstrating the problem:
https://android.googlesource.com/platform/frameworks/support/+/androidx-master-dev
it can be reproduced in androidx project
This is happening because both
androidx.test:runner:1.2.0
,androidx.test:monitor:1.2.0
have the same package set in theirAndroidManifest.xml
inside the AARYou can reach out to studio what that is a bad idea, but mostly collision for things like R.java
The text was updated successfully, but these errors were encountered: