Changes in order to build with Android Studio Narwhal Legacy+Modern #40
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Status
READY/IN DEVELOPMENT
Description
Changes in order to build with Android Studio Narwhal for Legacy (Android<10) and Modern (Android X)
Rewrite of build.gradle, gradle.properties, AndroidManifest.xml
Changes to .java files to adapt android library imports and deprecated functions.
Related Issues
[Issue with the 2020 code, not compiling with Android Studio in 2025](#39 (comment)
Todos
Test environment
APK Tested on a Android 9.
APK build on Linux Mint and Android Studio Narwhal 4 (2025.1.4)
General informations
Android version : 9 (tested). Should run on Android <=9 and Modern build on >10
OCS Inventory informations
Android agent version : 2.7 (not changed)
Deploy Notes
Impacted Areas in Application
OCSSims (SIM informations)
OCSBios (Context)
** I heavily used a LLM coder for 6 hours as it's my first Android Project **