Ive made an Android Library for XOJO as shown in the below blog post example; I require my Android Library to be at a sdk version 33. But as you see from the compile error Xojo is sdk version 26. Is there a way I can override this in permissions?
Also, any chance a ManifestEdiitor will be included in xojo. The permissions and dependencies seem insufficient and lack proper explanation or syntax examples.
Android Compiler
C:\Users\sa-Liam1\AppData\Local\Temp\xojo scratch 28088\MDM Android Agent.xojo_xml_project [FDAF9B3D]\AndroidBuilds\MDM Android Agent_2283C0EE-1B5B-40FF-A344-A1565BF89492\app\src\main\AndroidManifest.xml Error:
uses-sdk:minSdkVersion 26 cannot be smaller than version 33 declared in library [Android MDM Lib-release.aar] C:\Users\sa-Liam1\.gradle\caches\8.10.2\transforms\52516c9dab56c3c2b2f4a11fb80f500c\transformed\Android MDM Lib-release\AndroidManifest.xml as the library might be using APIs not available in 26
Suggestion: use a compatible library with a minSdk of at most 26,
or increase this project's minSdk version to at least 33,
or use tools:overrideLibrary="com.scooterautomation.androidmdmlib" to force usage (may lead to runtime failures)
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:processReleaseMainManifest'.
> Manifest merger failed : uses-sdk:minSdkVersion 26 cannot be smaller than version 33 declared in library [Android MDM Lib-release.aar] C:\Users\sa-Liam1\.gradle\caches\8.10.2\transforms\52516c9dab56c3c2b2f4a11fb80f500c\transformed\Android MDM Lib-release\AndroidManifest.xml as the library might be using APIs not available in 26
Suggestion: use a compatible library with a minSdk of at most 26,
or increase this project's minSdk version to at least 33,
or use tools:overrideLibrary="com.scooterautomation.androidmdmlib" to force usage (may lead to runtime failures)
* 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.
BUILD FAILED in 2s