Closed Jacse closed 7 years ago
Hi, can you post the stack error and which react-native version are you using?
@cesardeazevedo wow quick response. Yes, sorry - I pressed enter in the title by accident. Is what I've included now sufficient?
I think it's a issue with the targetSdkVersion
, can you post your build.gradle
that i could see the targetSdkVersion
and the com.android.support:appcompat
and com.android.support:design
dependencies?
...
android {
compileSdkVersion 23
buildToolsVersion "23.0.1"
defaultConfig {
applicationId "com.jacoblauritzen.project"
minSdkVersion 21
targetSdkVersion 23
versionCode 20007
versionName "2.0.7"
ndk {
abiFilters "armeabi-v7a", "x86"
}
}
}
...
dependencies {
compile project(':react-native-nested-scroll-view')
compile project(':react-native-svg')
compile project(':react-native-push-notification')
compile project(':react-native-background-job')
compile project(':bugsnag-react-native')
compile project(':react-native-code-push')
compile project(':react-native-splash-screen')
compile project(':react-native-version-number')
compile project(':react-native-google-analytics-bridge')
compile project(':react-native-billing')
compile project(':react-native-vector-icons')
compile project(':react-native-fetch-blob')
compile fileTree(dir: "libs", include: ["*.jar"])
compile "com.facebook.react:react-native:+" // From node_modules
}
can you try changing the compileSdkVersion
to 24?
Setting compileSdkVersion
and targetSdkVersion
to 25 and upgrading Gradle and the Gradle plugin seemed to do it. Thanks for the quick help!
Glad that you got it.
I get the following error when I try to run
react-native run-android
:It only happens when I've linked the project. Happens both on RN
0.49.5
and RN0.50.3