赞
踩
好久没有使用DevEco-Studio 了,今天运行一个Demo,竟然报错,我那就不愿意了,经过一番排查:
报错信息:
$ hdc file send /Users/likai/DevEcoStudioProjects/player/entry/build/outputs/hap/debug/entry-debug-unsigned.hap /sdcard/1bde11bbf51f4783a54e2e3616f6a0cd/entry-debug-unsigned.hap
$ hdc shell bm install -p /sdcard/1bde11bbf51f4783a54e2e3616f6a0cd/
Failure[INSTALL_PARSE_FAILED_USESDK_ERROR]
$ hdc shell rm -rf /sdcard/1bde11bbf51f4783a54e2e3616f6a0cd
Error while Deploying HAP
解决办法:
找到项目的配置文件config.json,打开删除 "releaseType": "Beta1" ,再运行完美解决,来张图片留作纪念
完美~~~~~
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。