Update to SDK 34

This commit is contained in:
elasota
2024-07-14 00:27:39 -04:00
parent 02058eba73
commit 812ef5d377
3 changed files with 8 additions and 12 deletions

View File

@@ -8,15 +8,15 @@ else {
} }
android { android {
compileSdkVersion 33 compileSdkVersion 34
defaultConfig { defaultConfig {
if (buildAsApplication) { if (buildAsApplication) {
applicationId "org.thecodedeposit.aerofoil" applicationId "org.thecodedeposit.aerofoil"
} }
minSdkVersion 16 minSdkVersion 16
targetSdkVersion 33 targetSdkVersion 34
versionCode 18 versionCode 19
versionName "1.1.4" versionName "1.1.5"
externalNativeBuild { externalNativeBuild {
ndkBuild { ndkBuild {
arguments "APP_PLATFORM=android-16" arguments "APP_PLATFORM=android-16"
@@ -33,6 +33,7 @@ android {
release { release {
minifyEnabled false minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.debug
} }
} }
if (!project.hasProperty('EXCLUDE_NATIVE_LIBS')) { if (!project.hasProperty('EXCLUDE_NATIVE_LIBS')) {

View File

@@ -58,11 +58,6 @@ public class GpActivity extends SDLActivity
ParcelFileDescriptor fd = contentResolver.openFileDescriptor(uri, "w"); ParcelFileDescriptor fd = contentResolver.openFileDescriptor(uri, "w");
GpFileSystemAPI.nativePostSourceExportRequest(false, fd.getFd(), fd); GpFileSystemAPI.nativePostSourceExportRequest(false, fd.getFd(), fd);
} }
catch (FileNotFoundException e)
{
GpFileSystemAPI.nativePostSourceExportRequest(true, 0, null);
return;
}
catch (IOException e) catch (IOException e)
{ {
GpFileSystemAPI.nativePostSourceExportRequest(true, 0, null); GpFileSystemAPI.nativePostSourceExportRequest(true, 0, null);

View File

@@ -2,8 +2,8 @@
#define GP_BUILD_VERSION_MAJOR 1 #define GP_BUILD_VERSION_MAJOR 1
#define GP_BUILD_VERSION_MINOR 1 #define GP_BUILD_VERSION_MINOR 1
#define GP_BUILD_VERSION_UPDATE 4 #define GP_BUILD_VERSION_UPDATE 5
#define GP_APPLICATION_VERSION_STRING "1.1.4" #define GP_APPLICATION_VERSION_STRING "1.1.5"
#define GP_APPLICATION_COPYRIGHT_STRING "2019-2023 Eric Lasota" #define GP_APPLICATION_COPYRIGHT_STRING "2019-2024 Eric Lasota"
#define GP_APPLICATION_WEBSITE_STRING "https://github.com/elasota/Aerofoil" #define GP_APPLICATION_WEBSITE_STRING "https://github.com/elasota/Aerofoil"