NativeScript / NativeScript/nativescript-cli
Error trying to render to android (device, emulator)
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.1k
- Forks
- 204
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 8
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the tns run android --bundle entry point and inspect the attached out.txt logs to determine whether the failure originates in the CLI or the Android runtime. Reproduce the error on the reported device or emulator and trace the Zone already loaded exception; done means the application renders successfully after being deployed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, javascript
- Domain
- cli, mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100