【发布时间】:2020-11-27 02:38:33
【问题描述】:
当我执行 tns 运行 ios 时,一切都很好,但 tns 运行 android 只会给我这样的错误。我尝试了设备和模拟器,但结果相同。
我已经完成了:
- 重新安装平台、节点模块、挂钩。 tns 医生没有出错
- 清除webstorm上的缓存(android studio项目没有问题
- 正在运行)使用 tns create 创建了新的 {N} 文件,但发生了同样的错误
- 将 'applicationId = "org.nativescript.fagck_app"' 放在我的
- app.gradle 文件。多次重启PC/adb。运行 `tns 调试
- android --debug-brk` 但仍然出现同样的错误
- 重新安装 brew jdk8
错误代码:
Installing on device 2744b499...
Successfully installed on device with identifier '2744b499'.
Application org.nativescript.fagck_app is not running on device 2744b499.
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: 2744b499. Error is: Application org.nativescript.fagck_app is not running.
【问题讨论】:
标签: android build nativescript