Comments (6)
Unsupported Version of React Native | |
---|---|
ℹ️ | It looks like your issue or the example you provided uses an unsupported version of React Native. Due to the number of issues we receive, we're currently only accepting new issues against one of the supported versions. Please upgrade to latest and verify if the issue persists (alternatively, create a new project and repro the issue in it). If you cannot upgrade, please open your issue on StackOverflow to get further community support. |
from react-native.
Missing Reproducible Example | |
---|---|
ℹ️ | We could not detect a reproducible example in your issue report. Please provide either:
|
from react-native.
It looks like you have set your minSdkVersion to 24 @Abhishek-Khanduri so perhaps this is relevant to you
from react-native.
This is my code in app/build.gradle
This is how the app/build.gradle
file should look like in a 0.71 project:
https://github.com/facebook/react-native/blob/0.71-stable/template/android/app/build.gradle
So your application is definitely misconfigured @Abhishek-Khanduri
from react-native.
my minSdkVersion is 21 but i am facing this same issue multiple of times. @cortinico @brien-crean
from react-native.
@sudhanshu-busy I followed a systematic approach to troubleshoot and resolve the crash issue with our React Native app on an Android 10 device. Here are the steps I took:
Set Up Sample App:
- Created a fresh sample app using React Native 0.71.0.
- Disabled Hermes.
- Tested the sample app on an Android 10 device, and it worked as expected without any crashes.
Configuration Transfer:
- Moved multiple configuration files(
build.gradle
andapp/build.gradle
) from the sample app to our app. - With these minimal changes, our app worked without crashing.
Incremental Configuration Addition:
- Gradually re-added all additional configurations that had been added during the development of our app.
- Monitored the app's behavior after each addition.
Identified Problematic Code Snippet:
- Discovered a code snippet related to file versioning that was affecting the specific file versions being added to the APK.
Noted that this snippet was not present in the sample app's configuration.
Isolated the Issue:
- Upon re-adding the problematic snippet, the app encountered the same error related to the Hermes engine that had been occurring for the past week.
This is the code snippet that we suspect that is causing the issue
allprojects {
repositories {
maven {
url "https://github.com/jitsi/jitsi-maven-repository/raw/master/releases"
}
configurations.all {
resolutionStrategy {
eachDependency { DependencyResolveDetails details ->
if (details.requested.group == 'com.facebook.react' && details.requested.name == 'react-native') {
def file = new File("$rootDir/../node_modules/react-native/package.json")
def version = new groovy.json.JsonSlurper().parseText(file.text).version
details.useVersion version
}
}
}
}
}
}
You can use similar approach to back trace the root cause
from react-native.
Related Issues (20)
- After installing react-native-screens ios build not working - Error: info Run CLI with --verbose flag for more details. HOT 3
- 'React/RCTBridgeDelegate.h' file not found HOT 4
- > Task :packages:react-native:ReactAndroid:buildCMakeDebug[arm64-v8a][bridgeless,fabricjni,etc] FAILED FAILURE: Build failed with an exception. HOT 4
- DevSupport classes included in release apks (~40KB size impact) due to DevLoadingModule HOT 2
- FlatList Clipping Issue on iOS with New Architecture Enabled HOT 2
- [iOS] Data race when accessing RCTNetworkTask.status
- AppState is not changes when go to apps switcher (in Android Pixel device) HOT 2
- can't running app :ReactNative:Running '[node, -e, try {console.log(require('@react-native-community/cli').bin);} catch (e) {console.log(require('react-native/cli').bin);}]' command failed. HOT 5
- Parent border is drawn over the child content HOT 3
- [ios only] No bundle URL error when npx react-native init ProjectName HOT 4
- Metro is not starting on custom port HOT 2
- [0.74.1] Npm install WARN HOT 3
- [codegen]: TypeError: glob.sync is not a function HOT 1
- cocoapods: undefined method `end_with?' for nil:NilClass HOT 1
- [iOS] Static counters lead to data races
- [Bridgeless] Multiple bundles loaded on android when locale changed natively HOT 1
- FBReactNativeSpec/FBReactNativeSpec.h: No such file or directory (in target 'React-Codegen' from project 'Pods') HOT 6
- Unable to run the app on Android 14. HOT 7
- Cannot Make API call to http endpoint when using formData[Tried with both fetch and axios] HOT 3
- 'If-None-Match' and 'If-Modified-Since' Headers being Appended to Outgoing Network DELETE Requests Resulting in Server 501 Error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native.