logo
Tags down

shadow

Android Studio: Could not find matches as no versions of com.android.tools.build:gradle are available


By : samwise
Date : October 15 2020, 08:10 AM
I hope this helps you . I'm trying to build an Android app created with React Native that I've recently cloned, but I always get this error:
code :
subprojects {
    if (project.name.contains('react-native-image-picker')) {
        buildscript {
            repositories {
                jcenter()
                maven { url "https://dl.bintray.com/android/android-tools/"  }
            }
        }
    }
}


Share : facebook icon twitter icon

Android: After updating Android Studio tu 0.8.7 Gradle error: Could not find com.android.tools.build:gradle:2.0


By : user2319255
Date : March 29 2020, 07:55 AM
around this issue The latest version of the Gradle Android plugin (com.android.tools.build:gradle) is 0.11.1, and it supports Gradle 1.10-1.12 (see docs).

Android Studio: Gradle Refresh Failed - Could not find com.android.tools.build:gradle:2.2.0-alpha6


By : 박지훈
Date : March 29 2020, 07:55 AM
it helps some times This is because the build process is unable to find the dependency in Maven repository. Add jcenter() along with mavenCentral() in your project level build.gradle file.
code :
buildscript {
    repositories {
        mavenCentral()
        jcenter()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:2.2.0'
    }
}

Could not find any matches for com.android.tools.build:gradle:2.3.+ as no versions of com.android.tools.build:gradle are


By : Faizan Abrar
Date : October 20 2020, 08:10 PM
To fix the issue you can do Node is not good at figuring out when there are newer versions of an already used package. In this case, the version of react-native-vector-icons being referenced in the package.json file uses an older version of gradle.
To fix this, first try:
code :
npm install react-native-vector-icons -save
"dependencies": {
    ...

    "react-native-vector-icons": "^6.1.0",

    ...
 }

Could not find any matches for com.android.tools.build:gradle:2.3.+


By : user2175197
Date : October 16 2020, 08:10 AM
fixed the issue. Will look into that further Base on this link

Gradle error: Could not find any matches for com.android.tools.build:gradle:2.2.+


By : Larra
Date : March 29 2020, 07:55 AM
it should still fix some issue If you don't want to wait until this library will release fixed version, here is how you can fix it:
Just add it to your build.gradle under subprojects section in the root (not app/gradle)
code :
subprojects {
    if (project.name.contains('react-native-image-picker') || 
        project.name.contains('react-native-vector-icons')) {
        buildscript {
            repositories {
                jcenter()
                maven { url "https://dl.bintray.com/android/android-tools/"  }
            }
        }
    }
}
Related Posts Related Posts :
  • http2 doesn't seem to be working with OkHttp3 and retrofit2
  • Failed to resolve: com.google.android:flexbox:1.1.0
  • How to fix Xiaomi specific RemoteServiceException with notification icon?
  • Placing text in the center of a CircularProgressIndicator
  • Calculator that accepts floating point values
  • Bitrise error Could not find com.google.gms:google-services:3.2.1
  • Check if Input is empty doesnt work Kotlin
  • Could not find method compile() for arguments [com.google.gms:google-services:4.0.0]
  • View AGPS setting in Android
  • Am I doing dependency injection in activity code correctly?
  • React Native Gradle ImagePicker wont build
  • React Native changes to code have no affect on emulator app?
  • Get the TextView value of the gridview while clicking on an element
  • How to launch an intent for a third party app?
  • Going crazy trying to change android theme on Xamarin.Forms
  • Could not find any matches for com.android.tools.build:gradle:2.3.+ as no versions of com.android.tools.build:gradle are
  • How can I capture variables inside of Context
  • React Native : Could not find com.android.tools.build:gradle:2.2.3
  • Google Login/Signin on Yandex Android extension
  • Retrofit generates wrong GET request parameters from Map<String : Any>
  • Flutter app crashing when opening first time with ClassNotFoundException on Android
  • Android LinearLayout programmatically one column left, one column float right
  • Kotlin - convert UTC to local time
  • Android'd ForegroundDispatch for NFC
  • How to use Shared Preferences in class to set all activities?
  • Synchronous Volley request locks up
  • How do I inherit a function from another class into an activity in kotlin?
  • BottomAppBar Navigation Icon with Badge
  • Change content_main XML in Basic Navigation Drawer Template
  • HERE SDK Android: PositioningManager not working with NETWORK_PROVIDER in 3.8 or 3.9
  • No response after putting in Header in request
  • Where are default shared preferences written to?
  • how to show a part of next image in daimajia slider?
  • AlertDialog Builder inside holder.itemView.setOnClickListener onBindViewHolder
  • Flutter Grid view is not scrolling
  • How to access view in addTextChangedListener?
  • How do I link multiple activities in android navigation editor?
  • Failed to resolve: com.google.android.exoplayer:extension-mediasession:2.8.4
  • ViewPager + Picasso + multiple images from URL String array
  • how do I open another fragment after selecting the image in recycler view?
  • Send data from fragment to another fragment
  • Custom TitleView with Description and Preview Image Android TV (FireTV)
  • Gradle project sync failed. basic functionality (e.g. editing debugging) will not work properly
  • how to retrieve firebase storage images in release mode?
  • Getting a JSON Left side Value
  • Is it possible to use of Mobile data while transferring file via Wi-Fi Direct?
  • Build Error: Could not find any version that matches com.android.tools.build:transform-api:1.5.+
  • Robolectric 4.0.2 test are not running in gradle 3.2.1 with NoSuchMethodError: setUseLegacyResources(Z)V
  • How to be notified of another app's crash?
  • Could not find com.android.tools.build:gradle:2.2.3
  • Recyclerview scroll to empty Edit Text
  • How to set applicationID using Android.mk
  • Firebase: How to implement "take action only when another device is online"?
  • Can not find attribute app:useSimpleSummaryProvider
  • Relation between buffers and glVertexAttribPointer
  • Android - focus navigation back button
  • Disable WiFi option in Google Text To Speech (TTS) programmatically
  • using AdapterViewFlipper in a fragment in order to create image slider
  • How to add animation before the opening of a new activity?
  • Integrating Google Calendar API
  • shadow
    Privacy Policy - Terms - Contact Us © voile276.org