Unable to resolve activity for: Intent when instrumentation-testing android activities
I'm getting errors when I'm trying to run insturmentation tests on android. I've written an Activity, called AudioPlayerActivity that lies in the package com.mycompany.mobile.android.gui , and now I'm trying to test the GUI of that project and I'm running in the following error: java.lang.RuntimeException: Unable to resolve activity for: Intent { act=android.intent.action.MAIN flg=0x10000000 cmp=com.mycompany.mobile.android.gui/.AudioPlayerActivity } I have read this question , and followed the advice there, but to no avail. I also googled for the error, but did not find any help. This is how