Could not resolve androidx.cardview:cardview:1.0.0.
See original GitHub issueDeprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.0.1/userguide/command_line_interface.html#sec:command_line_warnings
[Fatal Error] cardview-1.0.0.pom:2:1: O conte�do n�o � permitido no pr�logo.
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':app:preDebugBuild'.
> Could not resolve all task dependencies for configuration ':app:debugRuntimeClasspath'.
> Could not resolve androidx.cardview:cardview:1.0.0.
Required by:
project :app
project :app > project :react-native-screens > com.google.android.material:material:1.1.0
> Could not resolve androidx.cardview:cardview:1.0.0.
> Could not parse POM https://dl.google.com/dl/android/maven2/androidx/cardview/cardview/1.0.0/cardview-1.0.0.pom
> O conte�do n�o � permitido no pr�logo.
* 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 15s
error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/getting-started.html#android-development-environment. Run CLI with --verbose flag for more details.
Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081
[Fatal Error] cardview-1.0.0.pom:2:1: O conte�do n�o � permitido no pr�logo.
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':app:preDebugBuild'.
> Could not resolve all task dependencies for configuration ':app:debugRuntimeClasspath'.
> Could not resolve androidx.cardview:cardview:1.0.0.
Required by:
project :app
project :app > project :react-native-screens > com.google.android.material:material:1.1.0
> Could not resolve androidx.cardview:cardview:1.0.0.
> Could not parse POM https://dl.google.com/dl/android/maven2/androidx/cardview/cardview/1.0.0/cardview-1.0.0.pom
> O conte�do n�o � permitido no pr�logo.
* 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 15s
at makeError (C:\Users\Alisson Blaas\Desktop\bicofacil-app\bicofacil-app\node_modules\execa\index.js:174:9)
at C:\Users\Alisson Blaas\Desktop\bicofacil-app\bicofacil-app\node_modules\execa\index.js:278:16
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async runOnAllDevices (C:\Users\Alisson Blaas\Desktop\bicofacil-app\bicofacil-app\node_modules\@react-native-community\cli-platform-android\build\commands\runAndroid\runOnAllDevices.js:94:5)
at async Command.handleAction (C:\Users\Alisson Blaas\Desktop\bicofacil-app\bicofacil-app\node_modules\@react-native-community\cli\build\index.js:186:9)
I try to do different thing and nothing works. Anyone can help me with that?
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
How to fix : ERROR: Failed to resolve: 'androidx.cardview ...
so i try to add cardview library to my project but i get this error ERROR: Failed to resolve: cardview. i check answers...
Read more >Navigation | Android Developers
From Navigation 2.5.3 : NavHost will no longer cause a NoSuchElementException when there is no destination available for the Crossfade to ...
Read more >Could not resolve dependency - Google Groups
I have an issue with dependency androidx.camera:camera-core:[1.0.0-rc05]. This dependency is apparently needed by camera-view 1.0.0 ...
Read more >Different Ways to fix Cannot resolve symbol ... - GeeksforGeeks
gradle(Module:app) file and in the dependencies section the appcompat one, you should see something like compile 'com.android.support:appcompat- ...
Read more >Could not resolve androidx.test.services:storage ... - YouTube
Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not resolve androidx.test.services:storage:[1.4.0].
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks bro, sorry for delay! I fix that one.
i just clean build gradlew and react native cache and this is work fine
Error:
ERROR: Failed to resolve: androidx.cardview:cardview:1.1.0 Show in Project Structure dialog Affected Modules: app