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

Commit

Permalink
Fixes for App Theme and MySql 8.0.21
Browse files Browse the repository at this point in the history
- 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
  • Loading branch information
Chris Board committed Aug 4, 2020
1 parent e2cae46 commit be14e8a
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
Binary file modified .idea/caches/build_file_checksums.ser
Binary file not shown.
6 changes: 3 additions & 3 deletions AndroidMySQLConnector/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ else
}

archivesBaseName="AndroidMySQLConnector"
version '0.40'
version '0.41'
group 'com.BoardiesITSolutions'


Expand All @@ -30,8 +30,8 @@ android {
//applicationId "com.BoardiesITSolutions.AndroidMySQLConnector"
minSdkVersion 19
targetSdkVersion 29
versionCode 28
versionName "0.40"
versionCode 29
versionName "0.41"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
Expand Down
3 changes: 1 addition & 2 deletions AndroidMySQLConnector/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,5 @@
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/AppTheme" />
android:supportsRtl="true" />
</manifest>
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ public class Connection
private final int UTF8_GENERAL_CI = 0x21;
private final int UTF8_UNICODE_CI =0xc0;
private final int UTF8MB4_UNICODE_CI = 0xe0;
private final int UTF8MB4 = 0xff;
private final int BINARY = 0x3f;

private AppCompatActivity activity;
Expand Down Expand Up @@ -492,6 +493,7 @@ private void setCharset() throws UnsupportedMySQLServerException {
case UTF8_GENERAL_CI:
case UTF8_UNICODE_CI:
case UTF8MB4_UNICODE_CI:
case UTF8MB4:
charset = Charset.forName("UTF-8");
break;
default:
Expand Down
2 changes: 1 addition & 1 deletion demoapplication/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])

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

}

0 comments on commit be14e8a

Please sign in to comment.