We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5a41ce commit 22bc268Copy full SHA for 22bc268
src/processing/mode/android/AndroidBuild.java
@@ -100,7 +100,7 @@ class AndroidBuild extends JavaBuild {
100
static public String target_platform;
101
static {
102
target_sdk = Preferences.get("android.sdk.target");
103
- if (PApplet.parseInt(target_sdk) < 25) { // Must be Nougat (7.1.1) or higher
+ if (target_sdk == null || PApplet.parseInt(target_sdk) < 25) { // Must be Nougat (7.1.1) or higher
104
target_sdk = "25";
105
Preferences.set("android.sdk.target", target_sdk);
106
}
0 commit comments