In early versions of Processing the Android menu had options to set the minSdk and targetSdk, but this has now gone. Also in the past, these were set in the manifest but I know from tinkering with Android Studio these are now set as part of the build.gradle file.
So … is this something we can’t do now in Processing … how and where are the min and target sdk set nowadays, or are they fixed behind the scenes for us .. and if so … what are they fixed at?
I have no idea if changing the numbers will have any effect, but for the revised AndroidMode that I used to run the demo above on my Nexus 4 these values are listed in version.properties in the AndroidMode folder.
I tend to use Android Studio mostly as this is how the min and target sdk are set but for Processing users it used to be useful having a menu option to do this instead of digging deep
Another good reason for making the effort to migrate to Android Studio is that these issues don’t arise as often … never in the past few years for me! I still get use of the full Processing library and super easy APK and bundle generation.
I do still use Processing for some code generation but will then copy it over for final assembly.
Processing is an amazing way to access Android development… I’d never have got going with it otherwise