You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[DEBUG]:
[DEBUG]: > Task :packageDebug FAILED
[DEBUG]:
[DEBUG]: FAILURE: Build failed with an exception.
[DEBUG]:
[DEBUG]: * What went wrong:
[DEBUG]: Execution failed for task ':packageDebug'.
[DEBUG]: > A failure occurred while executing com.android.build.gradle.tasks.PackageAndroidArtifact$IncrementalSplitterRunnable
[DEBUG]: > java.lang.OutOfMemoryError (no error message)
[DEBUG]:
[DEBUG]: * Try:
[DEBUG]: > Run with --stacktrace option to get the stack trace.
[DEBUG]: > Run with --info or --debug option to get more log output.
[DEBUG]: > Run with --scan to get full insights.
[DEBUG]:
[DEBUG]: * Get more help at https://help.gradle.org
[DEBUG]:
[DEBUG]: Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
After first main app build
Each subsequent assembly takes up RAM: + 100Mb in RAM
Build test app + main app
buildozer android clean and deleting .gradle in home folder - does not help
When I use old p4a version (with ndk 19c) and build app twice.
pkill -9 -e -f java - solve issue
The text was updated successfully, but these errors were encountered:
I think it's a problem related to Gradle in Linux and not P4A, I'm currently learning Flutter and found the same problem when building to Android in the sense that memory is not freed when building is finished and increases in each build.
This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have the means to take action. Please reach out if you have or find the answers we need so that we can investigate further.
Versions
The same is true when using ndk 19c, but less memory is consumed with each build.
buildozer.spec
logs after 5 big app build:
After first main app build
Each subsequent assembly takes up RAM: + 100Mb in RAM
Build test app + main app
buildozer android clean
and deleting .gradle in home folder - does not helpWhen I use old p4a version (with ndk 19c) and build app twice.
pkill -9 -e -f java
- solve issueThe text was updated successfully, but these errors were encountered: