Android Studio 3.6
Если я хочу построить свой android проект, я использую
gradlew assemble
И Windows успешная сборка проекта.
Но на Linux Mint 19 я получаю сообщение об ошибке:
> Task :common:javaPreCompileDebug UP-TO-DATE
> Task :common:compileDebugJavaWithJavac FAILED
> Task :app:mergeDebugResources
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':common:compileDebugJavaWithJavac'.
> javax/xml/bind/JAXBException
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 1s
40 actionable tasks: 4 executed, 36 up-to-date
Java версия на Linux
java -version
openjdk version "11.0.6" 2020-01-14
OpenJDK Runtime Environment (build 11.0.6+10-post-Ubuntu-1ubuntu118.04.1)
OpenJDK 64-Bit Server VM (build 11.0.6+10-post-Ubuntu-1ubuntu118.04.1, mixed mode, sharing)
На Windows java версия:
java -version
java version "1.8.0_141"
Java(TM) SE Runtime Environment (build 1.8.0_141-b15)
Java HotSpot(TM) 64-Bit Server VM (build 25.141-b15, mixed mode)