错误信息:
您上传的 APK 或 Android App Bundle 内含活动、活动别名、服务或广播接收器,这些项目有 intent 过滤器,但没有“android:exported”属性设置。
云打包设置:
targetSdkVersion :31
通道选择:GooglePlay
common mode
错误原因:在手机上安装aab文件,在android 12系统上提示错误,
错误信息:
Caused by: com.android.ddmlib.InstallException: Failed to commit install session 1301308435 with command cmd package install-commit 1301308435. Error: INSTALL_PARSE_FAILED_MANIFEST_MALFORMED:
Failed parse during installPackageLI: /data/app/vmdl1301308435.tmp/base.apk (at Binary XML file line #204):
com.igexin.sdk.PushReceiver: Targeting S+ (version 31 and above) requires that an explicit value for android:exported be defined when intent filters are present
at com.android.ddmlib.SplitApkInstallerBase.installCommit(SplitApkInstallerBase.java:99)
at com.android.ddmlib.SplitApkInstaller.install(SplitApkInstaller.java:85)
at com.android.ddmlib.internal.DeviceImpl.installPackages(DeviceImpl.java:1166)
at com.android.tools.build.bundletool.device.DdmlibDevice.installApks(DdmlibDevice.java:176)
通过反编译,找到云打包的Androidminifest.xml文件,发现这部分配置确实没有加exported属性,官方麻烦确认一下,十万火急,已经拖了好几个月了。。。。
DCloud_Android_ST
你看到的是编译版本号 如果你仅是上架google play 目标版本配置31即可targetSdkVersion
2022-07-15 14:54