All Questions
Tagged with gradle react-native
1,260
questions
-2
votes
0
answers
12
views
* What went wrong: Value 'C:Program FilesJavajdk-17.0.12' given for org.gradle.java.home Gradle property is invalid (Java home supplied is invalid)
What platform(s) does this occur on?
Android
Where did you reproduce the issue?
in a development build
Summary
I'm facing an issue creating an Android development build using EXPO. After updating ...
0
votes
0
answers
6
views
Error "Unresolved reference: serviceOf" updating gradle
I'm trying to update gradle in my expo react native app and to do so I executed "./gradlew wrapper --gradle-version 8.9" in the android level. But when I see the logs of the update, it ...
0
votes
0
answers
14
views
AAPT2 process unexpectedly exit. Error output: aapt2 W 07-25 11:01:48 4839 56976 LoadedArsc.cpp:657] Unknown chunk type '200'
Facing issue while upgrading targetSdkVersion from 33 to 34
Different Versions mentioned below:
"react-native": "0.66.3"
gradle-wrapper.properties :
distributionUrl=https\://...
0
votes
0
answers
16
views
How to configure React Native android dependencies to use remote repository in gradle build
I am working on a project that is built off the bare minimum template from expo. The build.gradle file is setup to install the dependencies from an internal Artifactory instance.
buildscript {
...
0
votes
0
answers
16
views
React native Expo build error in firebase service
I am having a problem that I am not being able to solve, when running eas build android I am having a Gradle error which I go to the expo console to see the error and I have the following one.
Error ...
0
votes
1
answer
41
views
How to add a maven dependency in gradle 8.x
My react-native android project is running on Gradle v8.3. I have files like settings.gradle and build.gradle in my android project.
The problem I'm having is when I try to implement PendoSDK for ...
0
votes
1
answer
104
views
Error generating build android Expo(Error: Gradle build failed with unknown error. See logs for the "Run gradlew" phase for more information)
I am trying to generate an Android build using React-native and Expo, but I have been encountering the following error:
Error: Gradle build failed with unknown error. See logs for the "Run ...
0
votes
2
answers
40
views
Error with './gradlew assembleRelease': Failed to install Android SDK packages due to unaccepted licenses
Background:
I'm encountering an issue while trying to build a release version of my Android application using './gradlew assembleRelease'. I've already accepted all Android SDK licenses using the ...
0
votes
0
answers
52
views
Execution failed for task ':react-native-gradle-plugin:compileKotlin'
was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.6.0.
infos
"react-native": "0.70.0",
I am getting error on ...
0
votes
1
answer
136
views
"Execution failed for task ':react-native-gradle-plugin:compileKotlin'" ,when upgraded from 0.72.5 to 0.74.2
The class is loaded from C:/Users/USER/.gradle/wrapper/dists/gradle-8.6-all/3mbtmo166bl6vumsh5k2lkq5h/gradle-8.6/lib/kotlin-stdlib-1.9.20.jar!/kotlin/collections/CollectionsKt__CollectionsKt.class
e: ...
0
votes
0
answers
18
views
can't seem to find the solution for this back-end api gradle build error
when i try to build the gradle component it shows me different errors and one of them is:
A problem occurred evaluating root project 'android'.
Plugin with id 'com.android.library' not found.
error ...
0
votes
0
answers
18
views
Default React Native App not building(Android)
I have been trying to setup a new react-native project from the reactnative.dev website for the past 8 hrs. I have setup the environment is instructed but the app is not building. Here are some ...
0
votes
0
answers
38
views
Execution failed for task ':app:checkDebugDuplicateClasses' react native
At the moment I tried to compile my app the following issue runs, I add a new component for other team to my project and It looks like that use a repated group as mine, how can I handle it?
error ...
1
vote
2
answers
135
views
react native : npx react-native start ==> Could not find method exec()
i install android studio , node js, JDK 17 with the config of this video : https://www.youtube.com/watch?v=G0wrlZvDjrE
But when i run the app with the cmd : npx react-native start.
I have this error ...
0
votes
1
answer
65
views
Error: Could not find or load main class org.gradle.wrapper.GradleWrapperMain in React Native
I have a problem running a react native project, i'm using yarn but the error is also shown with npm:
$ yarn android
yarn run v1.22.22
$ react-native run-android
info Running jetifier to migrate ...