Status Update
Comments
xa...@google.com <xa...@google.com> #2
Scott, can you check whether the issue is in our API? If not we can forward this to the safe args people.
sp...@google.com <sp...@google.com> #3
This is a known issue (internal androidx.navigation.safeargs
is incorrectly using the applicationId
instead of the namespace
to namespace the R class.
Leaving this bug open instead of marking it as a duplicate of the internal bug so that everyone can track progress.
ub...@gmail.com <ub...@gmail.com> #5
Can you leave a link to the public bug here, please?
si...@gmail.com <si...@gmail.com> #6
Once this bug is fixed, we can close Issue 36949180
Description
Using the new
namespace
property in build.gradle instead of thepackage
attribute in AndroidManifest.xml while also using a customapplicationIdSuffix
breaksandroidx.navigation.safeargs
plugin.See sample project . The project does not compile, unless you
package
back to AndroidManifest.xmlapplicationIdSuffix
The new projects dialog creates working projects (with the legacy
package
attribute instead ofnamespace
property), but the update assistant offered me to migrate an existing project to the defunct setup.Studio Build: Chipmunk Version of Gradle Plugin: 7.2.0 Version of Gradle: 7.3.3 Version of Java: 11 OS: MacOS
This issue is for Android Public Tracker > App Development > Android Studio > Gradle > Android Gradle Plugin but I don't have permission to create it there.