Aaaargh! I don\'t know what\'s going on, but suddenly I can\'t launch my app. I\'m using IntelliJ and I keep getting this error. I thought maybe there was a typo somewhere i
Also double check the package and activity name. I got a similar error caused by a missing dot in front of the activity name (e.g. "package.Activity" instead of ".package.Activity" ). IntelliJ didn't mark it as wrong so it was easily overlooked.
I tried many but the problem is confliction of the package. I just invalidated caches and restarted my Android studio and working well. Hope this may help you!
Check if you don't have another application with the same package id installed on device: https://stackoverflow.com/a/22524188/540639
I had a very similar error. In my case the application was not completely removed from the Android phone. I simply removed it using ADB, e.g. adb unsinstall com.your_app_name
Rebuild the application and run it.
This solved my problem.
I'd had the same problem, after closed Genymotion emulator and connected my phone. Cleaning the project and rerunning solved my problem too.