[Solved] Android Studio Error: error while launching activity

Error reporting prompt of Android Studio: error while launching activity

Solution:

Directly follow the following figure:



in this way, you can re-run the project

Read More: