Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Question Help issue java

Discussion in 'Android' started by PlayerCasual, Aug 2, 2023.

  1. PlayerCasual

    PlayerCasual

    Joined:
    Jan 3, 2023
    Posts:
    259
    Hello everyone!! please help me because it's really frustrating i can't solve these errors could you kindly help me understand how to do it?? I have been trying various solutions for 2 weeks, I am discouraged and destroyed.. thank you in advance
     

    Attached Files:

    • 1.jpg
      1.jpg
      File size:
      60.9 KB
      Views:
      26
    • 2.jpg
      2.jpg
      File size:
      49.6 KB
      Views:
      24
    • 3.jpg
      3.jpg
      File size:
      189.1 KB
      Views:
      24
  2. KillDashNine

    KillDashNine

    Joined:
    Apr 19, 2020
    Posts:
    449
    The first line in your build.gradle is expecting a boolean but the value is recognized as string. upload_2023-8-2_9-21-56.png
     
  3. PlayerCasual

    PlayerCasual

    Joined:
    Jan 3, 2023
    Posts:
    259
    tnk for your answer...
    and?? how to solve?
     
    Last edited: Aug 2, 2023
  4. KillDashNine

    KillDashNine

    Joined:
    Apr 19, 2020
    Posts:
    449
    You're obviously using ILCPP to build for Android. I haven't done that myself so I can't speak from experience in doing this. But basically it's invoking Gradle to build your Android app, and build.gradle configures the build. Gradle runs on Java platform, and your error is coming from the Gradle Java runtime. So take a look at that build.gradle file, is the whole file missing or how does it look like from inside.
     
  5. PlayerCasual

    PlayerCasual

    Joined:
    Jan 3, 2023
    Posts:
    259
    where can i find the file you mean?? I've looked for it in unity but can't see it
    build.gradle
    and yes i try to build android app.. but have a lot of problem
     
    Last edited: Aug 2, 2023
  6. KillDashNine

    KillDashNine

    Joined:
    Apr 19, 2020
    Posts:
    449
    The ILCPP Gradle is looking for the build.gradle from the path there but can't find it. That's as far as I can help with the information provided.
     
  7. PlayerCasual

    PlayerCasual

    Joined:
    Jan 3, 2023
    Posts:
    259
    are you referring to these paths??? but then what should I do to put this file?
     

    Attached Files:

    • 4.jpg
      4.jpg
      File size:
      65.5 KB
      Views:
      22
  8. KillDashNine

    KillDashNine

    Joined:
    Apr 19, 2020
    Posts:
    449
    No, I was referring to the path in your error message with the build.gradle.

    This other Gradle path seems to denote a playback engine, but your error is coming from Bee build engine. I am not experienced in this as to advise whether this is a bug or if your build setup is missing something. I am just reading the error message from a technical perspective.
     
  9. PlayerCasual

    PlayerCasual

    Joined:
    Jan 3, 2023
    Posts:
    259
    no one can help???