Closed Madlykeanu closed 3 weeks ago
Hey! 👋
The issue doesn't seem to contain a minimal reproduction.
Could you provide a snack or a link to a GitHub repository under your username that reproduces the problem?
@Madlykeanu did you find any solution for this ?
@Madlykeanu did you find any solution for this ? @Pratik-2102
yes, you can exclude armeabi-v7a from the react-native-screens build proccess in /node_modules/react-native-screens/android/build.gradle:
ndk {
abiFilters "arm64-v8a", "x86_64" // removed armeabi-v7a as it was causing a build error
//abiFilters (*res()) // old line
}
my device apparently uses armeabi-v7a but i havent had any issues with screens after excluding it so far
Same issue here, the solution provided by @Madlykeanu seems not helping, any other patches ?
I've found the solution: https://github.com/mrousavy/react-native-vision-camera/issues/1941#issuecomment-1757159751
Just a weird problem with Windows. I made it work just by moving the project folder to a shorter path. From C:\Users\This PC\OneDrive\Desktop\Personal\AppName to C:\Project\AppName
I believe it's a copy of https://github.com/software-mansion/react-native-screens/issues/2082. Updating to RN 0.75 seems to be fixing this exact problem. Let me know if that's not the case.
@alduzy Problem is fixed
Description
hello, i get this error when building with ./gradlew assembleRelease.
i was eventually able to fix the error by excluding armeabi-v7a from the react native screens build process but this feels pretty hacky. i was wondering if theres a better solution.
in QuizzifyMobile/node_modules/react-native-screens/android/build.gradle:
i can build my app with ./gradlew assembleDebug and it works fine without excluding armeabi-v7a from react-native-sceens build.gradle
error:
apply plugin: "com.android.application" apply plugin: "org.jetbrains.kotlin.android" apply plugin: "com.facebook.react"
/**
By default you don't need to apply any configuration, just uncomment the lines you need. / react { / Folders */ // The root of your project, i.e. where "package.json" lives. Default is '..' // root = file("../") // The folder where the react-native NPM package is. Default is ../node_modules/react-native // reactNativeDir = file("../node_modules/react-native") // The folder where the react-native Codegen package is. Default is ../node_modules/@react-native/codegen // codegenDir = file("../node_modules/@react-native/codegen") // The cli.js file which is the React Native CLI entrypoint. Default is ../node_modules/react-native/cli.js // cliFile = file("../node_modules/react-native/cli.js")
/ Variants / // The list of variants to that are debuggable. For those we're going to // skip the bundling of the JS bundle and the assets. By default is just 'debug'. // If you add flavors like lite, prod, etc. you'll have to list your debuggableVariants. // debuggableVariants = ["liteDebug", "prodDebug"]
/ Bundling / // A list containing the node command and its flags. Default is just 'node'. // nodeExecutableAndArgs = ["node"] // // The command to run when bundling. By default is 'bundle' // bundleCommand = "ram-bundle" // // The path to the CLI configuration file. Default is empty. // bundleConfig = file(../rn-cli.config.js) // // The name of the generated asset file containing your JS bundle // bundleAssetName = "MyApplication.android.bundle" // // The entry file for bundle generation. Default is 'index.android.js' or 'index.js' // entryFile = file("../js/MyApplication.android.js") // // A list of extra flags to pass to the 'bundle' commands. // See https://github.com/react-native-community/cli/blob/main/docs/commands.md#bundle // extraPackagerArgs = []
/ Hermes Commands / // The hermes compiler command to run. By default it is 'hermesc' // hermesCommand = "$rootDir/my-custom-hermesc/bin/hermesc" // // The list of flags to pass to the Hermes compiler. By default is "-O", "-output-source-map" // hermesFlags = ["-O", "-output-source-map"] }
/**
/**
def jscFlavor = 'org.webkit:android-jsc-intl:+'
Date.toLocaleString
andString.localeCompare
thatandroid { ndkVersion rootProject.ext.ndkVersion buildToolsVersion rootProject.ext.buildToolsVersion compileSdk rootProject.ext.compileSdkVersion
}
dependencies { // The version of react-native is set by the React Native Gradle Plugin implementation("com.facebook.react:react-android")
}
apply from: file("../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesAppBuildGradle(project) apply from: "../../node_modules/react-native-vector-icons/fonts.gradle" "
Steps to reproduce
Snack or a link to a repository
n/a
Screens version
3.34.0
React Native version
0.74.3
Platforms
Android
JavaScript runtime
Hermes
Workflow
React Native (without Expo)
Architecture
Paper (Old Architecture)
Build type
Release mode
Device
Android emulator
Device model
windows
Acknowledgements
Yes