Error trying to render to android (device, emulator)

未關閉
#5,348 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
4/5
預估耗時
3-5 天
新手友好度
25/100
Issue 類型
缺陷
描述清晰度
需要釐清
活躍度
停滯
技術堆疊
android, javascript
領域
cli, mobile

研究方向

從進入點 tns run android --bundle 開始,檢查附帶的 out.txt 日誌,以確定失敗源於 CLI 還是 Android runtime。在回報的裝置或模擬器上重現該錯誤,並追蹤 Zone already loaded 例外;部署後應用程式能夠成功呈現即表示完成。

由索引模型根據 Issue 內容生成。

描述

I am currently getting the following error when running "tns run android --bundle.
I am developing on windows 8 laptop (64-bit).
It builds ok and copies ok to the android (device or emulator) as indicated on the line before
the error.
out.txt
out.txt

Successfully synced application org.nativescript.newApp on device emulator-5554.
Will emit event runOnDeviceStarted with data {
projectDir: 'C:\AngularNew\newApp',
deviceIdentifier: 'emulator-5554',
applicationIdentifier: 'org.nativescript.newApp'
}
System.err: An uncaught Exception occurred on "main" thread.
System.err: Unable to create application com.tns.NativeScriptApplication: com.tns.NativeScriptException: Error calling module function
System.err: Error: Zone already loaded.

I will appreciate any help I can get on this.
Happy to provide more details about the project if anyone wants it.

Regards,
Ezima Ugwu.

主要語言
JavaScript
星號
1.1k
分支
204
平均合併
1 天 9 小時
30 天內合併 PR
8

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

NativeScript/nativescript-cli 的其他 Issue

查看 NativeScript/nativescript-cli 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。