It’s been a long time since I used DevEco-Studio, and today I ran a demo that reported an error, which I didn’t want to do.
Error message.
$ 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
Error message.
$ 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
Solution.
Find the project’s configuration file config.json, open it and delete “releaseType”: “Beta1” , then run the perfect solution
Find the project’s configuration file config.json, open it and delete “releaseType”: “Beta1” , then run the perfect solution
Read More:
- [ERROR_BUNDLE_PATH_OR_FILE] & Error while Deploying HAP
- QT Creator Error while building deploying project
- About completionfailedexception: error reported by compilation failed to complete
- Android studio version 3.0 import version 2.2.2 error Error:This Gradle plugin requires Studio 3.0 minimum
- An error was reported when Maven package was running the packaged jar package: there is no main list attribute in xxx.jar, which can be solved by configuring Maven plugin
- [Solved] Android Studio Compile Error: Invalid main APK outputs : EarlySyncBuildOutput
- [Solved] Android Studio Run Error: Error while executing: am start -n
- Solution of socket write error caused by pressing F5 to refresh page by ehcache user
- [Solved] Redisson distributed lock error: attempt to unlock lock, not locked by current thread by node id
- Android Studio Error: String index out of range 0 [How to Solve]
- Jenkins reported an error when running the docker permission in the shell script
- [Solved] Android Studio 3.0 Error: Error: INSTALL_FAILED_TEST_ONLY
- [Solved] Android Studio Error: ERROR: Cause: executing external native build for cmake
- Flutter android studio runs gradle build error: Could not resolve all artifacts for configuration’:classpath’.
- visual studio Error D8016 ‘/ZI’ and ‘/Gy-‘ command-line options are incompatible
- Android studio does not prompt error messages [How to Solve]
- [Solved] Android Studio Compile Error: Execution failed for task ‘:APP_MIDI:lintVitalRelease‘.
- [Solved] Android-android studio apk Install Error: INSTALL_PARSE_FAILED_MANIFEST_MALFORMED
- [Solved] Error reported: org.springframework.validation.BeanPropertyBindingResult
- [Solved] CMake Error: Could not create named generator Visual Studio 16 2019 -A Win64