I am getting this exception while I am trying to call an activity from another one. The complete exception is
android.content.ActivityNotFoundExcept
I had the same issue. I tried everything but the error, which I sorted out later, was that there was a space left between double quotes and my class name. It has to be: intent.setClassName("com.x.y","com.x.y.className")
intent.setClassName("com.x.y","com.x.y.className")
not
intent.setClassName("com.x.y"," com.x.y.className")