Unable to resolve activity for: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.nicpic.pltestingall/.HiltTestActivity (has extras) } at androidx.test.core.app.InstrumentationActivityInvoker.startActivity
I got the same error with HiltTestActivity.kt, because I insert the AndroidManifest.xml parallel to the activity file.
My fix: Move the AndroidManifest.xml to the java folder.
Are there any code examples left?
New code examples in category Java