Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
374 views
in Technique[技术] by (71.8m points)

Nativescript 6.5 crashes on Android

My NS 6.5 Core app works fine on iOS and also builds without issues for Android, but when I try to install it on a device (emulator or physical), I get the following error:

Installing on device emulator-5554...
Successfully installed on device with identifier 'emulator-5554'.
Application com.comapny.app is not running on device emulator-5554.
This issue may be caused by:
        * crash at startup (try `tns debug android --debug-brk` to check why it crashes)
        * different application identifier in your package.json and in your gradle files (check your identifier in `package.json` and in all *.gradle files in your App_Resources directory)
        * device is locked
        * manual closing of the application
Unable to apply changes on device: emulator-5554. Error is: Application com.comapny.app is not running.
question from:https://stackoverflow.com/questions/65829322/nativescript-6-5-crashes-on-android

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

After some testing it turned out that nativescript-sentry was the culprit. The plugin works great on iOS, not sure what the issue is on Android. I will be following up with the plugin author for more information.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...