<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>[WM28] Unable to generate APK</title>
        <description> Greetings guys, 

I have recently upgraded WM to 28 and upgraded my project from WM25 to 28, but when I try to generate APK this error (In the attachments) would appear, any idea on how to fix it?</description>
        <link>https://www.wxforum.info/read.php?27131,797445,797445#msg-797445</link>
        <lastBuildDate>Wed, 20 May 2026 11:54:23 +0200</lastBuildDate>
        <generator>Phorum 5.2.23</generator>
        <item>
            <guid>https://www.wxforum.info/read.php?27131,797445,797458#msg-797458</guid>
            <title>Re: [WM28] Unable to generate APK</title>
            <link>https://www.wxforum.info/read.php?27131,797445,797458#msg-797458</link>
            <description><![CDATA[ Hey Darren,<br />
<br />
thanks for the reply but we ended up solving it, which is in a way funny on what was causing the issue<br />
<br />
so we had the newest gradle provided by downloading it via WM28 (so 7.5.1, not 8.1), so that shouldn&#039;t have been problem, and when we checked the logs it mentioned that the JVM Memory was full, which was odd because WM28 was the only thing running on the 8gb RAM PC, so we decided to check what happens when we try to generate the APK again and... it was powershell that was eating the RAM, massive amounts of powershell instances eating up the resources, so we restarted the dev PC and it works now]]></description>
            <dc:creator>RobertLeo</dc:creator>
            <category>WinDev Forum</category>
            <pubDate>Mon, 11 Sep 2023 07:40:11 +0200</pubDate>
        </item>
        <item>
            <guid>https://www.wxforum.info/read.php?27131,797445,797456#msg-797456</guid>
            <title>Re: [WM28] Unable to generate APK</title>
            <link>https://www.wxforum.info/read.php?27131,797445,797456#msg-797456</link>
            <description><![CDATA[ Hi,<br />
<br />
You don&#039;t make it clear what you have tried so far, if anything? As you probably know, Gradle isn&#039;t a PCS product, it&#039;s a (kind of) development framework, so the issue probably isn&#039;t directly attributable to WM.<br />
<br />
There are a few things I would try to begin with...<br />
<br />
1) Have you taken a look at the log file? JVM crash log found: file:///D:/new/MobileProjectAndroid/Android/gen/hs_err_pid4456.log<br />
<br />
2) When making such a (relatively) big leap from WM25 to WM28, it could be the version of Gradle you are using that is causing the issues you are seeing.<br />
<br />
3) With it being a Gradle issue, as I said, it&#039;s probably not just limited to WM; I found this on the Gradle org site and another older post on stack overflow that might help - <br />
[<a href="https://discuss.gradle.org/t/failure-build-failed-with-an-exception-gradle-command-in-terminal/41356"  rel="nofollow">discuss.gradle.org</a>]<br />
...or... and older post:<br />
[<a href="https://stackoverflow.com/questions/34940056/could-not-dispatch-a-message-to-the-daemon"  rel="nofollow">stackoverflow.com</a>]<br />
...but don&#039;t be limited to my example search, have a look around, you might just find something?<br />
<br />
Hope this helps in some small way? :)]]></description>
            <dc:creator>DarrenF</dc:creator>
            <category>WinDev Forum</category>
            <pubDate>Sun, 10 Sep 2023 18:35:48 +0200</pubDate>
        </item>
        <item>
            <guid>https://www.wxforum.info/read.php?27131,797445,797445#msg-797445</guid>
            <title>[WM28] Unable to generate APK</title>
            <link>https://www.wxforum.info/read.php?27131,797445,797445#msg-797445</link>
            <description><![CDATA[ Greetings guys, <br />
<br />
I have recently upgraded WM to 28 and upgraded my project from WM25 to 28, but when I try to generate APK this error (In the attachments) would appear, any idea on how to fix it?]]></description>
            <dc:creator>RobertLeo</dc:creator>
            <category>WinDev Forum</category>
            <pubDate>Sun, 03 Sep 2023 07:50:50 +0200</pubDate>
        </item>
    </channel>
</rss>
