Questions tagged «fabric.io»

21
API'variant.getExternalNativeBuildTasks()'已过时,并已替换为'variant.getExternalNativeBuildProviders()
使用带有gradle插件版本的Android Studio 3.3 Canary 11 3.3.0-alpha11。尝试同步gradle时抛出以下错误 WARNING: API 'variant.getExternalNativeBuildTasks()' is obsolete and has been replaced with 'variant.getExternalNativeBuildProviders()'. It will be removed at the end of 2019. For more information, see https://d.android.com/r/tools/task-configuration- avoidance Affected Modules: app 单击错误将我引导至gradle文件中的这一行 applicationVariants.all { variant -> variant.outputs.all { outputFileName = "${variant.name}-${variant.versionName}.apk" } } 我到底需要在这里更改什么? 项目 build.gradle …
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.