国产 无码 综合区,色欲AV无码国产永久播放,无码天堂亚洲国产AV,国产日韩欧美女同一区二区

flutter build hap打包編譯時報錯:hvigor ERROR: Failed :entry:default@CompileArkTS...

這篇具有很好參考價值的文章主要介紹了flutter build hap打包編譯時報錯:hvigor ERROR: Failed :entry:default@CompileArkTS...。希望對大家有所幫助。如果存在錯誤或未考慮完全的地方,請大家不吝賜教,您也可以點擊"舉報違法"按鈕提交疑問。

error: task assemblehap not found in hvigor node: entry.,OpenHarmony,harmonyos,flutter,vim

xxx:~/demo/flutter_ohos$ flutter build hap --target-platform ohos-arm64 --local-engine-src-path=/home/xxx/work/engine/src --local-engine=ohos_release_arm64
Downloading Linux x64 Dart SDK from Flutter engine 1a65d409c7a1438a34d21b60bf30a6fd5db59314...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  238M  100  238M    0     0  23.4M      0  0:00:10  0:00:10 --:--:-- 24.6M
Building flutter tool...
Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source!
Downloading Material fonts...                                      351ms
Downloading Gradle Wrapper...                                       29ms
Downloading package sky_engine...                                  128ms
Downloading flutter_patched_sdk tools...                           232ms
Downloading flutter_patched_sdk_product tools...                   261ms
Downloading linux-x64 tools...                                   1,257ms
Downloading linux-x64/font-subset tools...                          79ms
start hap build...
ohosPluginsManager: no need to install ohos plugins
check platform environment
current platform environment PUB_HOSTED_URL = https://pub.flutter-io.cn
current platform environment FLUTTER_STORAGE_BASE_URL = https://storage.flutter-io.cn
current platform environment OHPM_HOME = /home/xxx/tools/oh-command-line-tools/ohpm
Compiling ohos_aot_bundle_release_ohos-arm64 for the Ohos...        908ms
copy flutter assets to project start
copy directory from /home/xxx/demo/flutter_ohos/build/ohos/flutter_assets to
/home/xxx/demo/flutter_ohos/ohos/entry/src/main/resources/rawfile/flutter_assets
copy flutter assets to project end
copy flutter runtime to project start
originHarFile: LocalFile:
'/home/xxx/flutter_flutter/packages/flutter_tools/templates/app_shared/ohos.tmpl/har/har_product.tmpl/flutter_embedding.har.release.10'
flutterEngineSoPath: /home/xxx/work/engine/src/out/ohos_release_arm64/libflutter.so
copy flutter runtime to project end
install completed in 0s 2ms
ohpm install success.
install completed in 0s 81ms
ohpm install success.
> hvigor Finished :entry:clean... after 16 ms
> hvigor UP-TO-DATE :entry:default@PreBuild...
> hvigor Finished :entry:default@GenerateMetadata... after 9 ms
> hvigor Finished :entry:default@CreateBuildProfile... after 2 ms
> hvigor Finished ::clean... after 1 ms
> hvigor Finished :entry:default@BuildNativeWithCmake... after 1 ms
> hvigor Finished :entry:default@GenerateLoaderJson... after 4 ms
> hvigor Finished :entry:default@MergeProfile... after 3 ms
> hvigor Finished :entry:default@BuildNativeWithNinja... after 1 ms
> hvigor Finished :entry:default@MakePackInfo... after 7 ms
> hvigor Finished :entry:default@ProcessProfile... after 67 ms
> hvigor Finished :entry:default@ProcessLibs... after 66 ms
> hvigor Finished :entry:default@ProcessResource... after 7 ms
> hvigor Finished :entry:default@DoNativeStrip... after 50 ms
> hvigor Finished :entry:default@CompileResource... after 51 ms
> hvigor Finished :entry:default@CacheNativeLibs... after 136 ms
> hvigor Finished :entry:default@BuildJS... after 2 ms
> hvigor ERROR: Failed :entry:default@CompileArkTS...


> hvigor ERROR: ArkTS Compiler Error
ERROR: ArkTS:ERROR File:
/home/xxx/demo/flutter_ohos/ohos/oh_modules/.ohpm/@ohos+flutter_ohos@file+har+flutter_embedding.har/oh_modules/@ohos/flutter_ohos/src/main/ets/embedding/engine/FlutterEngineConnectionRegistry.ets:85:29
 Cannot find name 'ESObject'.

有人遇到類似問題嗎?不知道怎么解決了文章來源地址http://www.zghlxwxcb.cn/news/detail-845148.html

到了這里,關(guān)于flutter build hap打包編譯時報錯:hvigor ERROR: Failed :entry:default@CompileArkTS...的文章就介紹完了。如果您還想了解更多內(nèi)容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!

本文來自互聯(lián)網(wǎng)用戶投稿,該文觀點僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務(wù),不擁有所有權(quán),不承擔相關(guān)法律責任。如若轉(zhuǎn)載,請注明出處: 如若內(nèi)容造成侵權(quán)/違法違規(guī)/事實不符,請點擊違法舉報進行投訴反饋,一經(jīng)查實,立即刪除!

領(lǐng)支付寶紅包贊助服務(wù)器費用

相關(guān)文章

  • hvigor ERROR: Failed :entry:default@ProcessLibs...【鴻蒙開發(fā)-BUG已解決】

    項目無法在真機上運行。報錯 hvigor ERROR: Failed :entry:default@ProcessLibs… hvigor ERROR: 2 file found in ‘lib/arm64-v8a/libagccrypto.so’. This may cause unexpected errors at runtime. 報錯問題如下: hvigor ERROR: Failed :entry:default@ProcessLibs… hvigor ERROR: 2 file found in ‘lib/arm64-v8a/libagccrypto.so’. This may cause un

    2024年02月04日
    瀏覽(26)
  • rust編譯出錯:error: failed to run custom build command for `ring v0.16.20`

    rust編譯出錯:error: failed to run custom build command for `ring v0.16.20`

    安裝 Visual Studio,確保選擇 —.NET 桌面開發(fā)、使用 C++ 的桌面開發(fā)和通用 Windows 平臺開發(fā)。 顯示已安裝的工具鏈 rustup show 。 然后通過運行更改和設(shè)置工具鏈 rustup default stable-x86_64-pc-windows-msvc 。 另外是想用clion進行調(diào)試rust 需要你按下面配置即可解決調(diào)試問題 前往|?設(shè)置 - 構(gòu)

    2024年02月09日
    瀏覽(27)
  • Go Build編譯打包文件

    程序 main1.go : 打包: 執(zhí)行: 程序 main2.go : 打包:打包方式和上面一樣,這里只介紹linux下的打包。 執(zhí)行: go build的時候還有別的其它參數(shù),如果有需要請查詢相關(guān)文檔。

    2024年01月18日
    瀏覽(16)
  • Unity2021打包安卓失敗CommandInvokationFailure: Gradle build failed等問題

    Unity2021打包安卓失敗CommandInvokationFailure: Gradle build failed等問題

    查閱了大量資料都沒有真正解決掉問題網(wǎng)上的那些解決方案太老了,而且用最新版的人數(shù)較少 1.刪除C:UsersXXX.gradle 整個文件.gradle 整個刪除 如果被占用重啟電腦刪除 這個文件在打包時會自動生成 XXX代表當前你電腦的用戶名每個人不一樣 2.將編輯器安裝目錄下的打開D:Unity

    2024年02月15日
    瀏覽(18)
  • 【UE4】打包失敗 Failed to build UATTempProj.proj

    【UE4】打包失敗 Failed to build UATTempProj.proj

    我抄我自己之 https://zhuanlan.zhihu.com/p/586117443 前兩天編 UE4.27 源碼內(nèi)存和CPU直接全是100%爆滿,甚至還報錯:c1060, the compiler is out of heap,設(shè)置虛擬內(nèi)存也不不好使,發(fā)現(xiàn)16GB內(nèi)存不配編 UE,火速換了64G之后無比順暢。 在用編輯器打手機包的時候出現(xiàn)報錯:BuildCMakeLib.Automation.cs(4

    2024年02月03日
    瀏覽(39)
  • flutter開發(fā)實戰(zhàn)-build編譯macos環(huán)境可安裝dmg

    flutter開發(fā)實戰(zhàn)-build編譯macos環(huán)境可安裝dmg

    flutter開發(fā)實戰(zhàn)-build編譯macos環(huán)境可安裝dmg 之前開發(fā)中需要變異Macos成dmg的需求,這里記錄一下build編譯macos環(huán)境可安裝dmg的過程。 目錄如下 如果工程沒有macos,需要增加macos支持的平臺。命令 運行macos無法訪問http請求 可以在macos目錄runner文件夾中 DebugProfile.entitlements和 Release

    2024年02月16日
    瀏覽(19)
  • 【flutter電子木魚】flutter 打包 android apk,記錄配置簽名的過程/調(diào)試的過程及flutter build apk放到手機上用。

    【flutter電子木魚】flutter 打包 android apk,記錄配置簽名的過程/調(diào)試的過程及flutter build apk放到手機上用。

    目標通過這篇blog記錄一下flutter打包android apk的過程,項目是參考以下鏈接的git倉庫,然后自己重新創(chuàng)建了一個project。安卓應(yīng)用市場的木魚充斥著廣告和付費體驗極差,自己做一個還可以根據(jù)喜好做適應(yīng)性調(diào)整,不用擔心被偷后臺也不用煩廣告和一些奇怪的布局,干凈清爽,

    2024年02月10日
    瀏覽(23)
  • python distutils打包C/C++模塊,執(zhí)行python setup.py build_ext --inplace時報錯cl

    python distutils打包C/C++模塊,執(zhí)行python setup.py build_ext --inplace時報錯cl

    python可以把C/C++代碼編譯并打包為pyd模塊,從而可以使python腳本直接調(diào)用C/C++模塊功能。 我在執(zhí)行python setup.py build_ext --inplace時遇到了缺失cl.exe的錯誤提示,然后用pip安裝了cl。 再次編譯,提示cl: error: no such option: -I,改變cl版本仍然不行,百思不得其解。 后來意識到C/C++模塊

    2024年02月06日
    瀏覽(24)
  • Jenkins構(gòu)建時報錯:ERROR: Failed to parse POMs

    Jenkins構(gòu)建時報錯:ERROR: Failed to parse POMs

    因為在操作中把maven倉庫整個文件夾刪了,重新建的文件夾,拉取的依賴,然后去看了下maven的東西,發(fā)現(xiàn)maven倉庫的目錄權(quán)限和其他不一樣,猜測maven倉庫目錄可能沒有寫入的權(quán)限,嘗試執(zhí)行命令進行提權(quán),然后打包,問題解決了。 另外如果是多模塊項目,還可以嘗試去排查

    2024年02月11日
    瀏覽(29)
  • CentOS下用rpm安裝軟件時報錯error: Failed dependencies

    在CentOS下用rpm安裝軟件時會報如下錯誤: 1、安裝時提示: [root@db?software]# rpm -ivh ksh-20120801-254.el8.x86_64.rpm warning: ksh-20120801-254.el8.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 8483c65d: NOKEY error: Failed dependencies: ?? ?libm.so.6(GLIBC_2.23)(64bit) is needed by ksh-20120801-254.el8.x86_64 解決的方法就是

    2024年01月17日
    瀏覽(39)

覺得文章有用就打賞一下文章作者

支付寶掃一掃打賞

博客贊助

微信掃一掃打賞

請作者喝杯咖啡吧~博客贊助

支付寶掃一掃領(lǐng)取紅包,優(yōu)惠每天領(lǐng)

二維碼1

領(lǐng)取紅包

二維碼2

領(lǐng)紅包