refactor(appbase): SMTPConfigView改用libaes内置版本并修复R8混淆崩溃

- APPExcetionMailSettingsActivity引用改为cc.winboll.studio.libaes.views.SMTPConfigView
- 删除libappbase自定义SMTPConfigView
- appbase添加JavaMail依赖(android-mail/android-activation 1.6.7)
- proguard-rules保留javax.mail.**修复NoClassDefFoundError
- packagingOptions排除重复META-INF文件
This commit is contained in:
2026-07-21 18:06:04 +08:00
parent ce4f23f3f4
commit 9a529cf030
7 changed files with 20 additions and 306 deletions
+9
View File
@@ -44,6 +44,12 @@ android {
sourceCompatibility JavaVersion.VERSION_1_7
targetCompatibility JavaVersion.VERSION_1_7
}
packagingOptions {
exclude 'META-INF/LICENSE.md'
exclude 'META-INF/LICENSE.txt'
exclude 'META-INF/NOTICE.md'
exclude 'META-INF/NOTICE.txt'
}
}
dependencies {
@@ -53,6 +59,9 @@ dependencies {
//api 'cc.winboll.studio:libappbase:15.20.+'
api 'cc.winboll.studio:libaes:15.20.21'
api 'androidx.appcompat:appcompat:1.3.1'
// JavaMail SMTP (Android兼容版)
api 'com.sun.mail:android-mail:1.6.7'
api 'com.sun.mail:android-activation:1.6.7'
api fileTree(dir: 'libs', include: ['*.jar'])
}