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
The given artifact contains a string literal with a package reference 'android.support.v4.content' that cannot be safely rewritten. Libraries using reflection such as annotation processors need to be updated manually to add support for androidx. #1415
Comments
See #1395 (comment) for a workaround of this jetifier problem. No action to take on our side. |
I get the same error , I migrated my existing project to androidx thats when i got this error, tried upgrading version to 10.2.0 and added compileOptions in build.gradle. |
Is there any solution yet. I have stuck after migrating my project to androidx. |
Change to these parameters in build.gradle, it worked for me using version
|
Hi testImplementation 'junit:junit:4.12' |
I also got the same issue. Please share the best solution for it. The given artifact contains a string literal with a package reference 'android.support.v4.widget' that cannot be safely rewritten. Libraries using reflection such as annotation processors need to be updated manually to add support for androidx. Used libraries
annotationProcessor 'com.jakewharton:butterknife-compiler:10.0.0' |
The given artifact contains a string literal with a package reference 'android.support.v4.content' that cannot be safely rewritten. Libraries using reflection such as annotation processors need to be updated manually to add support for androidx. |
I had exactly the same problem I have made the following changes namely
to |
changing the version worked to 10.2.1 worked for me. Thankyou. |
I'm Trying to implement butterknife:9.0.0-rc2 with Dagger 2.19 and Jetifier = enable, but i get the next error:
How can solve this issue?
thanks for your kind help.
The text was updated successfully, but these errors were encountered: