Libgdx 1.3.0 不构建 eclipse 文件 [英] Libgdx 1.3.0 doesn't build eclipse files

查看:21
本文介绍了Libgdx 1.3.0 不构建 eclipse 文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我看到 libgdx 的 1.3.0 版本可用,所以我得到了它,当我使用项目设置来设置项目时,我检查了高级 > 为 Eclipse 构建并点击生成,但是当我尝试将它导入 Eclipse 时它说没有找到项目.在 1.3.0 发布之前,1.2.0 版对我来说非常有效,现在我什至无法获得该版本来构建 eclipse 文件.任何修复,我不使用 gradle.

I saw that version 1.3.0 of libgdx was available so I got it and when I use the project setup to setup a project I check advanced > build for eclipse and hit generate but when I try to import it into eclipse it says no projects found. Version 1.2.0 worked perfectly for me before 1.3.0 was released now I can't even get that version to build eclipse files. Any fixes and I don't use gradle.

推荐答案

尝试将项目导入为 Gradle 项目.为此,请执行以下操作:在 Eclipse 中打开 LibGDX 项目(ADT Bundle)

Try importing the projects as Gradle projects. To do that, do the following: Opening LibGDX project in Eclipse (ADT Bundle)

新的ADT 23.0.2 不允许直接安装Gradle Integration Tool,需要去Help -> Install New Software -> Work With -> Juno -> General Purpose Tools -> Marketplace Client,然后搜索对于 Gradle 并添加 Gradle 集成工具(不是 4.4 工具).

The new ADT 23.0.2 does not allow installing the Gradle Integration Tool directly, you need to go to Help -> Install New Software -> Work With -> Juno -> General Purpose Tools -> Marketplace Client, and then search for Gradle and add the Gradle Integration tool (not the 4.4 one).

然后只需使用 Import -> Gradle,按 Build Model,然后 OK,它应该可以工作了.

Then just use Import -> Gradle, press Build Model, then OK and it should work.

这篇关于Libgdx 1.3.0 不构建 eclipse 文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆