Menu

Problem version 6 - d8 error

Frank
2024-02-05
2024-02-27
  • Frank

    Frank - 2024-02-05

    Hallo,

    I'm using the new version 6. Creating the . aab works successfully.

    When creating an .apk I get the error message: [RunD8] ERROR: d8 failed.

    Is there a problem with version 6?
    With version 5 it works without any problems.

    Greetings Frank

     

    Last edit: Frank 2024-02-05
    • Bivek Barman

      Bivek Barman - 2024-02-23

      same problem 😭..

       
  • Ramiro  Prieto Alvarez

    As this is an important update, it is recommended to make a backup copy of your projects, uninstall the previous version and delete the C:\ai2offline folder. After this you can use the new version without problems. If that doesn't solve the problem, I could post a screenshot of the build server.

     
  • Frank

    Frank - 2024-02-05

    Hello Ramiro,

    That's exactly how I did it. Directory deleted and my project imported.
    This did not solve the problem.

    The error was also reported in the AI2 forum. There, ewpatton talks about a proposed fix for the d8 process.
    Could that be the reason?

    Frank

     
  • Frank

    Frank - 2024-02-11

    Hello Ramiro,

    do you have a solution for the d8 error?

    greetings
    Frank

     
  • sergio

    sergio - 2024-02-14

    Also error on [RunD8] ERROR: d8 failed.

    some AIA work, some don't. I think it's extensions conflict

     
  • Frank

    Frank - 2024-02-17

    Hello Ramiro,

    I tested a bit more.

    If I export my app (aia) from AI2offline and load it into AI2online (nb195e), that's how it can be built (apk).

    Is it possible that not all changes from nb195e are included in version 6?

    Frank

     

    Last edit: Frank 2024-02-17
  • Ramiro  Prieto Alvarez

    I tested the new version with some projects and had no problems in apk and aab generation. I would like to know if you are still experiencing the same problem with version 6.1

     
  • Frank

    Frank - 2024-02-25

    @Ramiro

    I installed the new version 6.1 completely clean.

    My app ends with the d8 error when building the apk - please see attachment.

    If I create an aab, the creation goes through without errors.

    But I didn't dare to put this aab in the Google play store as long as the error still exists in the apk build.

    Frank

     

    Last edit: Frank 2024-02-25
  • Ramiro  Prieto Alvarez

    You could provide the build server capture

     
  • Frank

    Frank - 2024-02-26

    Hello Ramiro,

    Attached is the excerpt from buildserver.cmd.
    I hope you can discover something.

    Greetings Frank

     
  • sergio

    sergio - 2024-02-26

    The file name or extension is too long

    WARNING: ____Execution failure:
    java.io.IOException: Cannot run program "java" (in directory "C:\ai2tmp\1708964817681_0.1087893106505573-0\youngandroidproject..\build\tmp"): CreateProcess error=206

     
  • Frank

    Frank - 2024-02-27

    Hello Ramiro,

    I'll test it this evening and report back.

    Thank you in advance for your efforts and work.

    Frank

     
  • Frank

    Frank - 2024-02-27

    Hello Ramiro,

    Following your instructions and replacing the files, creating the apk and aab file works without any problems.
    I thank you very much for your work. Fantastic.

    Frank

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.