NativeScript / NativeScript/nativescript-cli
Error trying to render to android (device, emulator)
還沒有人認領這個 Issue。
- 主要語言
- JavaScript
- 星號
- 1.1k
- 分支
- 204
- 平均合併
- 1 天 9 小時
- 30 天內合併 PR
- 8
描述
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.
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
從進入點 tns run android --bundle 開始,檢查附帶的 out.txt 日誌,以確定失敗源於 CLI 還是 Android runtime。在回報的裝置或模擬器上重現該錯誤,並追蹤 Zone already loaded 例外;部署後應用程式能夠成功呈現即表示完成。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- android, javascript
- 領域
- cli, mobile
- Issue 類型
- 缺陷
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 需要釐清
- 新手友好度
- 25/100