3周前同样打包过安装是没问题的,现在是打包后,不管是自定义基座运行还是打包apk安装都失败了,
下面是自定义基座运行时安装基座的时候用 .\adb.exe logcat -v time 捕捉到的日志,提示无法识别manifest里的queries 元素
06-03 14:24:47.571 W/PackageParser( 485): Ignoring duplicate uses-permissions/uses-permissions-sdk-m: android.permission.ACCESS_COARSE_LOCATION in package: io.weimaqi.hardware at: Binary XML file line #51
06-03 14:24:47.571 W/PackageParser( 485): Ignoring duplicate uses-permissions/uses-permissions-sdk-m: android.permission.ACCESS_FINE_LOCATION in package: io.weimaqi.hardware at: Binary XML file line #52
06-03 14:24:47.571 W/PackageParser( 485): Ignoring duplicate uses-permissions/uses-permissions-sdk-m: android.permission.ACCESS_WIFI_STATE in package: io.weimaqi.hardware at: Binary XML file line #53
06-03 14:24:47.571 W/PackageParser( 485): Ignoring duplicate uses-permissions/uses-permissions-sdk-m: android.permission.ACCESS_NETWORK_STATE in package: io.weimaqi.hardware at: Binary XML file line #54
06-03 14:24:47.571 W/PackageParser( 485): Ignoring duplicate uses-permissions/uses-permissions-sdk-m: android.permission.CHANGE_WIFI_STATE in package: io.weimaqi.hardware at: Binary XML file line #55
06-03 14:24:47.571 W/PackageParser( 485): Ignoring duplicate uses-permissions/uses-permissions-sdk-m: android.permission.READ_PHONE_STATE in package: io.weimaqi.hardware at: Binary XML file line #56
06-03 14:24:47.571 W/PackageParser( 485): Ignoring duplicate uses-permissions/uses-permissions-sdk-m: android.permission.WRITE_EXTERNAL_STORAGE in package: io.weimaqi.hardware at: Binary XML file line #57
06-03 14:24:47.571 W/PackageParser( 485): Ignoring duplicate uses-permissions/uses-permissions-sdk-m: android.permission.MOUNT_UNMOUNT_FILESYSTEMS in package: io.weimaqi.hardware at: Binary XML file line #58
06-03 14:24:47.571 W/PackageParser( 485): Ignoring duplicate uses-permissions/uses-permissions-sdk-m: android.permission.READ_LOGS in package: io.weimaqi.hardware at: Binary XML file line #59
06-03 14:24:47.571 W/PackageParser( 485): Unknown element under <manifest>: queries at /data/app/vmdl726907603.tmp/base.apk Binary XML file line #71
06-03 14:24:47.573 I/McInstallService( 485): not found app, return installAllow false
06-03 14:24:47.573 E/PackageManager( 485): mc not allow this apk install, packageName == io.weimaqi.hardware
06-03 14:24:47.908 E/ ( 264): Couldn't opendir /data/app/vmdl726907603.tmp: No such file or directory
06-03 14:24:47.920 I/art ( 2977): System.exit called, status: 1
06-03 14:24:47.921 I/AndroidRuntime( 2977): VM exiting with result code 1.
06-03 14:24:47.933 I/vpu_api ( 2977): dlclose vpu lib
06-03 14:24:48.692 I/vpu_api ( 2991): dlopen vpu lib success
乔什么
- 发布:2023-06-03 14:37
- 更新:2023-06-03 17:02
- 阅读:344
1 个回复
乔什么 (作者)
queries 是在h5+的aar里的,lib.5plus.base-release.aar,queries是在api30以上才引入的,这个不可以自己选择是否安装吗