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 find support-vector-drawable.aar

See original GitHub issue

I run react-native 0.57.1 app, then I got the following lines.

FAILURE: Build failed with an exception.

* What went wrong:
Could not resolve all files for configuration ':app:debugCompileClasspath'.
> Could not find support-vector-drawable.aar (com.android.support:support-vector-drawable:27.1.1).
  Searched in the following locations:
      https://jcenter.bintray.com/com/android/support/support-vector-drawable/27.1.1/support-vector-drawable-27.1.1.aar
> Could not find livedata-core.aar (android.arch.lifecycle:livedata-core:1.1.0).
  Searched in the following locations:
      https://jcenter.bintray.com/android/arch/lifecycle/livedata-core/1.1.0/livedata-core-1.1.0.aar
> Could not find viewmodel.aar (android.arch.lifecycle:viewmodel:1.1.0).
  Searched in the following locations:
      https://jcenter.bintray.com/android/arch/lifecycle/viewmodel/1.1.0/viewmodel-1.1.0.aar
> Could not find runtime.aar (android.arch.core:runtime:1.1.0).
  Searched in the following locations:
      https://jcenter.bintray.com/android/arch/core/runtime/1.1.0/runtime-1.1.0.aar

Any suggestions? Thx in advance

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:17
  • Comments:25

github_iconTop GitHub Comments

162reactions
ap050492commented, Oct 24, 2018

Moving google() to the first element in the list helped me

allprojects {
  repositories {
      google() // now here
      mavenLocal()
      jcenter()
      maven {
          // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
        url "$rootDir/../node_modules/react-native/android"
      }
      // google() // was here
  }
}
11reactions
react-native-botcommented, Oct 24, 2018

We are automatically closing this issue because it does not appear to follow any of the provided issue templates.

Please make use of the bug report template to let us know about a reproducible bug or regression in the core React Native library.

If you’d like to propose a change or discuss a feature request, there is a repository dedicated to Discussions and Proposals you may use for this purpose.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Ionic Could not find support-vector-drawable.aar
I've had to use the cordova-android-support-gradle-release plugin in the past to handle conflicts with different plugins leveraging different ...
Read more >
Could not find support-v4.aar (com.android ... - Ionic Forum
My project was working fine yesterday and today i'm getting the error below. please Help. ... It happened to me too, I got...
Read more >
Support Library Packages - Android Developers
The Android Support Library contains several library packages that can be included in your application. Each of these libraries supports a specific range...
Read more >
Xamarin: An error occurred trying to install required android ...
XA5209 Reason: Could not find a part of the path 'C:\Users\<username>\AppData\Local\Xamarin\Xamarin.Android.Support.Animated.Vector.Drawable\23.3.0.0\embedded\ ...
Read more >
fear48/react-native - Gitter
guys how can I keep the keyboard always open in react-native ios??? ... Could not find support-vector-drawable.aar ...
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