Could not find support-compat.aar (com.android.support:support-compat:26.1.0)
im trying to use spinkit react native library and its working on ios but when i export it on android i get this log
* What went wrong: A problem occurred configuring project ':app'. > Could not resolve all dependencies for configuration ':app:_debugApk'. > A problem occurred configuring project ':react-native-spinkit'. > Could not find support-compat.aar (com.android.support:support-compat:26.1.0). Searched in the following locations: https://jcenter.bintray.com/com/android/support/support-compat/26.1.0/support-compat-26.1.0.aar
any ideas?
Just go to the URL, you can see nothing is found there.
Make sure you have a section like this in your gradle files
repositories { google() jcenter() }
Could not find support-compat.aar (com.android.support , A problem occurred configuring project ':react-native-spinkit'. > Could not find support-compat.aar (com.android.support:support-compat:26.1.0). Stack Overflow for Teams is a private, secure spot for you and your coworkers to find and share information. Learn more Could not find support-compat.aar
remove all gradle cache files ( ~/.gradle/ ) ,try again!
Could not find com.android.support:appcompat-v7:26.1.0. · Issue , A problem occurred configuring project ':react-native-spinkit'. > Could not find support-compat.aar (com.android.support:support-compat:26.1.0). Searched in the > Task :react-native-maps:compileDebugRenderscript FAILED FAILURE: Build failed with an exception. * What went wrong: Could not resolve all files for configuration ':react-native-maps:debugCompileClasspath'. > Could not resolve com.android.support:support-compat:26.1.0.
Please update the order of building your project through
$ cordova build android
Open {project-root-folder}/platforms/android/build.gradle
Existing Code:
buildscript { repositories { jcenter() maven { url "https://maven.google.com" } } } allprojects { repositories { jcenter() maven { url "https://maven.google.com" } } }
Code Updated as below:
buildscript { repositories { maven { url "https://maven.google.com" } jcenter() } } allprojects { repositories { maven { url "https://maven.google.com" } jcenter() } }
Could not find support-compat.aar (com.android.support , Could not resolve com.android.support:support-compat:26.1.0. Required by: project :react-native-maps > Cannot find a version of Stack Overflow for Teams is a private, secure spot for you and your coworkers to find and share information. Learn more Ionic 3: Could not find support-compat.aar (com.android.support:support-compat:26.1.0
Could not resolve com.android.support:support-compat:26.1.0 , What went wrong: Could not resolve all files for configuration ':app:debugCompileClasspath'. Could not find support-v4.aar (co… FAILURE: Build failed with an exception. * What went wrong: Could not resolve all files for configuration ':app:debugCompileClasspath'. > Could not find support-compat.jar (com.android.support:support-compat:28.0.0). Searched in the foll
Could not find support-v4.aar (com.android.support:support-v4:26.1.0), Could not find appcompat-v7.aar (com.android.support:appcompat-v7:26.1.0). Searched in the following locations: https://jcenter.bintray I had the same issue. According to this issue Could not find com.android.support:appcompat-v7:26.1.0. In the android gradle file you need to specify the following. compileSdkVersion 26 buildToolsVersion "26.0.1" and then find this text compile "com.android.support:appcompat-v7" and make sure it says compile "com.android.support:appcompat-v7:26.0.1"
Could not find appcompat-v7.aar (com.android.support:appcompat , Could not find support-media-compat.aar Could not find support-core-utils.aar (com.android.support:support-core-utils:26.1.0). Searched in the following Could not resolve all dependencies for configuration ':app:_debugApk'. A problem occurred configuring project ':lottie-react-native'. Could not resolve all dependencies for configuration ':lottie-react-native:_debugPublishCopy'. Could not find com.android.support:appcompat-v7:26.1.0. Required by:
Comments
- Hello, can anyone help?