React-native-splash-screen: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'

Created on 3 Oct 2018  路  7Comments  路  Source: crazycodeboy/react-native-splash-screen

Hi @crazycodeboy I see this warning in new app:

> Configure project :react-native-splash-screen 
WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.
It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
WARNING: Configuration 'testCompile' is obsolete and has been replaced with 'testImplementation' and 'testApi'.
It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
WARNING: Configuration 'testApi' is obsolete and has been replaced with 'testImplementation'.
It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
WARNING: The specified Android SDK Build Tools version (26.0.3) is ignored, as it is below the minimum supported version (27.0.3) for Android Gradle Plugin 3.1.4.
Android SDK Build Tools 27.0.3 will be used.
To suppress this warning, remove "buildToolsVersion '26.0.3'" from your build.gradle file, as each version of the Android Gradle Plugin now has a default version of the build tools.

I think it's related to gradle version and we need some update to fix this.

Most helpful comment

+1

All 7 comments

+1

How to Avoid this issue

any update ?

hi i can remove this error....
Sorry for poor english...!
change all bundle.gradle files
goto your project and then node_modules then goto where module you installed ex.react-native-splash-screen.Find and open build.gradle ----->> buildToolsVersion : "27.0.3"
and next find dependencies change where write compile and then change compile to "implementation".
if you are face any problem then you paste your comment.

There is no compile, all are implementation, what is this error?

i have warning in the react-native-fetch-blob library ......
Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'. It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html WARNING: Configuration 'testCompile' is obsolete and has been replaced with 'testImplementation' and 'testApi'. It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html WARNING: Configuration 'testApi' is obsolete and has been replaced with 'testImplementation'. It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html WARNING: The specified Android SDK Build Tools version (26.0.3) is ignored, as it is below the minimum supported version (27.0.3) for Android Gradle Plugin 3.1.4. Android SDK Build Tools 27.0.3 will be used. To suppress this warning, remove "buildToolsVersion '26.0.3'" from your build.gradle file, as each version of the Android Gradle Plugin now has a default version of the build tools.

Was this page helpful?
0 / 5 - 0 ratings