@BoredApe 与CPU类型没关系,亲测无效
应该是 HBuilderX.3.7.9.20230324\HBuilderX\plugins\launcher/base/android_base.apk
这个apk不支持x86,压根没包含x86的库, 和具体项目的cpu类型没啥关系
在安装android_base.apk时就已经失败了,手动拖放安装报错一样
2023-04-01 19:45:00.054 [WARNING:] [PluginHost] Error: Command failed: /Android/Sdk/platform-tools/adb.exe -s emulator-5554 install -r -d -t \HBuilderX.3.7.9.20230324\HBuilderX\plugins\launcher/base/android_base.apk
adb: failed to install \HBuilderX.3.7.9.20230324\HBuilderX\plugins\launcher/base/android_base.apk: Failure [INSTALL_FAILED_NO_MATCHING_ABIS: INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113]
--installBase--E:\uniapp\HBuilderX.3.7.9.20230324\HBuilderX\plugins\launcher/base/android_base.apk
2 个回复
BoredApe - 有问题就会有答案。
请参考文档:配置支持的CPU类型
u***@tok.run
@BoredApe 与CPU类型没关系,亲测无效
应该是 HBuilderX.3.7.9.20230324\HBuilderX\plugins\launcher/base/android_base.apk
这个apk不支持x86,压根没包含x86的库, 和具体项目的cpu类型没啥关系
在安装android_base.apk时就已经失败了,手动拖放安装报错一样
2023-04-01 19:45:00.054 [WARNING:] [PluginHost] Error: Command failed: /Android/Sdk/platform-tools/adb.exe -s emulator-5554 install -r -d -t \HBuilderX.3.7.9.20230324\HBuilderX\plugins\launcher/base/android_base.apk
adb: failed to install \HBuilderX.3.7.9.20230324\HBuilderX\plugins\launcher/base/android_base.apk: Failure [INSTALL_FAILED_NO_MATCHING_ABIS: INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113]
--installBase--E:\uniapp\HBuilderX.3.7.9.20230324\HBuilderX\plugins\launcher/base/android_base.apk