简体   繁体   中英

Error:Gradle: Execution failed for task ':core:compileJava'. LIBGDX

I'm really stuck with my libgdx's project setup on Android Studio.

I create a project with libgdx, imported through gradle, made a setup for desktop, but when I run it, i got this error. Please help me figure it out.

在此处输入图片说明

I'm beginner, so any information about this error would be very useful to me. Thanks n Respect in advance.

UPDATE******* 在此处输入图片说明

You cannot make a space in the name of your class.

Try this:

public class GunRun extends ApplicationAdapter {
    ...
}

Please see the Java naming Standard .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM