在手机上卸载后无法重新安装应用程序

时间:2020-04-27 09:42:03

标签: android performance android-studio

我已经卸载了im immake应用程序,并尝试再次在手机上重新安装它,但出现以下错误。可能是什么原因?

 $ adb shell am start -n "com.example.riseapp/com.example.riseapp.MainActivity" -a 
 android.intent.action.MAIN -c android.intent.category.LAUNCHER
 Error while executing: am start -n "com.example.riseapp/com.example.riseapp.MainActivity" -a 
 android.intent.action.MAIN -c android.intent.category.LAUNCHER
  Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] m 
 cmp=com.example.riseapp/.MainActivity }
Error type 3
 Error: Activity class {com.example.riseapp/com.example.riseapp.MainActivity} does not exist.

Error while Launching activity

1 个答案:

答案 0 :(得分:0)

解决方案1:

从主屏幕上卸载应用程序时,选择该应用程序可能无法将其从设备中完全删除。 尝试从右上角的菜单Settings-->Apps-->YourApp-->do uninstall for all users卸载它。

解决方案2:

在cmd上运行此命令

adb shell pm uninstall -k yourpackagename