Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

could not resolve all dependencies for configuration ':app:debugAPKCopy'

it seems that I got this problem when I try to run the app

the error

like image 581
Angela Sanchez Avatar asked Jun 29 '16 04:06

Angela Sanchez


3 Answers

This can happen when there is an error in an update. To fix it open android sdk manager and:

  • Uninstall android support repository
  • Install again android support repository
like image 61
reza rahmad Avatar answered Nov 18 '22 20:11

reza rahmad


Install Android Support Repository in SDK Manager.

Add dedependencies to build.gradle file.

compile 'com.android.support:appcompat-v7:23.1.1'
compile 'com.android.support:recyclerview-v7:23.1.1'
like image 7
Egor tepikin Avatar answered Nov 18 '22 20:11

Egor tepikin


This worked for me while opening Android Studio to resolve the dependencies

allprojects {
   repositories {
       mavenLocal()
       jcenter()
          maven {
           url 'https://maven.google.com'
          }
       maven {
           url "https://jitpack.io"
       }
       maven {
           // All of React Native (JS, Obj-C sources, Android binaries) is installed 
 from npm 
              url "$rootDir/../node_modules/react-native/android"
          }
      }
  }
like image 4
Mahdi Bashirpour Avatar answered Nov 18 '22 19:11

Mahdi Bashirpour