找不到适合LwjglApplication的构造函数(TheGame,LwjglApplicationConfiguration)

时间:2015-03-01 22:08:42

标签: android libgdx

成功构建之后Android Studio在尝试使用DesktopLauncher启动我的libGDX项目时说:

Gradle: error: no suitable constructor found for LwjglApplication(TheGame,LwjglApplicationConfiguration)
constructor LwjglApplication.LwjglApplication(ApplicationListener,LwjglApplicationConfiguration) is not applicable
(argument mismatch; TheGame cannot be converted to ApplicationListener)
constructor LwjglApplication.LwjglApplication(ApplicationListener,Canvas) is not applicable
(argument mismatch; TheGame cannot be converted to ApplicationListener)

在没有警告/错误的构建之后,这不仅仅是奇怪的。

0 个答案:

没有答案