Closed ibrhm-mnf closed 5 years ago
i get that message too
I've not seen this one myself yet, did you try getting more info out of the logs? --stacktrace or --debug, as the logs tell us. Anyone found more clues or possible reasons for the error or solutions?
(Also I see you use windows, which I've never used to develop Android apps.)
Hi,
Those still having this issue, check https://github.com/wumke/react-native-exit-app/pull/25
I have the same problem, the #25 work for me
I solved changing build.gradle of ./node_modules/react-native-exit-app/android
`apply plugin: 'com.android.library'
android { compileSdkVersion 28 buildToolsVersion '28.0.3'
defaultConfig {
minSdkVersion 16
targetSdkVersion 28
versionCode 2
versionName "1.1"
ndk {
abiFilters "armeabi-v7a", "x86"
}
}
lintOptions {
warning 'InvalidPackage'
}
}
dependencies { compile 'com.facebook.react:react-native:+' } `
Not sure why this still hasn't been merged. It prevented me from making a build.
merged now (I'm to busy at the moment and forgot to merge!)... use latest github commit instead of npm version to get latest changes.
An error happened while generating apk file using './gradlew assembleRelease' command.
App perfectly exits when tested using a virtual machine.