Skip to content
This repository was archived by the owner on Oct 18, 2024. It is now read-only.

Commit be14e8a

Browse files
author
Chris Board
committed
Fixes for App Theme and MySql 8.0.21
- Fixes an unnecessary Android:Theme parameter in the manifest which requires a tools:replace to override it - Fixes UnsupportedServerException error on MySQL 8.0.21
1 parent e2cae46 commit be14e8a

File tree

5 files changed

+7
-6
lines changed

5 files changed

+7
-6
lines changed

.idea/caches/build_file_checksums.ser

0 Bytes
Binary file not shown.

AndroidMySQLConnector/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ else
2020
}
2121

2222
archivesBaseName="AndroidMySQLConnector"
23-
version '0.40'
23+
version '0.41'
2424
group 'com.BoardiesITSolutions'
2525

2626

@@ -30,8 +30,8 @@ android {
3030
//applicationId "com.BoardiesITSolutions.AndroidMySQLConnector"
3131
minSdkVersion 19
3232
targetSdkVersion 29
33-
versionCode 28
34-
versionName "0.40"
33+
versionCode 29
34+
versionName "0.41"
3535
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
3636
}
3737
buildTypes {

AndroidMySQLConnector/src/main/AndroidManifest.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,5 @@
66
android:icon="@mipmap/ic_launcher"
77
android:label="@string/app_name"
88
android:roundIcon="@mipmap/ic_launcher_round"
9-
android:supportsRtl="true"
10-
android:theme="@style/AppTheme" />
9+
android:supportsRtl="true" />
1110
</manifest>

AndroidMySQLConnector/src/main/java/com/BoardiesITSolutions/AndroidMySQLConnector/Connection.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ public class Connection
9393
private final int UTF8_GENERAL_CI = 0x21;
9494
private final int UTF8_UNICODE_CI =0xc0;
9595
private final int UTF8MB4_UNICODE_CI = 0xe0;
96+
private final int UTF8MB4 = 0xff;
9697
private final int BINARY = 0x3f;
9798

9899
private AppCompatActivity activity;
@@ -492,6 +493,7 @@ private void setCharset() throws UnsupportedMySQLServerException {
492493
case UTF8_GENERAL_CI:
493494
case UTF8_UNICODE_CI:
494495
case UTF8MB4_UNICODE_CI:
496+
case UTF8MB4:
495497
charset = Charset.forName("UTF-8");
496498
break;
497499
default:

demoapplication/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@ dependencies {
3030
implementation fileTree(dir: 'libs', include: ['*.jar'])
3131

3232
implementation 'androidx.appcompat:appcompat:1.1.0'
33-
implementation 'com.github.BoardiesITSolutions:Android-MySQL-Connector:0.40_MySQL8'
33+
implementation 'com.github.BoardiesITSolutions:Android-MySQL-Connector:0.41_MySQL8'
3434

3535
}

0 commit comments

Comments
 (0)