Details
-
Bug
-
Resolution: Invalid
-
P1: Critical
-
None
-
5.12.3
-
None
-
Android SDK Platform 28
Android SDK build tools 28.0.3
Android NDK 19.2.5345600
JRE 1.8.0_152
Qt 5.12.3 android_arm64_v8a
Windows 7 build host
Description
androiddeployqt fails with error "duplicate class: org.kde.necessitas.ministro.IMinistro" under windows 7. A simple app (the "analogclock" example) builds for android_arm64_v8a (qmake and make + make install) but androiddeployqt fails with
Compiling with JDK Java compiler API. IMinistro.java:6: error: duplicate class: org.kde.necessitas.ministro.IMinistro :compileDebugJavaWithJavac FAILED
(see attached build.log)
Running gradle on task compileDebugJavaWithJavac shows that the source file IMinistro.java and a copy of it under install\build\generated are passed to javac, generating the duplicate class error.
(see attached build.gradle.debug.log)
Under linux (ubuntu 16.0.4 LTS) it works.