Android P blackList检测

Android P 兼容

Android P上面弹出来一个弹窗
Detected problems with API compatibility(visit g.co/dev/appcompat for more info)
意思就是我们使用某些禁用的API,在未来P上运行会造成崩溃。

如何检测

下载https://github.com/hansionit/Veridex
获取Veridex工具,这里附上google地址:下载地址
下面是执行命令

1、cd Veridex
2、按照不同系统解压veridex-mac\veridex-linux
3、进入解压文案,执行下面命令,最后test.apk改成自己的apk路径即可。
##### Linux x64

Download veridex-linux.zip, unzip the file and run with:

> ./appcompat.sh --dex-file=test.apk

##### [](https://github.com/hansionit/Veridex#macos)macOS

Download veridex-mac.zip, unzip the file and run with:

> ./appcompat.sh --dex-file=test.apk

以上操作即可获得检测结果,此处小计。

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容