'Generated NavDirections classes include applicationIdSuffix in Resources package name
I just updated gradle / android studio and now I get the following issue when I try to run a build type.
Unresolved reference: R
The problem is that the generated NavDirections subclasses now include the applicationIdSuffix in the import statement for the R file. So instead of com.my.app.R it now generates com.my.app.development.R which is obvisouly wrong. I tried to specify the packagename in the Gradle file using resourcePackageName, but it didn't help.
Does anyone have an idea of how I can convince gradle to ignore the applicationIdSuffix when generating the import statements for my resources?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
