Android Studio LibGDX Gradle Sync Error

只谈情不闲聊 提交于 2019-12-02 03:41:25

Gradle 3.4 introduced new Java Library plugin configurations that allow you to control whether a dependency is published to the compile and runtime classpaths of projects that consume that library.

  • implementation and api can only be used with Android Plugin for Gradle 3.0.0 or later version.

  • Android plugin 3.0.0 requires Gradle version 4.1 or higher.

  • Gradle 4.x is not supported yet in LibGDX, there is an issue for the same.


So currently you can't use implementation or api with libGDX so stick with obsoleted api and use compile.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!