-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build issues with new AndroidX namespace and D8 #1103
Comments
You need to specify |
Hi Jake thank you for the response. Both are set to true, but I am still seeing this problem when building.
|
When you run the |
This this the output for the debug build variant:
|
Sounds like this is a gradle/jetifier issue. Thanks for pointing me in the right direction. |
In case anyone sees this in the future the problem was with my Android Gradle plugin version. I was using
|
hahaha and it will break 150 different other things........fucking useless shit android |
@gurpreetsudan Please read our code of conduct, this is not an appropriate comment in this community. |
When migrating to AndroidX and D8 I was not able to build because of the following error:
I was able to get the build to work again by excluding the support library group from my build.gradle file:
debugImplementation 'com.squareup.leakcanary:leakcanary-android:1.6.1' exclude group: 'com.android.support'
It looks like there is a support library dependency that is causing this problem.
leakcanary/leakcanary-android/build.gradle
Lines 5 to 11 in 700f64e
What would be the best approach?
The text was updated successfully, but these errors were encountered: