Open slambyslam opened 1 year ago
do you have logs? what is actual android / emulator version you are using?
Unfortunately, I don't have any build logs. I use debian 11 for the build, NodeJS v14, Python v3.10, and I added in the /android/build.gradle file kotlinVersion = "1.6.0". Tested on an Android 12 phone.
does it have some brand / model i can look in crashlytics? usually trustee issues like this - is about cutted androids without ssl libs etc, @rhrusha will give you more details
I compiled on another system via latest version Android Studio. But I also changed android/buld.gradle file
def REACT_NATIVE_VERSION = new File(['node', '--print',"JSON.parse(require('fs').readFileSync(require.resolve('react-native/package.json'), 'utf-8')).version"].execute(null, rootDir).text.trim())`
allprojects {
configurations.all {
resolutionStrategy {
// Remove this override in 0.65+, as a proper fix is included in react-native itself.
force "com.facebook.react:react-native:" + REACT_NATIVE_VERSION
}
}
After that, everything worked.
@rhrusha please add this to our readme
Hi, I compiled an assembly for android, but after launching I have a strange error Please tell me how to compile correctly for Android