Since Pindah expects Mirah source files to reside alongside Java source files in the same directory, Android will package any non-Java source files from that directory into the final APK package during the build process.
Solution
Utilize the ANDROID_AAPT_IGNORE build flag to programmatically exclude the desired Mirah source files during the build process.
(Forked from #15 into separate issue.)
Problem
Since Pindah expects Mirah source files to reside alongside Java source files in the same directory, Android will package any non-Java source files from that directory into the final APK package during the build process.
Solution
Utilize the ANDROID_AAPT_IGNORE build flag to programmatically exclude the desired Mirah source files during the build process.
https://android.googlesource.com/platform/frameworks/base/+/90897ed87bce639bf6bb2ccf15fbabb59b131bab