Verified
Status Update
Comments
ch...@google.com <ch...@google.com> #2
Are you building using gradle or are you calling R8 on the command line?
The above is not a warning, but an info, and should therefore not be present in Android Studio unless you're explicitly building using --info
.
[Deleted User] <[Deleted User]> #3
I'm using Gradle but I'm calling it from command line manually.
Using -dontnote okhttp3.internal.**
does not work either.
ap...@google.com <ap...@google.com> #4
Project: r8
Branch: master
commit 1608ec85c0482235163067c57620bdb9a32e56d3
Author: Christoffer Quist Adamsen <christofferqa@google.com>
Date: Thu Jan 21 15:38:38 2021
Respect -dontnote in lambda merger
Bug: 177337814
Change-Id: If49b11068b0d6ea5d1875d4e1b85a1badb798f05
M src/main/java/com/android/tools/r8/ir/optimize/lambda/LambdaMerger.java
https://r8-review.googlesource.com/57283
Branch: master
commit 1608ec85c0482235163067c57620bdb9a32e56d3
Author: Christoffer Quist Adamsen <christofferqa@google.com>
Date: Thu Jan 21 15:38:38 2021
Respect -dontnote in lambda merger
Bug: 177337814
Change-Id: If49b11068b0d6ea5d1875d4e1b85a1badb798f05
M src/main/java/com/android/tools/r8/ir/optimize/lambda/LambdaMerger.java
ap...@google.com <ap...@google.com> #5
Project: r8
Branch: 2.2
commit 6043955e45aba1088633c5d38268b424f8eb1085
Author: Christoffer Quist Adamsen <christofferqa@google.com>
Date: Fri Jan 22 14:44:10 2021
Version 2.2.51
Bug: 177337814
Bug: 175201530
Bug: 178045782
Change-Id: I2d11659e471dfb87e2b1ccc05a62e513c4b63e7f
M src/main/java/com/android/tools/r8/Version.java
https://r8-review.googlesource.com/57308
Branch: 2.2
commit 6043955e45aba1088633c5d38268b424f8eb1085
Author: Christoffer Quist Adamsen <christofferqa@google.com>
Date: Fri Jan 22 14:44:10 2021
Version 2.2.51
Bug: 177337814
Bug: 175201530
Bug: 178045782
Change-Id: I2d11659e471dfb87e2b1ccc05a62e513c4b63e7f
M src/main/java/com/android/tools/r8/Version.java
ap...@google.com <ap...@google.com> #6
Project: r8
Branch: 2.2
commit b976fb234a863c46d79cf8c36f67e2dac58e7271
Author: Christoffer Quist Adamsen <christofferqa@google.com>
Date: Fri Jan 22 14:42:15 2021
Respect -dontnote in lambda merger
Bug: 177337814
Change-Id: If49b11068b0d6ea5d1875d4e1b85a1badb798f05
M src/main/java/com/android/tools/r8/ir/optimize/lambda/LambdaMerger.java
https://r8-review.googlesource.com/57307
Branch: 2.2
commit b976fb234a863c46d79cf8c36f67e2dac58e7271
Author: Christoffer Quist Adamsen <christofferqa@google.com>
Date: Fri Jan 22 14:42:15 2021
Respect -dontnote in lambda merger
Bug: 177337814
Change-Id: If49b11068b0d6ea5d1875d4e1b85a1badb798f05
M src/main/java/com/android/tools/r8/ir/optimize/lambda/LambdaMerger.java
ap...@google.com <ap...@google.com> #7
Project: r8
Branch: 2.1
commit 8fee928fbd1bb89d6e103c28150a39b8fc392ebb
Author: Christoffer Quist Adamsen <christofferqa@google.com>
Date: Tue Jan 26 06:36:47 2021
Version 2.1.88
Bug: 177337814
Change-Id: I73fda63882f9f29379843e30497a335b1294e737
M src/main/java/com/android/tools/r8/Version.java
https://r8-review.googlesource.com/57401
Branch: 2.1
commit 8fee928fbd1bb89d6e103c28150a39b8fc392ebb
Author: Christoffer Quist Adamsen <christofferqa@google.com>
Date: Tue Jan 26 06:36:47 2021
Version 2.1.88
Bug: 177337814
Change-Id: I73fda63882f9f29379843e30497a335b1294e737
M src/main/java/com/android/tools/r8/Version.java
ap...@google.com <ap...@google.com> #8
Project: r8
Branch: 2.1
commit b3349b7a66467cad8681ad480664a04a54bae58e
Author: Christoffer Quist Adamsen <christofferqa@google.com>
Date: Tue Jan 26 06:35:09 2021
Respect -dontnote in lambda merger
Bug: 177337814
Change-Id: If49b11068b0d6ea5d1875d4e1b85a1badb798f05
M src/main/java/com/android/tools/r8/ir/optimize/lambda/LambdaMerger.java
https://r8-review.googlesource.com/57400
Branch: 2.1
commit b3349b7a66467cad8681ad480664a04a54bae58e
Author: Christoffer Quist Adamsen <christofferqa@google.com>
Date: Tue Jan 26 06:35:09 2021
Respect -dontnote in lambda merger
Bug: 177337814
Change-Id: If49b11068b0d6ea5d1875d4e1b85a1badb798f05
M src/main/java/com/android/tools/r8/ir/optimize/lambda/LambdaMerger.java
ch...@google.com <ch...@google.com> #9
Starting from R8 version 2.1.88 and 2.2.51 the info diagnostic should no longer be reported with the -dontnote rule that you tried.
You can upgrade from 2.1.75 to 2.1.88 by making the following changes to build.gradle:
buildscript {
repositories {
maven {
url 'https://storage.googleapis.com/r8-releases/raw'
}
}
dependencies {
classpath 'com.android.tools:r8:2.1.88' // Must be before the Gradle Plugin for Android.
classpath 'com.android.tools.build:gradle:X.Y.Z' // Your current AGP version.
}
}
Please don't hesitate to let us know if this does not resolve the issue.
Description
R8 Version:
2.1.75
When I minify my project I get a warning saying:
This warning cannot be disabled. This is the file in question:https://github.com/square/okhttp/blob/master/okhttp/src/main/kotlin/okhttp3/internal/Util.kt#L302