简体   繁体   中英

Jar file from desktop libgdx project in netbeans

如何从Netbeans的桌面libgdx项目中获取jar文件?

I know it's a bit late and you've probably figured it out by now, but I'll still answer this for those who don't know.

  1. Right click on your desktop project
  2. Go to the "Tasks" menu
  3. Click "dist"

This will create a standalone JAR file in <pathToYourProject>\\desktop\\build\\libs called desktop-1.0.jar (or something like that).

I don't know if that's the proper way to do it, but it's the only one that worked for me.

I have no experience with this but you should be able to unpack/extract the jar file and then load then load the project into Netbeans.

  • If it's a gradle project.
  • If it's not search further since I do not know Netbeans.
  • Import it with Android Studio and work with my favorite IDE. Choose import none android studio project .

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