Status Update
Comments
us...@gmail.com <us...@gmail.com> #2
+1
mr...@gmail.com <mr...@gmail.com> #3
+2
li...@gmail.com <li...@gmail.com> #4
+3
bl...@moshikids.com <bl...@moshikids.com> #5
+4
ak...@gmail.com <ak...@gmail.com> #6
+5
mo...@gmail.com <mo...@gmail.com> #7
+6
lb...@gmail.com <lb...@gmail.com> #8
Guys it's enough to just star the issue.
hu...@google.com <hu...@google.com> #9
Thanks for the reports. This is caused the by Kotlin plugins using deprecated APIs. See https://youtrack.jetbrains.com/issue/KT-25428
Once the Kotlin plugins start using the new APIs, we will enforce a minimum version of the Kotlin plugins that has the fix so these warnings can go away.
Once the Kotlin plugins start using the new APIs, we will enforce a minimum version of the Kotlin plugins that has the fix so these warnings can go away.
xa...@google.com <xa...@google.com> #10
Some quick comments:
- I filed Issue 116245497 to better handle the warning display. This is too aggressive for a warning right now.
- I filed Issue 116247924 to help people troubleshoot what is calling the deprecated API.
- I filed
- I filed
[Deleted User] <[Deleted User]> #11
I too get the same warning.
du...@gmail.com <du...@gmail.com> #12
I'm not using Kotlin. Why do I receive this message too?
xa...@google.com <xa...@google.com> #13
@12. in that case please run a build from the command line, with -Pandroid.debug.obsoleteApi=true to see what calls the deprecated method.
tr...@gmail.com <tr...@gmail.com> #14
I am getting nothing helpful from adding the obsoleteApi=true flag with AGP3.3.0-a13
seems by running with -d via gradle cli we can see that it is:
[org.jetbrains.kotlin.gradle.plugin.Android25ProjectHandler] [KOTLIN] Process variant [debug]
while inside an after eval listener which I assume was registered by the kotlin plugin.
seems by running with -d via gradle cli we can see that it is:
[org.jetbrains.kotlin.gradle.plugin.Android25ProjectHandler] [KOTLIN] Process variant [debug]
while inside an after eval listener which I assume was registered by the kotlin plugin.
hu...@google.com <hu...@google.com> #15
Do you see a stack trace when running with -Pandroid.debug.obsoleteApi=true? The stack trace should reveal what is calling the deprecated API.
s....@gmail.com <s....@gmail.com> #16
+1
s....@gmail.com <s....@gmail.com> #17
Downgrade to
com.android.tools.build:gradle:3.2.0
com.android.tools.build:gradle:3.2.0
Description
Version of Gradle Plugin:
Version of Gradle:
Version of Java:
OS:
Android Studio 3.3 Canary 11
Build #AI-182.4323.46.33.5012296, built on September 15, 2018
JRE: 1.8.0_152-release-1248-b01 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0
Steps to Reproduce:
1. Either open an existing project, or create a new one
2. Look at the build window.
The bug is that it shows this error/warning:
WARNING: API 'variant.getJavaCompile()' is obsolete and has been replaced with 'variant.getJavaCompileProvider()'.
It will be removed at the end of 2019.
For more information, see
Affected Modules: app
Attached screenshot.
Opening the link doesn't help, as it doesn't tell what to do: