it seems that I got this problem when I try to run the app
This can happen when there is an error in an update. To fix it open android sdk manager and:
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'
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"
}
}
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With