NativeScript java.lang.RuntimeException错误

时间:2016-05-14 05:15:01

标签: android nativescript

我是NativeScript的新手。尝试使用NativeScript创建一个Android应用程序,Angular2&打字稿。

按照此处http://docs.nativescript.org/angular/tutorial/ng-chapter-1给出的说明进行操作。但是,只是在最初的步骤中才得到了Stuck。无法看到Hello World页面本身。

这是我的错误日志报告 -

java.lang.RuntimeException: Unable to create application com.tns.NativeScriptApplication: com.tns.NativeScriptException: Failed to find module: "./", relative to: /
    at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4710)
    at android.app.ActivityThread.-wrap1(ActivityThread.java)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1405)
    at android.os.Handler.dispatchMessage(Handler.java:102)
    at android.os.Looper.loop(Looper.java:148)
    at android.app.ActivityThread.main(ActivityThread.java:5417)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
Caused by: com.tns.NativeScriptException: Failed to find module: "./", relative to: /
    at com.tns.Module.resolvePathHelper(Module.java:220)
    at com.tns.Module.bootstrapApp(Module.java:252)
    at com.tns.Runtime.run(Runtime.java:234)
    at com.tns.RuntimeHelper.initRuntime(RuntimeHelper.java:129)
    at com.tns.NativeScriptApplication.onCreate(NativeScriptApplication.java:15)
    at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1013)
    at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4707)
    ... 8 more

任何想法,我做错了什么?

此致

0 个答案:

没有答案