|
PROFESSIONAL NEWSGROUPS WINDEV, WEBDEV and WINDEV Mobile |
| | | | | |
Implementation of Android API 35 |
Started by Rafa Rionegro, Dec., 26 2024 12:47 PM - 6 replies |
| |
| | | |
|
| |
Posted on December, 26 2024 - 12:47 PM |
Recently WinDev Mobile 2025 updated the API version of Android to latest (35). But there's a problem, Android API 35 need a minimum Gradle version of 8.1.0 while WM uses Gradle 7.5.1 (the same as previous version). If I try to generate an apk with API 35 and Gradle 7.5.1, WM will fail with the next error:
Error creating the .apk> Android application.
Command line: "E:\PC SOFT\WINDEV Mobile 2025\Personal\Android\OpenJDK\bin\java.exe" -Duser.dir="D:\\Android\gen" "-Dorg.gradle.appname=D:\Android\gen" -classpath "E:\PC SOFT\WINDEV Mobile 2025\Personal\Android\Gradle\lib\gradle-launcher-7.5.1.jar" org.gradle.launcher.GradleMain assembleRelease -b "D:\\Android\gen\build.gradle"
Error returned: :processReleaseResources FAILED
FAILURE: Build completed with 2 failures.
1: Task failed with an exception. ----------- * What went wrong: Execution failed for task ':processReleaseResources'. A failure occurred while executing com.android.build.gradle.internal.res.LinkApplicationAndroidResourcesTask$TaskAction > Android resource linking failed aapt2.exe E 12-26 12:44:27 21384 9144 LoadedArsc.cpp:94] RES_TABLE_TYPE_TYPE entry offsets overlap actual entry data. aapt2.exe E 12-26 12:44:27 21384 9144 ApkAssets.cpp:149] Failed to load resources table in APK 'E:\PC SOFT\WINDEV Mobile 2025\Personal\Android\AndroidSDK\platforms\android-35\android.jar'. error: failed to load include path E:\PC SOFT\WINDEV Mobile 2025\Personal\Android\AndroidSDK\platforms\android-35\android.jar.
* 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. ==============================================================================
2: Task failed with an exception. ----------- * What went wrong: java.lang.StackOverflowError (no error message)
* 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
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
See https://docs.gradle.org/7.5.1/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 2s 33 actionable tasks: 10 executed, 2 from cache, 21 up-to-date
You need to update Gradle version for Windev Mobile 2025 |
| |
| |
| | | |
|
| | |
| |
Registered member 3,510 messages |
|
Posted on December, 26 2024 - 2:25 PM |
| |
| |
| | | |
|
| | |
| |
Registered member 866 messages |
|
Posted on December, 26 2024 - 8:38 PM |
| |
| |
| | | |
|
| | |
| |
Registered member 866 messages |
|
Posted on December, 26 2024 - 9:04 PM |
| |
| |
| | | |
|
| | |
| |
Registered member 3,510 messages |
|
Posted on December, 27 2024 - 6:50 AM |
Salut Ruben, Pour ce qui est du jdk, je préfère pas utilisé le open proposé dans le fichier update cité plus haut J'utilise toujours celui de oracle c'est une vieille version avant qu'il change leur licence. Pour l'instant, je n'ai pas eu de soucis avec. |
| |
| |
| | | |
|
| | |
| |
Posted on December, 27 2024 - 1:20 PM |
Popoy wrote:
I always build with WinDev's automatically installed tools (the ones that updated the Android SDK version to 35) and there is no update for Gradle 8.9. Also, if you want to add custom tools, the same IDE asks you for a Gradle 7.5.1 path:
|
| |
| |
| | | |
|
| | |
| |
Registered member 866 messages |
|
Posted on December, 27 2024 - 7:51 PM |
| |
| |
| | | |
|
| | | | |
| | |
| | |
| |
|
|
|