shwenzhang / AndResGuard

proguard resource for Android by wechat team
Apache License 2.0
8.55k stars 1.54k forks source link

打包成功,安装提示失败 提示安装包损坏或不完整 是什么问题怎么解决? #457

Open zhjunvj opened 3 years ago

zhjunvj commented 3 years ago

下午4:58:36: Executing task 'resguardRelease'...

Executing tasks: [resguardRelease] in project /Project/wxrun

Configure project :app WARNING: DSL element 'annotationProcessorOptions.includeCompileClasspath' is obsolete. It will be removed in version 5.0 of the Android Gradle plugin. It does not do anything and AGP no longer includes annotation processors added on your project's compile classpath

Configure project :captcha WARNING: Configuration 'androidTestCompile' is obsolete and has been replaced with 'androidTestImplementation'. It will be removed in version 5.0 of the Android Gradle plugin. For more information, see http://d.android.com/r/tools/update-dependency-configurations.html.

Task :app:preBuild UP-TO-DATE Task :app:extractProguardFiles Task :app:preReleaseBuild Task :captcha:preBuild UP-TO-DATE Task :captcha:preReleaseBuild UP-TO-DATE Task :captcha:compileReleaseAidl NO-SOURCE Task :speedlib:preBuild UP-TO-DATE Task :speedlib:preReleaseBuild UP-TO-DATE Task :speedlib:compileReleaseAidl NO-SOURCE Task :app:compileReleaseAidl NO-SOURCE Task :captcha:packageReleaseRenderscript NO-SOURCE Task :speedlib:packageReleaseRenderscript NO-SOURCE Task :app:compileReleaseRenderscript NO-SOURCE Task :app:generateReleaseBuildConfig Task :app:generateReleaseResValues Task :app:generateReleaseResources Task :captcha:compileReleaseRenderscript NO-SOURCE Task :captcha:generateReleaseResValues Task :captcha:generateReleaseResources Task :captcha:packageReleaseResources Task :speedlib:compileReleaseRenderscript NO-SOURCE Task :speedlib:generateReleaseResValues Task :speedlib:generateReleaseResources Task :speedlib:packageReleaseResources Task :app:createReleaseCompatibleScreenManifests Task :app:extractDeepLinksRelease Task :captcha:extractDeepLinksRelease Task :captcha:processReleaseManifest Task :speedlib:extractDeepLinksRelease Task :speedlib:processReleaseManifest Task :app:processReleaseMainManifest Task :app:processReleaseManifest Task :speedlib:writeReleaseAarMetadata Task :captcha:generateReleaseBuildConfig Task :captcha:writeReleaseAarMetadata Task :app:javaPreCompileRelease Task :speedlib:generateReleaseBuildConfig Task :app:mergeReleaseNativeDebugMetadata NO-SOURCE Task :app:mergeReleaseShaders Task :app:compileReleaseShaders NO-SOURCE Task :app:generateReleaseAssets UP-TO-DATE Task :captcha:mergeReleaseShaders Task :captcha:compileReleaseShaders NO-SOURCE Task :captcha:generateReleaseAssets UP-TO-DATE Task :captcha:packageReleaseAssets Task :speedlib:mergeReleaseShaders Task :speedlib:compileReleaseShaders NO-SOURCE Task :speedlib:generateReleaseAssets UP-TO-DATE Task :speedlib:packageReleaseAssets Task :app:mergeReleaseAssets Task :speedlib:javaPreCompileRelease Task :speedlib:parseReleaseLocalResources Task :app:compressReleaseAssets Task :captcha:javaPreCompileRelease Task :app:processReleaseJavaRes NO-SOURCE Task :captcha:processReleaseJavaRes NO-SOURCE Task :captcha:bundleLibResRelease NO-SOURCE Task :speedlib:processReleaseJavaRes NO-SOURCE Task :speedlib:bundleLibResRelease NO-SOURCE Task :app:collectReleaseDependencies Task :app:sdkReleaseDependencyData Task :app:mergeReleaseJniLibFolders Task :captcha:mergeReleaseJniLibFolders Task :captcha:mergeReleaseNativeLibs NO-SOURCE Task :captcha:stripReleaseDebugSymbols NO-SOURCE Task :captcha:copyReleaseJniLibsProjectOnly Task :speedlib:mergeReleaseJniLibFolders Task :speedlib:mergeReleaseNativeLibs NO-SOURCE Task :speedlib:stripReleaseDebugSymbols NO-SOURCE Task :speedlib:copyReleaseJniLibsProjectOnly Task :app:processReleaseManifestForPackage Task :app:validateSigningRelease Task :app:checkReleaseAarMetadata Task :app:checkReleaseDuplicateClasses Task :speedlib:generateReleaseRFile

Task :speedlib:compileReleaseJavaWithJavac

Task :speedlib:mergeReleaseGeneratedProguardFiles 注: 某些输入文件使用或覆盖了已过时的 API。 注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。 注: 某些输入文件使用了未经检查或不安全的操作。 注: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。 Task :app:mergeReleaseResources Task :speedlib:exportReleaseConsumerProguardFiles Task :speedlib:bundleLibCompileToJarRelease Task :speedlib:bundleLibRuntimeToJarRelease Task :captcha:parseReleaseLocalResources Task :captcha:generateReleaseRFile Task :app:processReleaseResources

Task :app:mergeReleaseNativeLibs More than one file was found with OS independent path 'lib/armeabi-v7a/libnms.so'. This version of the Android Gradle Plugin chooses the file from the app or dynamic-feature module, but this can cause unexpected behavior or errors at runtime. Future versions of the Android Gradle Plugin will throw an error in this case. More than one file was found with OS independent path 'lib/armeabi-v7a/libtobEmbedEncrypt.so'. This version of the Android Gradle Plugin chooses the file from the app or dynamic-feature module, but this can cause unexpected behavior or errors at runtime. Future versions of the Android Gradle Plugin will throw an error in this case.

Task :captcha:compileReleaseJavaWithJavac

Task :captcha:mergeReleaseGeneratedProguardFiles 注: 某些输入文件使用或覆盖了已过时的 API。 注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。 Task :captcha:exportReleaseConsumerProguardFiles

Task :app:stripReleaseDebugSymbols Unable to strip the following libraries, packaging them as they are: libMMANDKSignature.so, libbuffer_pg.so, libcocklogic-1.1.3.so, libconceal.so, libcrashsdk.so, libfile_lock_pg.so, libnative-gamesdk.so, libnms.so, libpl_droidsonroids_gif.so, libsecsdk.so, libsgcore.so, libtnet-3.1.14.so, libtobEmbedEncrypt.so, libturingau.so, libumeng-spy.so, libyaqcore_gdtadv.so, libyaqstub_gdtadv.so.

Task :captcha:bundleLibCompileToJarRelease

Task :app:compileReleaseJavaWithJavac 注: [2] Wrote GeneratedAppGlideModule with: [] 注: 某些输入文件使用或覆盖了已过时的 API。 注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。 注: 某些输入文件使用了未经检查或不安全的操作。 注: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。

Task :app:compileReleaseSources Task :app:mergeReleaseGeneratedProguardFiles Task :captcha:bundleLibRuntimeToJarRelease Task :app:mergeReleaseJavaResource

Task :app:minifyReleaseWithR8 AGPBI: {"kind":"warning","text":"Option -repackageclasses overrides -flattenpackagehierarchy","sources":[{"file":"/Project/wxrun/app/proguard-rules.pro","position":{"startLine":48,"startColumn":0,"startOffset":1378,"endColumn":24,"endOffset":1402}}],"tool":"R8"} AGPBI: {"kind":"warning","text":"Ignoring option: -dump","sources":[{"file":"/Project/wxrun/app/proguard-rules.pro","position":{"startLine":63,"startColumn":0,"startOffset":1672,"endColumn":21,"endOffset":1693}}],"tool":"R8"} AGPBI: {"kind":"warning","text":"The field name \"\" is used in a field rule. The characters in this field name are legal for the JVM, but unlikely to originate from a source language. Maybe this is not the rule you are looking for.","sources":[{"file":"/Users/jinglingjisuanji/.gradle/caches/transforms-2/files-2.1/78a063e466392747ae9159a93121e976/jetified-sdk-3.1.1.0/proguard.txt","position":{"startLine":305,"startColumn":9,"startOffset":11737,"endColumn":18,"endOffset":11746}}],"tool":"R8"}

Task :app:shrinkReleaseRes Task :app:packageRelease Task :app:assembleRelease

Task :app:resguardRelease [Warning] Remove resources.arsc from the compressPattern. ([.png, .jpg, .jpeg, .gif]) convertToPatternString typeName style format GifTextureView convertToPatternString typeName style format GifView convertToPatternString typeName style format CircleImageView convertToPatternString typeName style format CountdownView convertToPatternString typeName style format TickerView convertToPatternString typeName mipmap format biz_lottery_result_gift convertToPatternString typeName mipmap format biz_lottery_result_gold convertToPatternString typeName mipmap format biz_lottery_result_thanks convertToPatternString typeName drawable format icon convertToPatternString typeName string format com.crashlytics.. convertToPatternString typeName string format google_app_id convertToPatternString typeName string format gcm_defaultSenderId convertToPatternString typeName string format default_web_client_id convertToPatternString typeName string format ga_trackingId convertToPatternString typeName string format firebase_database_url convertToPatternString typeName string format google_api_key convertToPatternString typeName string format google_crash_reporting_api_key convertToPatternString typeName anim format umeng. convertToPatternString typeName string format umeng. convertToPatternString typeName string format UM. convertToPatternString typeName string format tb.* convertToPatternString typeName string format emui. convertToPatternString typeName string format hms_. convertToPatternString typeName string format upsdk. convertToPatternString typeName layout format umeng. convertToPatternString typeName layout format socialize. convertToPatternString typeName layout format .messager. convertToPatternString typeName layout format tb_. convertToPatternString typeName layout format hms. convertToPatternString typeName color format umeng. convertToPatternString typeName color format tb. convertToPatternString typeName style format .UM. convertToPatternString typeName style format umeng. convertToPatternString typeName style format upsdkDlDialog convertToPatternString typeName drawable format umeng. convertToPatternString typeName drawable format tb_. convertToPatternString typeName drawable format sina. convertToPatternString typeName drawable format qq_. convertToPatternString typeName drawable format tb_. convertToPatternString typeName id format umeng. convertToPatternString typeName id format .messager. convertToPatternString typeName id format progress_barparent convertToPatternString typeName id format socialize. convertToPatternString typeName id format webView convertToPatternString typeName string format hms_. convertToPatternString typeName string format connect_server_fail_prompt_toast convertToPatternString typeName string format getting_message_fail_prompt_toast convertToPatternString typeName string format no_available_network_prompt_toast convertToPatternString typeName string format thirdapp. convertToPatternString typeName string format upsdk_. convertToPatternString typeName style format upsdkDlDialog convertToPatternString typeName style format AppTheme convertToPatternString typeName style format AppBaseTheme convertToPatternString typeName dimen format upsdkdialog. convertToPatternString typeName color format upsdk_. convertToPatternString typeName layout format upsdk.* convertToPatternString typeName layout format hwpush. convertToPatternString typeName drawable format upsdk_. convertToPatternString typeName drawable format hms.* convertToPatternString typeName layout format hms. convertToPatternString typeName id format hms_. convertToPatternString typeName string format tt.* convertToPatternString typeName string format appdownloader. convertToPatternString typeName string format ttdownloader_. convertToPatternString typeName integer format tt.* convertToPatternString typeName layout format tt. convertToPatternString typeName layout format appdownloader_. convertToPatternString typeName layout format ttdownloader.* convertToPatternString typeName drawable format tt. convertToPatternString typeName drawable format appdownloader_. convertToPatternString typeName drawable format ttdownloader.* convertToPatternString typeName style format tt. convertToPatternString typeName style format ttdownloader_. convertToPatternString typeName style format appdownloader.* convertToPatternString typeName style format DialogFullscreen convertToPatternString typeName style format EditTextStyle convertToPatternString typeName style format Theme.Dialog.TTDownload convertToPatternString typeName style format Theme.Dialog.TTDownloadOld convertToPatternString typeName dimen format tt. convertToPatternString typeName anim format tt_. convertToPatternString typeName color format tt.* convertToPatternString typeName color format appdownloader. convertToPatternString typeName color format ttdownloader_. convertToPatternString typeName id format tt.* convertToPatternString typeName string format ksad. convertToPatternString typeName integer format ksad_. convertToPatternString typeName layout format ksad.* convertToPatternString typeName drawable format ksad. convertToPatternString typeName style format ksad_. convertToPatternString typeName dimen format ksad.* convertToPatternString typeName anim format ksad. convertToPatternString typeName color format ksad_. convertToPatternString typeName id format ksad.* convertToPatternString typeName string format gdt. convertToPatternString typeName integer format gdt_. convertToPatternString typeName layout format gdt.* convertToPatternString typeName drawable format gdt. convertToPatternString typeName style format gdt_. convertToPatternString typeName dimen format gdt.* convertToPatternString typeName anim format gdt. convertToPatternString typeName color format gdt_. convertToPatternString typeName id format gdt.* convertToPatternString typeName string format customactivityoncrash. convertToPatternString typeName integer format customactivityoncrash_. convertToPatternString typeName layout format customactivityoncrash.* convertToPatternString typeName drawable format customactivityoncrash. convertToPatternString typeName style format customactivityoncrash_. convertToPatternString typeName dimen format customactivityoncrash.* convertToPatternString typeName anim format customactivityoncrash. convertToPatternString typeName color format customactivityoncrash_. convertToPatternString typeName id format customactivityoncrash.* convertToPatternString typeName string format brvah. convertToPatternString typeName integer format brvah_. convertToPatternString typeName layout format brvah.* convertToPatternString typeName drawable format brvah. convertToPatternString typeName style format brvah_. convertToPatternString typeName dimen format brvah.* convertToPatternString typeName dimen format dp. convertToPatternString typeName dimen format sp_. convertToPatternString typeName dimen format defheight convertToPatternString typeName anim format brvah. convertToPatternString typeName color format brvah_. convertToPatternString typeName id format brvah_. convertToPatternString typeName integer format libupdate. convertToPatternString typeName layout format libupdate. convertToPatternString typeName drawable format libupdate. convertToPatternString typeName style format UpdateApp. convertToPatternString typeName xml format newapp. convertToPatternString typeName anim format update_. convertToPatternString typeName mipmap format libupdate. convertToPatternString typeName id format update_. convertToPatternString typeName id format libupdate. convertToPatternString typeName string format fox.* convertToPatternString typeName string format jf. convertToPatternString typeName integer format fox_. convertToPatternString typeName layout format includead. convertToPatternString typeName layout format fox_. convertToPatternString typeName layout format dialogpopup. convertToPatternString typeName drawable format icon_. convertToPatternString typeName drawable format fox.* convertToPatternString typeName style format fox. convertToPatternString typeName style format FileDownloadProgressBar convertToPatternString typeName style format FoxImageView convertToPatternString typeName style format FoxShView convertToPatternString typeName style format FoxStreamerView convertToPatternString typeName style format FoxWallView convertToPatternString typeName style format FoxDialogFragmentStyle convertToPatternString typeName style format FoxJFTextViewMessageContent convertToPatternString typeName style format FoxSDKTheme convertToPatternString typeName style format MyTheme convertToPatternString typeName style format Theme.CustomDialog convertToPatternString typeName style format TranslucentActivityStyle convertToPatternString typeName style format Widget.GifView convertToPatternString typeName style format XPopupTitle convertToPatternString typeName dimen format fox_. convertToPatternString typeName anim format fox.* convertToPatternString typeName color format fox. convertToPatternString typeName color format base_. convertToPatternString typeName color format color. convertToPatternString typeName color format color. convertToPatternString typeName id format fox. convertToPatternString typeName xml format fox_. convertToPatternString typeName xml format update.* convertToPatternString typeName xml format util. convertToPatternString typeName string format abc_. convertToPatternString typeName integer format abc.* convertToPatternString typeName layout format abc. convertToPatternString typeName layout format select_. convertToPatternString typeName layout format support.* convertToPatternString typeName drawable format abc. convertToPatternString typeName drawable format btn_. convertToPatternString typeName drawable format tooltip.* convertToPatternString typeName style format abc. convertToPatternString typeName dimen format abc_. convertToPatternString typeName anim format abc.* convertToPatternString typeName anim format btn. convertToPatternString typeName color format abc_. convertToPatternString typeName color format switch.* convertToPatternString typeName id format abc. convertToPatternString typeName interpolator format btn_. convertToPatternString typeName interpolator format fast.* convertToPatternString typeName string format pickerview. convertToPatternString typeName integer format animation_defaultduration convertToPatternString typeName layout format pickerview. convertToPatternString typeName layout format includepickerview. convertToPatternString typeName layout format layoutbasepickerview convertToPatternString typeName drawable format pickerview. convertToPatternString typeName style format pickerview. convertToPatternString typeName style format customdialog2 convertToPatternString typeName style format pickerview convertToPatternString typeName dimen format pickerview. convertToPatternString typeName anim format pickerview.* convertToPatternString typeName color format pickerview. convertToPatternString typeName id format pickerview_. convertToPatternString typeName layout format banner convertToPatternString typeName drawable format black.* convertToPatternString typeName drawable format gray. convertToPatternString typeName drawable format no_. convertToPatternString typeName drawable format white.* convertToPatternString typeName style format Banner convertToPatternString typeName animator format scale.*

-->AndResGuard starting! Current thread# id: 1749, name: Execution worker for ':' Thread 4 unziping apk to /Project/wxrun/app/build/outputs/apk/release/AndResGuard_app-release/temp decoding resources.arsc parse to get the exist names in the resouces.arsc first reading packagename com.jingling.liuliang.wifi resources mapping file /Project/wxrun/app/build/outputs/apk/release/AndResGuard_app-release/resource_mapping_app-release.txt done resources filter mapping file /Project/wxrun/app/build/outputs/apk/release/AndResGuard_app-release/merge_duplicated_res_mapping_app-release.txt done writing new resources.arsc resources.arsc Character Encoding: utf-8 String pool size: 1625 [AndResGuard] buildApk signatureType: SchemaV2 General unsigned apk: app-release_unsigned.apk add meta file /Project/wxrun/app/build/outputs/apk/release/AndResGuard_app-release/temp/META-INF/androidx.activity_activity.version add meta file /Project/wxrun/app/build/outputs/apk/release/AndResGuard_app-release/temp/META-INF/androidx.appcompat_appcompat-resources.version add meta file /Project/wxrun/app/build/outputs/apk/release/AndResGuard_app-release/temp/META-INF/androidx.appcompat_appcompat.version add meta file /Project/wxrun/app/build/outputs/apk/release/AndResGuard_app-release/temp/META-INF/androidx.arch.core_core-runtime.version add meta file /Project/wxrun/app/build/outputs/apk/release/AndResGuard_app-release/temp/META-INF/androidx.asynclayoutinflater_asynclayoutinflater.version add meta file /Project/wxrun/app/build/outputs/apk/release/AndResGuard_app-release/temp/META-INF/androidx.coordinatorlayout_coordinatorlayout.version add meta file /Project/wxrun/app/build/outputs/apk/release/AndResGuard_app-release/temp/META-INF/androidx.core_core.version add meta file /Project/wxrun/app/build/outputs/apk/release/AndResGuard_app-release/temp/META-INF/androidx.cursoradapter_cursoradapter.version add meta file /Project/wxrun/app/build/outputs/apk/release/AndResGuard_app-release/temp/META-INF/androidx.customview_customview.version add meta file /Project/wxrun/app/build/outputs/apk/release/AndResGuard_app-release/temp/META-INF/androidx.documentfile_documentfile.version add meta file /Project/wxrun/app/build/outputs/apk/release/AndResGuard_app-release/temp/META-INF/androidx.drawerlayout_drawerlayout.version add meta file /Project/wxrun/app/build/outputs/apk/release/AndResGuard_app-release/temp/META-INF/androidx.exifinterface_exifinterface.version add meta file /Project/wxrun/app/build/outputs/apk/release/AndResGuard_app-release/temp/META-INF/androidx.fragment_fragment.version add meta file /Project/wxrun/app/build/outputs/apk/release/AndResGuard_app-release/temp/META-INF/androidx.interpolator_interpolator.version add meta file /Project/wxrun/app/build/outputs/apk/release/AndResGuard_app-release/temp/META-INF/androidx.legacy_legacy-support-core-ui.version add meta file /Project/wxrun/app/build/outputs/apk/release/AndResGuard_app-release/temp/META-INF/androidx.legacy_legacy-support-core-utils.version add meta file /Project/wxrun/app/build/outputs/apk/release/AndResGuard_app-release/temp/META-INF/androidx.legacy_legacy-support-v4.version add meta file /Project/wxrun/app/build/outputs/apk/release/AndResGuard_app-release/temp/META-INF/androidx.lifecycle_lifecycle-livedata-core.version add meta file /Project/wxrun/app/build/outputs/apk/release/AndResGuard_app-release/temp/META-INF/androidx.lifecycle_lifecycle-livedata.version add meta file /Project/wxrun/app/build/outputs/apk/release/AndResGuard_app-release/temp/META-INF/androidx.lifecycle_lifecycle-runtime.version add meta file /Project/wxrun/app/build/outputs/apk/release/AndResGuard_app-release/temp/META-INF/androidx.lifecycle_lifecycle-viewmodel.version add meta file /Project/wxrun/app/build/outputs/apk/release/AndResGuard_app-release/temp/META-INF/androidx.loader_loader.version add meta file /Project/wxrun/app/build/outputs/apk/release/AndResGuard_app-release/temp/META-INF/androidx.localbroadcastmanager_localbroadcastmanager.version add meta file /Project/wxrun/app/build/outputs/apk/release/AndResGuard_app-release/temp/META-INF/androidx.media_media.version add meta file /Project/wxrun/app/build/outputs/apk/release/AndResGuard_app-release/temp/META-INF/androidx.print_print.version add meta file /Project/wxrun/app/build/outputs/apk/release/AndResGuard_app-release/temp/META-INF/androidx.recyclerview_recyclerview.version add meta file /Project/wxrun/app/build/outputs/apk/release/AndResGuard_app-release/temp/META-INF/androidx.savedstate_savedstate.version add meta file /Project/wxrun/app/build/outputs/apk/release/AndResGuard_app-release/temp/META-INF/androidx.slidingpanelayout_slidingpanelayout.version add meta file /Project/wxrun/app/build/outputs/apk/release/AndResGuard_app-release/temp/META-INF/androidx.swiperefreshlayout_swiperefreshlayout.version add meta file /Project/wxrun/app/build/outputs/apk/release/AndResGuard_app-release/temp/META-INF/androidx.vectordrawable_vectordrawable-animated.version add meta file /Project/wxrun/app/build/outputs/apk/release/AndResGuard_app-release/temp/META-INF/androidx.vectordrawable_vectordrawable.version add meta file /Project/wxrun/app/build/outputs/apk/release/AndResGuard_app-release/temp/META-INF/androidx.versionedparcelable_versionedparcelable.version add meta file /Project/wxrun/app/build/outputs/apk/release/AndResGuard_app-release/temp/META-INF/androidx.viewpager_viewpager.version add meta file /Project/wxrun/app/build/outputs/apk/release/AndResGuard_app-release/temp/META-INF/kotlin-stdlib-common.kotlin_module add meta file /Project/wxrun/app/build/outputs/apk/release/AndResGuard_app-release/temp/META-INF/kotlin-stdlib.kotlin_module add meta file /Project/wxrun/app/build/outputs/apk/release/AndResGuard_app-release/temp/META-INF/okhttp.kotlin_module add meta file /Project/wxrun/app/build/outputs/apk/release/AndResGuard_app-release/temp/META-INF/okio.kotlin_module add meta file /Project/wxrun/app/build/outputs/apk/release/AndResGuard_app-release/temp/META-INF/push.properties add meta file /Project/wxrun/app/build/outputs/apk/release/AndResGuard_app-release/temp/META-INF/retrofit.kotlin_module DestResDir 1412 rawResDir 1441 use 7zip to repackage: app-release_7zip_unsigned.apk, will cost much more time [addStoredFileIn7Zip]rewrite the stored file into the 7zip, file count: 27 zipaligning apk: /Project/wxrun/app/build/outputs/apk/release/AndResGuard_app-release/app-release_7zip_unsigned.apk, exists:true signing apk: app-release_7zip_aligned_signed.apk Backup Final APk(V2) to /Project/wxrun/app/build/outputs/apk/release/app-release.apk <--AndResGuard Done! You can find the output in /Project/wxrun/app/build/outputs/apk/release/AndResGuard_app-release

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0. Use '--warning-mode all' to show the individual deprecation warnings. See https://docs.gradle.org/6.5/userguide/command_line_interface.html#sec:command_line_warnings

BUILD SUCCESSFUL in 1m 33s 65 actionable tasks: 65 executed 下午5:00:10: Task execution finished 'resguardRelease'.

wenju999 commented 3 years ago

lib里面有没有.so文件?

zhjunvj commented 3 years ago

有.so文件 ,so文件要怎么处理?

wenju999 commented 3 years ago

在清单文件的application中加入android:extractNativeLibs="true",试一下。

zhjunvj commented 3 years ago

好,我试试

zhjunvj commented 3 years ago

可以了 谢谢 !@wanwenju

wenju999 commented 3 years ago

不客气,感兴趣的话可以看一下这个文章,https://www.jianshu.com/p/9a75aeb47ab1,原因应该和这个库的打包原理有关系,加固的APk都可能遇见这个问题

wenju999 commented 3 years ago

https://www.jianshu.com/p/9a75aeb47ab1

zhjunvj commented 3 years ago

好 我看看 @wanwenju