You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
adb: failed to install E:\matrixdemo\app\build\outputs\apk\debug\app-debug.apk: Failure [INSTALL_FAILED_INVALID_APK: Package couldn't be installed in /data/app/com.example.matrixdemo-1: Package /data/app/com.example.matrixdemo-1/base.apk code is missing
异常类型:打包之后apk安装失败
安装命令
输出日志:
反编译apk,发现里面缺少classes.dex文件
手机型号:无
手机系统版本:无
matrix版本:2.0.2
gradle版本:6.1.1,gradle插件版本:4.0.0
问题描述:
在自己创建的Demo工程中,配置了Debug混淆配置:
然后在gradle.properties配置了android.enableR8=false之后,就会出现这个问题,通过自己重复测试,发现同时配置了以上混淆参数和enableR8=false就会出现这个问题
项目只用函数耗时统计的功能,所以依赖的matrix库只有3个(MATRIX_VERSION=“2.0.2”):
matrix的配置代码:
class MyApplication : Application() {
}
The text was updated successfully, but these errors were encountered: