4

I am pretty new to Android Studio.

I have converted my Eclipse project to Android Studio successfully. everything worked fine, until today I updated my SDK and suddenly it started giving me error

> Error: A problem occurred configuring project ':app'.
> Could not resolve all dependencies for configuration ':app:_debugCompile'.
   > Could not find com.android.support:multidex:1.0.1.
     Searched in the following locations:
     https://jcenter.bintray.com/com/android/support/multidex/1.0.1/multidex-1.0.1.pom
     https://jcenter.bintray.com/com/android/support/multidex/1.0.1/multidex-1.0.1.jar
     https://jitpack.io/com/android/support/multidex/1.0.1/multidex-1.0.1.pom
     https://jitpack.io/com/android/support/multidex/1.0.1/multidex-1.0.1.jar
     file:/C:/Users/as/AppData/Local/Android/sdk/extras/android/m2repository/com/android/support/multidex/1.0.1/multidex-1.0.1.pom
     file:/C:/Users/as/AppData/Local/Android/sdk/extras/android/m2repository/com/android/support/multidex/1.0.1/multidex-1.0.1.jar
     file:/C:/Users/as/AppData/Local/Android/sdk/extras/google/m2repository/com/android/support/multidex/1.0.1/multidex-1.0.1.pom
     file:/C:/Users/as/AppData/Local/Android/sdk/extras/google/m2repository/com/android/support/multidex/1.0.1/multidex-1.0.1.jar
 Required by:
     ElalaSeller:app:unspecified

when I rebuild my project. it says

Error:(25, 13) Failed to resolve: com.android.support:multidex:1.0.1
    Install Repository and sync project
    Show in File
    Show in Project Structure dialog

I checked Android support repository is installed.

enter image description here

Any help will be appreciated.

Thank you.

Update : I have checked this Question. most upvoted answer says install Android Support Repository. but in my case i already have installed it. you can see in screenshot i have uploaded. but still getting same error.

I have cleaned my project but still no change.

Community
  • 1
  • 1
V-rund Puro-hit
  • 5,518
  • 9
  • 31
  • 50

0 Answers0