Open ShivalThakur opened 1 week ago
I've just pushed a commit to master. I suggest you re-clone the demo repo and start from scratch.
What device and OS are you installing this on?
Hi, I tried the latest code, but it does not work. I am installing it on Android emulator and Android 14. Both has the same issue.
Execute the following task:
$ cd android
$ ./gradlew app:dependencies
Capture all the output and paste into a text file. Attach the file here.
Please find the attached output logs.txt
Have you made any modifications to the code after cloning this repo?
- re you running this in a simulator?
- What is your development machine's OS (Windows? Mac? Linux?)
I am trying it on both simulator and real device. My development machine is Windows.
Have you made any modifications to the code after cloning this repo?
Have you made any modifications to the code after cloning this repo?
Yes I had changes, as app was throwing some errors.
Do not modify the code. Remove those changes! If there’s an error, send that to me.
I cloned it. Getting build failure.
I just generated a fresh new HelloWorld app.
package.json
:
"dependencies": {
"react": "18.3.1",
"react-native": "0.75.3"
},
android/app/build.gradle
debugImplementation
that you added for flipper
, etc.dependencies {
// The version of react-native is set by the React Native Gradle Plugin
implementation("com.facebook.react:react-android")
if (hermesEnabled.toBoolean()) {
implementation("com.facebook.react:hermes-android")
} else {
implementation jscFlavor
}
}
As for your error "Could not move temporary workspace - Error resolving plugin [id: 'com.facebook.react.settings'] - java.io.UncheckedIOException", this seems to be a Windows issue. See if you can solve your problem (without modifying the demo app code) by following this thread:
From that thread, the RN folks have acknowledged a Windows issue with Gradle > 8.6
:
Try the solution here. Let me know if it works and I'll downgrade to Gradle 8.6.
Hi, When I try to run the app. It is getting crashed on startup. Logcat has the following logs.
Can you please help on this.
Thanks