NativeScript / NativeScript/nativescript-cli
Error trying to render to android (device, emulator)
まだ誰も着手していません。
- 主要言語
- JavaScript
- スター
- 1.1k
- フォーク
- 204
- 平均マージ
- 1日 9時間
- マージ済み PR(30日)
- 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 にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- 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