Session 'app': Error Launching activity

前端 未结 30 2911
佛祖请我去吃肉
佛祖请我去吃肉 2020-11-28 06:43

After the Android Studio 2.0 update while the gradle build finishes I get this :

Session \'app\': Error Launching activity .

It prevents the app from starting

30条回答
  •  青春惊慌失措
    2020-11-28 07:07

    If you are using Android 7.0 and above it is likely that the app was installed in two places (Guest and Admin) and you only Uninstalled it for only one user and that is causing problems.

    To solve that, go to: Settings -> Apps & Notifications -> See all Apps -> find the app you are trying to install.

    Then click the menu on the top right corner and select Uninstall for all users

    Run Your App from Android Studio it should work.

提交回复
热议问题