Skip to content
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

Having "android.enableJetifier=false", the IDE says this library won't allow it #17

Open
AndroidDeveloperLB opened this issue Oct 28, 2021 · 2 comments

Comments

@AndroidDeveloperLB
Copy link

It says this:

Your project has set `android.useAndroidX=true`, but configuration `prodDebugRuntimeClasspath` still contains legacy support libraries, which may cause runtime issues.
This behavior will not be allowed in Android Gradle plugin 8.0.
Please use only AndroidX dependencies or set `android.enableJetifier=true` in the `gradle.properties` file to migrate your project to AndroidX (see https://developer.android.com/jetpack/androidx/migrate for more info).
The following legacy support libraries are detected:
prodDebugRuntimeClasspath -> me.drakeet.support:toastcompat:1.1.0 -> com.android.support:support-annotations:27.1.1

Please update the library so that we won't need this flag anymore.

@henningBunk
Copy link

Since this repo seems to be abandoned I was looking for an alternative.

There a currently two forks of this repo which moved to AndroidX:

I think one should be able to use the forks via JitPack without big changes.

@AndroidDeveloperLB
Copy link
Author

AndroidDeveloperLB commented Mar 8, 2022

@henningBunk I've decided to make my own repository, which includes various common things that I use (either for workarounds, or just common), including this one:
https://github.com/AndroidDeveloperLB/CommonUtils

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants