Since the new Android Studio Version "Chipmunk" the Gradle update helper suggests that you remove the package keyword from the AndroidManifest.xml and instead use a object namespace in the android block inside the app-level build.gradle.
However, using the recent version 2.4.2 and also with the version 2.5.0-rc01 of the standard navigation library, the Directions generated by the kapt plugin no longer import the correct resource path when a different applicationId is set for a build flavor.
For example if my default package name is my.package.com and I have a flavor called dev which is declared with a applicationId "my.package.com.dev" and the namespace is set to my.package.com, the generated directions all throw build errors: Unresolved reference: R.
Has anyone else stumbled over this issue and is there anything we can do to fix this?
I had to remove the namespace and put back in the package parameter in my AndroidManifest to resolve this issue, but that doesn't seem to be right.