John O'Reilly
12/05/2021, 9:41 AMjvmMain
)...anybody know why that would be the case (the KMP module in this case targets just android and JVM) ?
private static boolean isAndroid() {
try {
Class.forName("android.os.Build");
return true;
} catch (ClassNotFoundException ex) {
return false;
}
}
dwursteisen
12/05/2021, 10:43 AMJohn O'Reilly
12/05/2021, 10:44 AMJohn O'Reilly
12/05/2021, 11:35 AMjava
command logged (am running main
directly from Android Studio here fwiw...will try command line and also not sure if IntelliJ behaves any differently here)
-classpath /Users/joreilly/Library/Android/sdk/platforms/android-31/android.jar
dwursteisen
12/05/2021, 11:42 AMJohn O'Reilly
12/05/2021, 11:46 AMJohn O'Reilly
12/05/2021, 11:53 AMdwursteisen
12/05/2021, 11:54 AM