joltup / rn-fetch-blob

A project committed to making file access and data transfer easier, efficient for React Native developers.
MIT License
2.84k stars 784 forks source link

Could not find com.android.support:appcompat-v7:26.1.0. #99

Open achmadk opened 6 years ago

achmadk commented 6 years ago

Hi. I have upgraded react-native version from 0.55.4 to 0.56.0. When I execute gradlew clean inside folder android, I got this error. I have set appcompat-v7 inside file app/build.gradle from com.android.support:appcompat-v7:23.0.1 to com.android.support:appcompat-v7:26.1.0, but I still get same error.

* What went wrong:
A problem occurred configuring project ':app'.
> Could not resolve all dependencies for configuration ':app:_debugApk'.
   > A problem occurred configuring project ':rn-fetch-blob'.
      > Could not resolve all dependencies for configuration ':rn-fetch-blob:_debugPublishCopy'.
         > Could not find com.android.support:appcompat-v7:26.1.0.
           Searched in the following locations:
               ${MY_ANDROID_SDK_PATH}/extras/android/m2repository/com/android/support/appcompat-v7/26.1.0/appcompat-v7-26.1.0.pom
               ${MY_ANDROID_SDK_PATH}/extras/android/m2repository/com/android/support/appcompat-v7/26.1.0/appcompat-v7-26.1.0.jar
               ${MY_PROJECT_PATH}/android/sdk-manager/com/android/support/appcompat-v7/26.1.0/appcompat-v7-26.1.0.jar
           Required by:
               procuraMobile:rn-fetch-blob:unspecified > com.facebook.react:react-native:0.56.0

I use recent version of rn-fetch-blob (0.10.11).

tombailey commented 6 years ago

Have you updated the Android support library using the SDK manager?