I have the same issue mentioned in this post AndroidTest Manifest permission not detected
and this post AndroidManifest in androidTest directory being ignored
--> If I put the test manifest in androidTest
, debugAndroidTest
, androidTestDebug
, it never gets picked up and merged.
the answers about putting the AndroidManifest.xml in the debug
folder are correct; that does seem to work. (put the test manifest in src/debug
What I want to know is why can't you put it in the androidTest
directory? All the documentation I've read while trying to figure this out makes it sound like you should be able to, and that if you can't then I'm thinking that sounds like some bug in the manifest merger.
For what it's worth, I'm using Android Studio