question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Could not resolve androidx.cardview:cardview:1.0.0.

See original GitHub issue
Deprecated 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:closed
  • Created 3 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
AlissonBlaascommented, Apr 7, 2020

Thanks bro, sorry for delay! I fix that one.

i just clean build gradlew and react native cache and this is work fine

0reactions
Bageerapmcommented, May 12, 2020

Error:

ERROR: Failed to resolve: androidx.cardview:cardview:1.1.0 Show in Project Structure dialog Affected Modules: app

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found