Page 1 of 1

BUILD FAILED, A problem occurred evaluating project ':app'.

Posted: Sat May 28, 2022 3:07 pm
by tinaadeel
Hi, I'm trying to build package, but it's not working:

en'Py 7.4.11.2266

Updating project.

Creating assets directory.

Packaging internal data.

I'm using Gradle to build the package.
To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/6.1.1/userguide ... aemon.html.
Daemon will be stopped at the end of the build stopping after processing

FAILURE: Build failed with an exception.

* Where:
Build file 'C:\Users\Tina\Desktop\renpy-7.4.11-sdk\rapt\project\app\build.gradle' line: 24

* What went wrong:
A problem occurred evaluating project ':app'.
> path may not be null or empty string. path='null'

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 37s




The build seems to have failed.

I'm a total newbie so I have no idea on how to fix this and would appriciate any help,
thanks!

Re: BUILD FAILED, A problem occurred evaluating project ':app'.

Posted: Sun May 29, 2022 3:08 am
by m_from_space
If you are a total newbie, then maybe don't build using "Gradle", but just the normal renpy build mode? I don't know anything about Gradle, but if it doesn't work, you should ask where it points you: https://help.gradle.org/ (since this is not a renpy specific question).

Re: BUILD FAILED, A problem occurred evaluating project ':app'.

Posted: Sun May 29, 2022 5:29 am
by tinaadeel
m_from_space wrote: Sun May 29, 2022 3:08 am If you are a total newbie, then maybe don't build using "Gradle", but just the normal renpy build mode? I don't know anything about Gradle, but if it doesn't work, you should ask where it points you: https://help.gradle.org/ (since this is not a renpy specific question).
Thanks a lot for this info! If I may ask, how do I make it use the renpy build mode instead of Gradle?

Re: BUILD FAILED, A problem occurred evaluating project ':app'.

Posted: Sun May 29, 2022 10:38 am
by PyTom
Can you post the build.gradle file mentioned there?

Re: BUILD FAILED, A problem occurred evaluating project ':app'.

Posted: Sun May 29, 2022 3:47 pm
by rayminator
removed

Re: BUILD FAILED, A problem occurred evaluating project ':app'.

Posted: Sun May 29, 2022 9:28 pm
by PyTom
rayminator wrote: Sun May 29, 2022 3:47 pm Gradle User C++ language not python language that's the reason why it failed


Please don't give bad advice like this when I'm trying to help a user.

Re: BUILD FAILED, A problem occurred evaluating project ':app'.

Posted: Sun May 29, 2022 9:55 pm
by zmook
tinaadeel wrote: Sun May 29, 2022 5:29 am Thanks a lot for this info! If I may ask, how do I make it use the renpy build mode instead of Gradle?
In the ren'py Launcher, there's a button "Build Distributions". If you click there and then click "Build", you get a pretty useable distribution, nothing else required.

There are a bunch of options if you want them. See the docs: https://www.renpy.org/doc/html/build.ht ... ight=build