[Android] API 'variant.getPackageLibrary()' is obsolete and has been replaced with 'variant.getPackageLibraryProvider()'.
2019. 6. 12. 16:56ㆍPrograming/Debugging
[Warining]
API 'variant.getPackageLibrary()' is obsolete and has been replaced with 'variant.getPackageLibraryProvider()'.
[Reason]
This is not a problem.
$> gradlew -Pandroid.debug.obsoleteApi=true --stacktrace
..
REASON: The Kotlin plugin is currently calling this API. We are working to solve this.
WARNING: Debugging obsolete API calls can take time during configuration. It's recommended to not keep it on at all times.
...
$> gradlew -Pandroid.debug.obsoleteApi=true --stacktrace
Welcome to Gradle 5.1.1!
Here are the highlights of this release:
- Control which dependencies can be retrieved from which repositories
- Production-ready configuration avoidance APIs
For more details see https://docs.gradle.org/5.1.1/release-notes.html
Starting a Gradle Daemon, 1 incompatible Daemon could not be reused, use --status for details
> Configure project :common
WARNING: API 'variant.getPackageLibrary()' is obsolete and has been replaced with 'variant.getPackageLibraryProvider()'.
It will be removed at the end of 2019.
For more information, see https://d.android.com/r/tools/task-configuration-avoidance.
REASON: The Kotlin plugin is currently calling this API. We are working to solve this.
WARNING: Debugging obsolete API calls can take time during configuration. It's recommended to not keep it on at all times.
> Task :help
Welcome to Gradle 5.1.1.
To run a build, run gradlew <task> ...
To see a list of available tasks, run gradlew tasks
To see a list of command-line options, run gradlew --help
To see more detail about a task, run gradlew help --task <task>
For troubleshooting, visit https://help.gradle.org
BUILD SUCCESSFUL in 1m 8s
1 actionable task: 1 executed
'Programing > Debugging' 카테고리의 다른 글
Could not set unknown property 'useAndroidX' for object of type com.android.build.gradle.internal.dsl.BaseAppModuleExtension (0) | 2019.07.05 |
---|---|
삼성 인터넷 브라우저 52.231.167.134 (6) | 2019.06.18 |
[Android][DataBinding] warning: Application namespace for xxx will be ignored (0) | 2019.06.12 |
[Android] INSTALL_FAILED_CONFLICTING_PROVIDER (0) | 2019.05.23 |
[오라클 오류] 에러코드 정리 (0) | 2019.05.20 |