@PunyDevil

LibGDX ошибка, как исправить?

59d28e22410fd857782391.png

при попытке сгенерировать проект выдает BUILD FAILED

Generating app in E:\Games\libgdx\test
Executing 'E:\Games\libgdx\test/gradlew.bat clean --no-daemon'
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.gradle.internal.reflect.JavaMethod (file:/C:/Users/Puny%20Devil/.gradle/wrapper/dists/gradle-2.14.1-bin/2r579t5wehc7ew5kc8vfqezww/gradle-2.14.1/lib/gradle-base-services-2.14.1.jar) to method java.lang.ClassLoader.getPackages()
WARNING: Please consider reporting this to the maintainers of org.gradle.internal.reflect.JavaMethod
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/2.14.1/userguide/gradle_da...
Configuration on demand is an incubating feature.

FAILURE: Build failed with an exception.

* Where:
Build file 'E:\Games\libgdx\test\build.gradle' line: 55

* What went wrong:
A problem occurred evaluating root project 'test'.
> javax/xml/bind/annotation/XmlSchema

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 26.429 secs
Done!
To import in Eclipse: File -> Import -> Gradle -> Gradle Project
To import to Intellij IDEA: File -> Open -> build.gradle
To import to NetBeans: File -> Open Project...


Кто сталкивался и как решать?
  • Вопрос задан
  • 915 просмотров
Решения вопроса 1
@dan4ik316
Нужно в папке android в файле build.gradle в строке с buildToolsVersion с "27.0.2" изменить на "26.0.2"
https://www.reddit.com/r/libgdx/comments/73ffsf/pr...
Ответ написан
Комментировать
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Похожие вопросы