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

WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'. #200

Open
Jarzka opened this issue Apr 30, 2020 · 1 comment

Comments

@Jarzka
Copy link

Jarzka commented Apr 30, 2020

I get the following warning when upgrading from React Native 0.59.10 to 0.62.2:

WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.
It will be removed soon. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
...
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.

I useimplementation project(':react-native-photo-view') in my Gradle file and still get this error. Do you have an idea what might cause this warning?

@hariyanto17
Copy link

open android/app/src/main/AndroidManifest.xml

add xmlns:tools="http://schemas.android.com/tools" in to manifest
and add tools:replace="android:allowBackup" to application

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