我有一个设备nexus5x与Android O,我在我的笔记本电脑和另一台电脑开发应用程序.但是,当我想在我的笔记本电脑中启动它后,我想在另一台计算机上启动应用程序,我总是得到下面描述的错误.
Error while executing: am start -n "com.safetylink.android.safetylinkheartbeatapp/com.application.aware.safetylink.auth.SplashScreenActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER
Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.safetylink.android.safetylinkheartbeatapp/com.application.aware.safetylink.auth.SplashScreenActivity }
Error type 3
Error: Activity class {com.safetylink.android.safetylinkheartbeatapp/com.application.aware.safetylink.auth.SplashScreenActivity} does not exist.
Error while Launching activity
这对我来说很神奇,因为我对其他手机(它只是重新安装)和模拟器没有同样的问题.应用程序正常工作.
我认为这与nexus5x设置有关,但我不确切知道.
我该怎么办,解决这个问题?
P.S.:我已经尝试清理,重建项目,重命名活动,使缓存无效并重启多次,也禁用实例运行,但它对我不起作用.