Fixed
Status Update
Comments
ac...@google.com <ac...@google.com>
tn...@google.com <tn...@google.com>
tn...@google.com <tn...@google.com> #2
Okay. I tried a bunch of agp+android studio versions
The last working version was classpath("com.android.tools.build:gradle:7.4.0-alpha06")
once I moved to
classpath("com.android.tools.build:gradle:7.4.0-alpha07")
then things start breaking on firebase app dist.
ga...@linecorp.com <ga...@linecorp.com> #3
Scott, assigning to you as it seem to complain the zip is not aligned while packaging which is very puzzling considering the steps...
tn...@google.com <tn...@google.com> #4
OP, when you build the APK with AGP, are you doing any post-processing on the APK and/or do you have any custom tasks that are modifying the APK?
Can you try to verify the alignment of your APK with zipalign
locally (zipalign
is included in build-tools
):
zipalign -c -v 4 foo.apk
Description
DESCRIBE THE ISSUE IN DETAIL:
android.nonFinalResIds
property will beAnd lint checker provides
NonConstantResourceId
rule to prepare behavior changes.But
NonConstantResourceId
rule does not warning about constant value assign from resource ids.STEPS TO REPRODUCE:
Expected Result :
When
android.nonFinalResIds
is enabled, kotlin compiler raised error.So, lint check result should be
Actual result :
NonConstantResourceId
rule does not show warning about constants value assign from resource Ids.ATTACH SCREENSHOTS/RECORDINGS OF THE ISSUE
ATTACH LOG FILES (Select Help > Show Log in Files, or Show Log in Finder on a Mac)
IMPORTANT: Please readhttps://developer.android.com/studio/report-bugs.html carefully and supply
all required information.
Studio Build: 2021.3.1 Version of Gradle Plugin: 7.3.1
Version of Gradle: 7.5
Version of Java: OpenJDK 11/17
OS: Any