Skip to content

gradle build failed #5163

Sep 29, 2023 · 3 comments · 13 replies
Discussion options

You must be logged in to vote

These are the steps which we followed to fix the build issue of @predator313

  1. We checked for the Java version used for gradle which was java 17 which is bundled by default as the java runtime therefore these above errors were coming.
  2. We downloaded openjdk 11 from this and installed both jre and jdk and set the environment variables.
  3. Then we also set another environment variable as encodings for symbols in Arabic and Hindi were not properly encoded from here instead of ANT_OPTS please set the variable name as JAVA_TOOL_OPTIONS
  4. After this do a invalidate cache and restart and set the jbr to openjdk 11 as I mentioned above
  5. Then do a gradle sync and try building/installing the app.

Now you s…

Replies: 3 comments 13 replies

Comment options

You must be logged in to vote
7 replies
@predator313
Comment options

@adhiamboperes
Comment options

@predator313
Comment options

@adhiamboperes
Comment options

@predator313
Comment options

Comment options

You must be logged in to vote
5 replies
@predator313
Comment options

@predator313
Comment options

@yash10019coder
Comment options

@predator313
Comment options

@yash10019coder
Comment options

Comment options

You must be logged in to vote
1 reply
@predator313
Comment options

Answer selected by predator313
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants