不幸的是,Groceries已经停止了

时间:2016-08-18 19:33:15

标签: nativescript angular2-nativescript

我正在尝试从Android模拟器上的http://docs.nativescript.org/angular/tutorial/ng-chapter-1启动sample-Groceries并获取以下消息"不幸的是,Groceries已停止"

以下是来自控制台的调试消息

I/DEBUG   ( 1142):     #12 pc 005c13b1  /data/app/org.nativescript.groceries-1/lib/x86/libNativeScript.so (v8::internal::RegExpImpl::CompileIrregexp(v8::internal::Handle<v8::internal::JSRegExp>, v8::internal::Handle<v8::internal::String>, bool)+673)
I/DEBUG   ( 1142):     #13 pc 005c1605  /data/app/org.nativescript.groceries-1/lib/x86/libNativeScript.so (v8::internal::RegExpImpl::IrregexpPrepare(v8::internal::Handle<v8::internal::JSRegExp>, v8::internal::Handle<v8::internal::String>)+165)
I/DEBUG   ( 1142):     #14 pc 005c1b23  /data/app/org.nativescript.groceries-1/lib/x86/libNativeScript.so (v8::internal::RegExpImpl::IrregexpExec(v8::internal::Handle<v8::internal::JSRegExp>, v8::internal::Handle<v8::internal::String>, int, v8::internal::Handle<v8::internal::JSArray>)+51)
I/DEBUG   ( 1142):     #15 pc 005c1cd0  /data/app/org.nativescript.groceries-1/lib/x86/libNativeScript.so (v8::internal::RegExpImpl::Exec(v8::internal::Handle<v8::internal::JSRegExp>, v8::internal::Handle<v8::internal::String>, int, v8::internal::Handle<v8::internal::JSArray>)+144)
I/DEBUG   ( 1142):     #12 pc 005c13b1  /data/app/org.nativescript.groceries-1/lib/x86/libNativeScript.so (v8::internal::RegExpImpl::CompileIrregexp(v8::internal::Handle<v8::internal::JSRegExp>, v8::internal::Handle<v8::internal::String>, bool)+673)
I/DEBUG   ( 1142):     #13 pc 005c1605  /data/app/org.nativescript.groceries-1/lib/x86/libNativeScript.so (v8::internal::RegExpImpl::IrregexpPrepare(v8::internal::Handle<v8::internal::JSRegExp>, v8::internal::Handle<v8::internal::String>)+165)
I/DEBUG   ( 1142):     #14 pc 005c1b23  /data/app/org.nativescript.groceries-1/lib/x86/libNativeScript.so (v8::internal::RegExpImpl::IrregexpExec(v8::internal::Handle<v8::internal::JSRegExp>, v8::internal::Handle<v8::internal::String>, int, v8::internal::Handle<v8::internal::JSArray>)+51)
I/DEBUG   ( 1142):     #15 pc 005c1cd0  /data/app/org.nativescript.groceries-1/lib/x86/libNativeScript.so (v8::internal::RegExpImpl::Exec(v8::internal::Handle<v8::internal::JSRegExp>, v8::internal::Handle<v8::internal::String>, int, v8::internal::Handle<v8::internal::JSArray>)+144)
I/DEBUG   ( 1142):     #12 pc 005c13b1  /data/app/org.nativescript.groceries-1/lib/x86/libNativeScript.so (v8::internal::RegExpImpl::CompileIrregexp(v8::internal::Handle<v8::internal::JSRegExp>, v8::internal::Handle<v8::internal::String>, bool)+673)
I/DEBUG   ( 1142):     #13 pc 005c1605  /data/app/org.nativescript.groceries-1/lib/x86/libNativeScript.so (v8::internal::RegExpImpl::IrregexpPrepare(v8::internal::Handle<v8::internal::JSRegExp>, v8::internal::Handle<v8::internal::String>)+165)
I/DEBUG   ( 1142):     #14 pc 005c1b23  /data/app/org.nativescript.groceries-1/lib/x86/libNativeScript.so (v8::internal::RegExpImpl::IrregexpExec(v8::internal::Handle<v8::internal::JSRegExp>, v8::internal::Handle<v8::internal::String>, int, v8::internal::Handle<v8::internal::JSArray>)+51)
I/DEBUG   ( 1142):     #15 pc 005c1cd0  /data/app/org.nativescript.groceries-1/lib/x86/libNativeScript.so (v8::internal::RegExpImpl::Exec(v8::internal::Handle<v8::internal::JSRegExp>, v8::internal::Handle<v8::internal::String>, int, v8::internal::Handle<v8::internal::JSArray>)+144)

我尝试使用Genymotion和原生的android模拟器

Ubuntu 16.04 node.js 4.5.0 tns --version 2.2.1

1 个答案:

答案 0 :(得分:0)

我回顾了给定的场景,但是我无法通过入门项目和新创建的项目重现这样的问题。您是否可以按照以下附加步骤验证这是否有帮助。

  1. tns create sampleProject --ng

  2. 手动启动android模拟器

  3. tns prepare android

  4. 运行tns run android