installation fails: Could not find com.android.support:support-annotations:27.1.0.
See original GitHub issueAfter I installed react-native-ble-plx and ran “react-native run-android” I get the following error. Do I have to upgrade “react-native” currently (0.52.0)? I tried adding dependency to build.gradle for “com.android.support:support-v4:23.0.1” but without success.
Thanks for any help!
A problem occurred configuring project ':app'.
> Could not resolve all dependencies for configuration ':app:_debugApkCopy'.
> Could not find com.android.support:appcompat-v4:23.0.1.
Searched in the following locations:
file:/Users/b9179/Library/Android/sdk/extras/android/m2repository/com/android/support/appcompat-v4/23.0.1/appcompat-v4-23.0.1.pom
file:/Users/b9179/Library/Android/sdk/extras/android/m2repository/com/android/support/appcompat-v4/23.0.1/appcompat-v4-23.0.1.jar
file:/Users/b9179/ws/wirt/android/sdk-manager/com/android/support/appcompat-v4/23.0.1/appcompat-v4-23.0.1.jar
Required by:
wirt:app:unspecified
> Could not find com.android.support:support-annotations:27.1.0.
Searched in the following locations:
file:/Users/b9179/Library/Android/sdk/extras/android/m2repository/com/android/support/support-annotations/27.1.0/support-annotations-27.1.0.pom
file:/Users/b9179/Library/Android/sdk/extras/android/m2repository/com/android/support/support-annotations/27.1.0/support-annotations-27.1.0.jar
file:/Users/b9179/ws/wirt/android/sdk-manager/com/android/support/support-annotations/27.1.0/support-annotations-27.1.0.jar
Required by:
wirt:app:unspecified > wirt:react-native-ble-plx:unspecified > com.polidea.rxandroidble:rxandroidble:1.6.0
> Could not find com.android.support:support-annotations:27.1.0.
Searched in the following locations:
file:/Users/b9179/Library/Android/sdk/extras/android/m2repository/com/android/support/support-annotations/27.1.0/support-annotations-27.1.0.pom
file:/Users/b9179/Library/Android/sdk/extras/android/m2repository/com/android/support/support-annotations/27.1.0/support-annotations-27.1.0.jar
file:/Users/b9179/ws/wirt/android/sdk-manager/com/android/support/support-annotations/27.1.0/support-annotations-27.1.0.jar
Required by:
wirt:app:unspecified > com.android.support:appcompat-v7:23.0.1 > com.android.support:support-v4:23.0.1
Issue Analytics
- State:
- Created 5 years ago
- Comments:5
Top Results From Across the Web
Could not find com.android.support:support-annotations:27.1 ...
After I installed react-native-ble-plx and ran "react-native run-android" I get the following error. Do I have to upgrade "react-native" ...
Read more >Could not find com.android.support:support-annotations:26.1.0
I opened Android SDK Manager, but could not find Android Support Repository to install. How can I fix this problem? Here's my app...
Read more >How to Install Android Studio IDE & SDK and Get Started with ...
If everything fails, select "File" menu ⇒ "Invalidate Caches / Restart..." ⇒ and wait ... Cannot find "AVD manager" in the "Tool" menu:...
Read more >Troubleshooting Omnibus GitLab installation issues
Failed to modify kernel parameters with sysctl. If sysctl cannot modify the kernel parameters you could possibly get an error with the following...
Read more >Xamarin.Android 9.4 release notes - Microsoft Learn
ListenableFuture not found" could cause the build to fail during the _CompileJava target when using certain libraries like Xamarin.Google.Guava.
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
This setup fixed it:
Alternative solution: Download the .jar and .pom from https://mvnrepository.com/artifact/com.android.support/support-annotations/27.1.0 and put them in the directory it says it is hunting for.