Task :app:resguardNormalRelease
convertToPatternString typeName mipmap format ic_launcher.
convertToPatternString typeName xml format jpush.
convertToPatternString typeName drawable format jpush.
convertToPatternString typeName layout format jpush.
convertToPatternString typeName layout format push.
convertToPatternString typeName string format jg.
convertToPatternString typeName style format MyDialogStyle
convertToPatternString typeName style format JPushTheme
-->AndResGuard starting! Current thread# id: 227, name: included builds
unziping apk to D:\hexj\project\mobile-dacs-android-jdk17\mobile-dacs-android\app\build\outputs\apk\normal\release\AndResGuard_DACS_APP_normal_2023H1(31749)_release_20230720120033\temp
decoding resources.arsc
parse to get the exist names in the resouces.arsc first
reading packagename com.datacloak.mobiledacs
resources mapping file D:\hexj\project\mobile-dacs-android-jdk17\mobile-dacs-android\app\build\outputs\apk\normal\release\AndResGuard_DACS_APP_normal_2023H1(31749)_release_20230720120033\resource_mapping_DACS_APP_normal_2023H1(31749)_release_20230720120033.txt done
resources filter mapping file D:\hexj\project\mobile-dacs-android-jdk17\mobile-dacs-android\app\build\outputs\apk\normal\release\AndResGuard_DACS_APP_normal_2023H1(31749)_release_20230720120033\merge_duplicated_res_mapping_DACS_APP_normal_2023H1(31749)_release_20230
720120033.txt done
writing new resources.arsc
resources.arsc Character Encoding: utf-8
String pool size: 10
[AndResGuard] buildApk signatureType: SchemaV2
General unsigned apk: DACS_APP_normal_2023H1(31749)_release_20230720120033_unsigned.apk
What went wrong:
Execution failed for task ':app:resguardNormalRelease'.
java.lang.ExceptionInInitializerError (no error message)
已经添加这些配置: distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-bin.zip classpath 'com.android.tools.build:gradle:7.4.1' classpath 'io.github.leon406:AndResGuard-gradle-plugin:1.2.23' android.enableResourceOptimizations=false
还是报以下错误:
-->AndResGuard starting! Current thread# id: 227, name: included builds unziping apk to D:\hexj\project\mobile-dacs-android-jdk17\mobile-dacs-android\app\build\outputs\apk\normal\release\AndResGuard_DACS_APP_normal_2023H1(31749)_release_20230720120033\temp decoding resources.arsc parse to get the exist names in the resouces.arsc first reading packagename com.datacloak.mobiledacs resources mapping file D:\hexj\project\mobile-dacs-android-jdk17\mobile-dacs-android\app\build\outputs\apk\normal\release\AndResGuard_DACS_APP_normal_2023H1(31749)_release_20230720120033\resource_mapping_DACS_APP_normal_2023H1(31749)_release_20230720120033.txt done resources filter mapping file D:\hexj\project\mobile-dacs-android-jdk17\mobile-dacs-android\app\build\outputs\apk\normal\release\AndResGuard_DACS_APP_normal_2023H1(31749)_release_20230720120033\merge_duplicated_res_mapping_DACS_APP_normal_2023H1(31749)_release_20230 720120033.txt done writing new resources.arsc resources.arsc Character Encoding: utf-8 String pool size: 10 [AndResGuard] buildApk signatureType: SchemaV2
General unsigned apk: DACS_APP_normal_2023H1(31749)_release_20230720120033_unsigned.apk