Libgdx 1.3.0 doesn#39;t build eclipse files(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 文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:Libgdx 1.3.0 不构建 eclipse 文件
基础教程推荐
- 存储 20 位数字的数据类型 2022-01-01
- 无法复制:“比较方法违反了它的一般约定!" 2022-01-01
- Struts2 URL 无法访问 2022-01-01
- Spring AOP错误无法懒惰地为此建议构建thisJoinPoin 2022-09-13
- RabbitMQ:消息保持“未确认"; 2022-01-01
- 如何对 Java Hashmap 中的值求和 2022-01-01
- 使用堆栈算法进行括号/括号匹配 2022-01-01
- 修改 void 函数的输入参数,然后读取 2022-01-01
- REST Web 服务返回 415 - 不支持的媒体类型 2022-01-01
- 问题http://apache.org/xml/features/xinclude测试日志4j 2 2022-01-01
