-
-
Notifications
You must be signed in to change notification settings - Fork 343
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crashes on Windows Android AVD and Genymotion - Works on Nexus 6 device #83
Comments
Hey @CleverCoder, At a glance I’m not sure what’s up here. When you switch branches in NativeScript typically you have to also blow away the Could you try running Thanks, |
Well, I tried blowing away those folders and trying again. No dice. Still seeing the same stack trace. Thanks for the tips, however!! I just discovered Slack, so I'll post the issue to android channel there soon... maybe someone has run into this. I'll update this issue if there turns out to be anything interesting to be found! |
Same here. I can't run sample-Groceries -master- on simulator. I tried both avd and genny simulators on windows both were failing to deploy the app. It works fine on mac for both ios and android simulators. |
Same here. I can't run any nativescript app on any android emulator. OS Archlinux x64 Total time: 24.218 secs |
It might be related to emulator architecture. |
This seems specific to the Angular code path, which is both on the angular-start, and now master branches. |
Just to note, a few of us tried this again and unfortunately we were unable to recreate the problem 🙁 If anyone on this thread can still recreate this, could you try calling |
For what it's worth, this was an AMD machine where this was happening. That
On Fri, Jun 17, 2016 at 8:59 AM TJ VanToll [email protected] wrote:
|
Hi @tjvantoll I have updated master sample-grocories to latest bits and here is the trace log with __enableVerboseLogging() added to main.ts. |
Thanks a lot for helping us debug this @devna13. Unfortunately it doesn’t look like the verbose log has any new information. I’m going to ping our Android team to see if they have any other ideas for what might be up here. Sorry again 😞 |
sounds good, I'll keep you updated if anything changed on my end regarding this issue. Thanks TJ. |
The Currently I cannot reproduce the problem on my Visual Studio Emulator for Android so I think our best shot is to try to isolate it as much as possible. As a first step I would suggest to put |
@devna13 We need all the logcat messages. Unfortunately the console log that you sent is filtered too much. Can you start these commands in separate command prompt and start the application on the emulator to reproduce the problem. Then send us the logcat.txt file thanks |
Here is the adb output |
Thanks for the logs. Just one question: did you put |
@slavchev You Talking To Me? Yes :) |
See my response at NativeScript/nativescript-angular#402 (comment). I guess updating V8 will solve this issue as well.. |
Just pulled all the latest bits, and was successful in deploying the regular nativescript Groceries "start" branch to my Genymotion Nexus 6 emulator. I tried to go through the Angular tutorials, switching to the "angular-start" branch. When I deploy to either 5.1 or 6.0 on Genymotion, I get the following output in the console:
05-22 00:49:44.598 103 103 F DEBUG : #12 pc 00553d83 /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)+675) 05-22 00:49:44.598 103 103 F DEBUG : #13 pc 00553fd5 /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) 05-22 00:49:44.598 103 103 F DEBUG : #14 pc 005544f3 /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) 05-22 00:49:44.598 103 103 F DEBUG : #15 pc 005546a0 /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)
When I attached my Nexus 6, and deployed via the same "tns run android", it launched with no problems.
Some details that may have an impact:
I recently updated all my components, including NPM, Android SDK, pulled latest repository. I'm not totally blocked since I can use my Nexus 6 device, but it would be nice to know where to look to figure this out. I also attempted to look at logcat a bit closer with Android Studio. The debug information I could get from ADB was this (I also attached to the issue as a text file in case this can't be easily read)
Genymotion angular-start Crash.txt
:
Thanks for the awesome work!
The text was updated successfully, but these errors were encountered: