Better Android builds #130
Labels
No labels
Context: Async
Context: Bug
Context: CI
Context: Dependencies
Context: Documentation
Context: Enhancement
Context: Example
Context: Macro
Context: Runtime
Difficulty: Easy
Difficulty: Hard
Difficulty: Medium
Platform: Android
Platform: Linux
Platform: Web
Platform: Windows
Platform: iOS
Platform: macOS
Type: Discussion
Type: Evaluation
Type: Tracker
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
SakulFlee/Orbital#130
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
We have decided earlier that we won't use any CLI tool to generate Android projects on the fly.
This was mainly due to cargo-apk being deprecated and xbuild, it's replacement, being seemingly unmaintained and underdeveloped.
We do use cargo-ndk though to quickly compile our Rust code to the correct architectures + the Gradle plugin cargo-ndk-android-gradle to invoke this command automatically on Android builds.
The issue now is quality assurance and especially redudancy.
Currently, we need a seperate Android project for each Example we define.
It's already a lot to maintain all the Examples, but maintaining the Android project too is getting seemingly more difficult.
Especially if upgrades are needed...
We have found so far that each Android project is basically the same.
The only things that change are:
This means, we could define one template project and make a system that copies this template, changes the template fields and then builds the Android project.
The question now becomes how to do this.
Using a
build.rsisn't too efficient here, as we don't always want to build for Android and the Android builds take a significant amount of time.A build script would be much more efficient here in my opinion.
Buuuut... which language should this be in? Bash?