plannB 发表于 2019-8-22 18:09

debuggable=true 加进去,回编译打包,启动不起来

本帖最后由 plannB 于 2019-8-22 18:12 编辑





某音的androidManifest.xml   文件打开是二进制的,


用Axmlprinter.java解出来如下图



debuggable=true 加进去,回编译-》打包--》签名-》安装
failed to install 102_412_killer_sign.apk: Failure
Failed to parse /data/app/vmdl1041807777.tmp/base.apk: Corrupt XML binary file]


怎么破啊?


etnet.top 发表于 2019-8-23 09:26

你现在什么都不加 ,只是反编译 ,然后回编译看看能不能正常跑起来先 ,可能人家➕了签名验证什么之类的

plannB 发表于 2019-8-23 10:26

etnet.top 发表于 2019-8-23 09:26
你现在什么都不加 ,只是反编译 ,然后回编译看看能不能正常跑起来先 ,可能人家➕了签名验证什么之 ...

我试了下,什么都不加,安装没有问题了,但是启动不了。 日志如下
08-23 10:16:53.370 26405 26405 W PackageManager: Failure retrieving xml 0x7f080003 in package com.ss.android.ugc.aweme
08-23 10:16:53.370 26405 26405 W PackageManager: android.content.res.Resources$NotFoundException: File r/z/d.xml from xml type xml resource ID #0x7f080003
08-23 10:16:53.370 26405 26405 W PackageManager:      at android.content.res.ResourcesImpl.loadXmlResourceParser(ResourcesImpl.java:1033)
08-23 10:16:53.370 26405 26405 W PackageManager:      at android.content.res.Resources.loadXmlResourceParser(Resources.java:2103)
08-23 10:16:53.370 26405 26405 W PackageManager:      at android.content.res.Resources.getXml(Resources.java:1164)
08-23 10:16:53.370 26405 26405 W PackageManager:      at android.app.ApplicationPackageManager.getXml(ApplicationPackageManager.java:1540)
08-23 10:16:53.370 26405 26405 W PackageManager:      at android.content.pm.PackageItemInfo.loadXmlMetaData(PackageItemInfo.java:343)
08-23 10:16:53.370 26405 26405 W PackageManager:      at android.support.v4.content.FileProvider.parsePathStrategy(FileProvider.java:605)
08-23 10:16:53.370 26405 26405 W PackageManager:      at android.support.v4.content.FileProvider.getPathStrategy(FileProvider.java:579)
08-23 10:16:53.370 26405 26405 W PackageManager:      at android.support.v4.content.FileProvider.attachInfo(FileProvider.java:392)
08-23 10:16:53.370 26405 26405 W PackageManager:      at android.app.ActivityThread.installProvider(ActivityThread.java:5859)
08-23 10:16:53.370 26405 26405 W PackageManager:      at android.app.ActivityThread.installContentProviders(ActivityThread.java:5451)
08-23 10:16:53.370 26405 26405 W PackageManager:      at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5386)
08-23 10:16:53.370 26405 26405 W PackageManager:      at android.app.ActivityThread.-wrap2(ActivityThread.java)
08-23 10:16:53.370 26405 26405 W PackageManager:      at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1546)
08-23 10:16:53.370 26405 26405 W PackageManager:      at android.os.Handler.dispatchMessage(Handler.java:102)
08-23 10:16:53.370 26405 26405 W PackageManager:      at android.os.Looper.loop(Looper.java:154)
08-23 10:16:53.370 26405 26405 W PackageManager:      at android.app.ActivityThread.main(ActivityThread.java:6125)
08-23 10:16:53.370 26405 26405 W PackageManager:      at java.lang.reflect.Method.invoke(Native Method)
08-23 10:16:53.370 26405 26405 W PackageManager:      at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:893)
08-23 10:16:53.370 26405 26405 W PackageManager:      at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:783)
08-23 10:16:53.370 26405 26405 W PackageManager: Caused by: java.io.FileNotFoundException: r/z/d.xml
08-23 10:16:53.370 26405 26405 W PackageManager:      at android.content.res.AssetManager.openXmlAssetNative(Native Method)
08-23 10:16:53.370 26405 26405 W PackageManager:      at android.content.res.AssetManager.openXmlBlockAsset(AssetManager.java:532)
08-23 10:16:53.370 26405 26405 W PackageManager:      at android.content.res.ResourcesImpl.loadXmlResourceParser(ResourcesImpl.java:1018)
08-23 10:16:53.370 26405 26405 W PackageManager:      ... 18 more
08-23 10:16:53.370 26405 26405 D AndroidRuntime: Shutting down VM

etnet.top 发表于 2019-8-23 17:35

plannB 发表于 2019-8-23 10:26
我试了下,什么都不加,安装没有问题了,但是启动不了。 日志如下
08-23 10:16:53.370 26405 26405 W Pa ...

问题不就是来了吗 ,人家做了反编译工作 ,可能做了资源验证什么之类的
页: [1]
查看完整版本: debuggable=true 加进去,回编译打包,启动不起来