[PR #116] [MERGED] IDE: Android Builder update to 2022 stack #164

Closed
opened 2026-05-05 03:41:55 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ultimatepp/ultimatepp/pull/116
Author: @klugier
Created: 12/4/2022
Status: Merged
Merged: 12/4/2022
Merged by: @klugier

Base: masterHead: klugier/android-builder-d8


📝 Commits (8)

  • f4ab60e Ide: Added d8 support for Android Builder.
  • 04d51c6 Ide: Further work on D8, it works as expected.
  • 7a4e6e0 Ide: Migrate to apksigner from jarsigner.
  • f8af1d2 Ide: Remove unessesary spam from console while building Andorid.
  • 10ad795 Ide: Fix issue with non loading native Android libraries when build was executed on Windows.
  • e91119e Ide: Fix version with uncompatible Android platform versions. Now the information are read from AndroidManifest.xml
  • 13df9b7 Ide: Removed depricated mechanisms responsible for lunching Andorid SDK and AVD managers.
  • f963e01 Ide: Fix Android Builder for Linux.

📊 Changes

13 files changed (+337 additions, -128 deletions)

View changed files

📝 examples/AndroidMath/AndroidManifest.xml (+1 -0)
📝 uppsrc/ide/Android/Android.h (+24 -10)
📝 uppsrc/ide/Android/AndroidManifest.cpp (+36 -2)
📝 uppsrc/ide/Android/AndroidSDK.cpp (+7 -2)
📝 uppsrc/ide/Builders/Android.h (+3 -0)
📝 uppsrc/ide/Builders/AndroidBuilder.cpp (+166 -77)
📝 uppsrc/ide/Builders/AndroidBuilder.h (+5 -0)
📝 uppsrc/ide/Builders/AndroidProject.cpp (+37 -1)
📝 uppsrc/ide/Builders/Build.cpp (+53 -19)
📝 uppsrc/ide/Builders/Build.h (+1 -0)
📝 uppsrc/ide/ide.h (+0 -1)
📝 uppsrc/ide/idebar.cpp (+2 -3)
📝 uppsrc/ide/idetool.cpp (+2 -13)

📄 Description

Android Builder was modernized to the latest Google stacks. It is compatible with latest build tools version (33) and android (13).

The following PR covers:

  • Migration from deprecated DX to D8
  • Migrate from deprecated jarsigner to apksigner
  • Android Builder works now for both POSIX and Windows
  • There is no possibility to lunch SDK and AVD managers, the tools that we spawned previously are deprecated. We will need to write our own wrappers for console tools if we want to support that.
  • Android Builder now parsers AndroidManifest.xml file and informs Android NDK project about minAndroidSdk version from this file. This helps to avoid warnings in the build process.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ultimatepp/ultimatepp/pull/116 **Author:** [@klugier](https://github.com/klugier) **Created:** 12/4/2022 **Status:** ✅ Merged **Merged:** 12/4/2022 **Merged by:** [@klugier](https://github.com/klugier) **Base:** `master` ← **Head:** `klugier/android-builder-d8` --- ### 📝 Commits (8) - [`f4ab60e`](https://github.com/ultimatepp/ultimatepp/commit/f4ab60e05d41fac9ad517e47a4b72508328f4979) Ide: Added d8 support for Android Builder. - [`04d51c6`](https://github.com/ultimatepp/ultimatepp/commit/04d51c62512fbf77c76bf25487fe7bcbf13d3b2e) Ide: Further work on D8, it works as expected. - [`7a4e6e0`](https://github.com/ultimatepp/ultimatepp/commit/7a4e6e079a9c916e5aa3465f79bf8d15ea2df1c6) Ide: Migrate to apksigner from jarsigner. - [`f8af1d2`](https://github.com/ultimatepp/ultimatepp/commit/f8af1d2522043401a08f1933294d69c246cb316d) Ide: Remove unessesary spam from console while building Andorid. - [`10ad795`](https://github.com/ultimatepp/ultimatepp/commit/10ad79555589cefe60279283864e514eecf12807) Ide: Fix issue with non loading native Android libraries when build was executed on Windows. - [`e91119e`](https://github.com/ultimatepp/ultimatepp/commit/e91119eadbc84c51e1ddd4933489196d492addfd) Ide: Fix version with uncompatible Android platform versions. Now the information are read from AndroidManifest.xml - [`13df9b7`](https://github.com/ultimatepp/ultimatepp/commit/13df9b75db0d461a354efe8168a13e6da82d054e) Ide: Removed depricated mechanisms responsible for lunching Andorid SDK and AVD managers. - [`f963e01`](https://github.com/ultimatepp/ultimatepp/commit/f963e012c08f3687850d6d476ce0a9049da224b5) Ide: Fix Android Builder for Linux. ### 📊 Changes **13 files changed** (+337 additions, -128 deletions) <details> <summary>View changed files</summary> 📝 `examples/AndroidMath/AndroidManifest.xml` (+1 -0) 📝 `uppsrc/ide/Android/Android.h` (+24 -10) 📝 `uppsrc/ide/Android/AndroidManifest.cpp` (+36 -2) 📝 `uppsrc/ide/Android/AndroidSDK.cpp` (+7 -2) 📝 `uppsrc/ide/Builders/Android.h` (+3 -0) 📝 `uppsrc/ide/Builders/AndroidBuilder.cpp` (+166 -77) 📝 `uppsrc/ide/Builders/AndroidBuilder.h` (+5 -0) 📝 `uppsrc/ide/Builders/AndroidProject.cpp` (+37 -1) 📝 `uppsrc/ide/Builders/Build.cpp` (+53 -19) 📝 `uppsrc/ide/Builders/Build.h` (+1 -0) 📝 `uppsrc/ide/ide.h` (+0 -1) 📝 `uppsrc/ide/idebar.cpp` (+2 -3) 📝 `uppsrc/ide/idetool.cpp` (+2 -13) </details> ### 📄 Description Android Builder was modernized to the latest Google stacks. It is compatible with latest build tools version (33) and android (13). The following PR covers: - Migration from deprecated DX to D8 - Migrate from deprecated jarsigner to apksigner - Android Builder works now for both POSIX and Windows - There is no possibility to lunch SDK and AVD managers, the tools that we spawned previously are deprecated. We will need to write our own wrappers for console tools if we want to support that. - Android Builder now parsers AndroidManifest.xml file and informs Android NDK project about minAndroidSdk version from this file. This helps to avoid warnings in the build process. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-05 03:41:55 -06:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/ultimatepp#164
No description provided.