The current codebase for
android_core does not get along very well with the latest Android APIs. I noticed some users were struggling a bit to get ROS running in Android Oreo as some questions popped up in ROS Answers. Furthermore, since November 2018 the apps released to the app store (or even updates to existing apps) will need to target API >= 26.
There are some downsides:
- Making the codebase backwards compatible all the way down to API 10 and 15 as it is now is becoming a headache. My suggestion is to rise the minimum API version to 16, and merge
android_15packages in a single package, namely
android_core_components. I really don’t think anyone is running a ROS application in an Android 15 phone by now, considering the platform version distribution; please let me know otherwise.
- Android build tools 26+ doesn’t have the
androidcommand, which was used by
rosjava_build_toolsto create Android projects from the command line. The current standard AFAIK is creating an app from Android Studio directly. See this issue for more details. A python script can be created in the future and make use of some templates if necessary.
If you have any suggestions or ideas regarding this please let me know!