You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api' #311
> 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.
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.
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.
project :react-native-toast
WARNING:: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.
It will be removed in version 7.0 of the Android Gradle plugin.
For more information, see http://d.android.com/r/tools/update-dependency-configurations.html.
WARNING:: The specified Android SDK Build Tools version (23.0.1) is ignored, as it is below the minimum supported version (30.0.2) for Android Gradle Plugin 4.2.2.
Android SDK Build Tools 30.0.2 will be used.
To suppress this warning, remove "buildToolsVersion '23.0.1'" from your build.gradle file, as each version of the Android Gradle Plugin now has a default version of the build tools.
WARNING:: The specified Android SDK Build Tools version (23.0.1) is ignored, as it is below the minimum supported version (30.0.2) for Android Gradle Plugin 4.2.2.
Android SDK Build Tools 30.0.2 will be used.
To suppress this warning, remove "buildToolsVersion '23.0.1'" from your build.gradle file, as each version of the Android Gradle Plugin now has a default version of the build tools.
File C:\Users\Parth Shiroya.android\repositories.cfg could not be loaded.
Checking the license for package Android SDK Platform 23 in C:\Users\ParthShiroya\Android\Sdk\licenses
License for package Android SDK Platform 23 accepted.
Preparing "Install Android SDK Platform 23 (revision: 3)".
Warning: Failed to read or create install properties file.
yarn run:android
yarn run v1.22.17
warning ../../package.json: No license field
$ react-native run-android
info Running jetifier to migrate libraries to AndroidX. You can disable it using "--no-jetifier" flag.
Jetifier found 1673 file(s) to forward-jetify. Using 4 workers...
info Starting JS server...
daemon not running; starting now at tcp:5037
daemon started successfully
info Launching emulator...
info Successfully launched emulator.
info Installing the app...
Starting a Gradle Daemon, 1 busy Daemon could not be reused, use --status for details
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup. Run CLI with --verbose flag for more details.
Error: Command failed: ./gradlew app:installDebug -PreactNativeDevServerPort=8081
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
Affected Modules: PDFView, app, react-native-pdf-view
please help how to get rid of this ..... this throw error pdf view is affected and throws error not able to build how to fix this
Could not determine the dependencies of task ':PDFView:compileDebugRenderscript'.
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Activity
Shhzdmrz commentedon Oct 9, 2018
+1
hasanraz commentedon Oct 21, 2018
How to Avoid this issue
rajnishcoder commentedon Oct 22, 2018
any update ?
ozalexo commentedon Oct 26, 2018
Please find my workaround here: https://github.com/ozalexo/ChronoMint-RN/blob/209e5e9a23ef6e6a237df6cd4c42658d8b3d6f71/docs/PATCHPACKAGE.md
amnan181 commentedon Jan 2, 2019
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.
CONSJOBS commentedon Jan 22, 2019
There is no compile, all are implementation, what is this error?
AftabUfaq commentedon Jan 16, 2020
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.
Parthshiroya06 commentedon Oct 21, 2021
project :react-native-toast
WARNING:: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.
It will be removed in version 7.0 of the Android Gradle plugin.
For more information, see http://d.android.com/r/tools/update-dependency-configurations.html.
WARNING:: The specified Android SDK Build Tools version (23.0.1) is ignored, as it is below the minimum supported version (30.0.2) for Android Gradle Plugin 4.2.2.
Android SDK Build Tools 30.0.2 will be used.
To suppress this warning, remove "buildToolsVersion '23.0.1'" from your build.gradle file, as each version of the Android Gradle Plugin now has a default version of the build tools.
WARNING:: The specified Android SDK Build Tools version (23.0.1) is ignored, as it is below the minimum supported version (30.0.2) for Android Gradle Plugin 4.2.2.
Android SDK Build Tools 30.0.2 will be used.
To suppress this warning, remove "buildToolsVersion '23.0.1'" from your build.gradle file, as each version of the Android Gradle Plugin now has a default version of the build tools.
File C:\Users\Parth Shiroya.android\repositories.cfg could not be loaded.
Checking the license for package Android SDK Platform 23 in C:\Users\ParthShiroya\Android\Sdk\licenses
License for package Android SDK Platform 23 accepted.
Preparing "Install Android SDK Platform 23 (revision: 3)".
Warning: Failed to read or create install properties file.
1-pro commentedon Jan 2, 2022
I have been battling with same error
yarn run:android
yarn run v1.22.17
warning ../../package.json: No license field
$ react-native run-android
info Running jetifier to migrate libraries to AndroidX. You can disable it using "--no-jetifier" flag.
Jetifier found 1673 file(s) to forward-jetify. Using 4 workers...
info Starting JS server...
info Launching emulator...
info Successfully launched emulator.
info Installing the app...
Starting a Gradle Daemon, 1 busy Daemon could not be reused, use --status for details
FAILURE: Build failed with an exception.
Could not determine the dependencies of task ':app:preDebugBuild'.
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org
BUILD FAILED in 9m 24s
error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup. Run CLI with --verbose flag for more details.
Error: Command failed: ./gradlew app:installDebug -PreactNativeDevServerPort=8081
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Please whats the solution?
aaryavrate commentedon Mar 1, 2022
Why some "Genius" does this type of name change? sucks :(
sharjeel125 commentedon May 15, 2022
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
Affected Modules: PDFView, app, react-native-pdf-view
sharjeel125 commentedon May 15, 2022
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
Affected Modules: PDFView, app, react-native-pdf-view
please help how to get rid of this ..... this throw error pdf view is affected and throws error not able to build how to fix this
Could not determine the dependencies of task ':PDFView:compileDebugRenderscript'.
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.