Warning: Additionally, the fallback loader failed to parse the XML
-
0
While setting up Android environment in Qt, the following warning pops up:
Warning: Additionally, the fallback loader failed to parse the XML.
I already had a well setup and running Android environment. I upgraded to Qt 6.7 recently and tried to run application in already installed Emulator as well as actual android device. The application dies right before the launch of debugger. So I decided to remove and reinstall Android component of Qt, JDK, SDK and its system images. Doing so produces the above warning and application dies as usual.
Qt version - 6.7, JDK version - 17, SDK version - 25.1.8937393 & 26.1.10909125
I have tried installing system images of different APIs and deleting the cache folder of Qt.
-
NDK version 26.1.0909125 is definitively supported and works for me.
Looks like a broken NDK installation. Have you tried re-installing the NDK? -
@Axel-Spoerl I have tried reinstalling everything. Rolled back to Qt Creator 12.0.2 version and Qt 6.6.3. All the old and working environment settings were acquired. JDK version 17 was reinstalled from Oracle before reinstalling SDK and NDK. But the issue persists.
-
I can see an OpenSSL issue in the background of the error log.
Please resolve that first and see, if the error persists when done. -
@Axel-Spoerl
I think that would do nothing as this setup (OpenSSL) is done at very last of setting up SDK. In the very first steps of managing Android settings comes setting up JDK location, Android SDK location and then downloading the essentials including cmdline-tools and NDK. This also shows the same warning. Downloading the OpenSSL binaries comes after this. But I'll give it a go and post the result. -
@Axel-Spoerl
As suspected. -
Hm, that's really weird and I can't reproduce that on Windows, macOS or Linux.
So I can't offer more than trial and error. Can you launch an application via Android Studio? -
@Axel-Spoerl
All the Android environment I have is just on Qt Creator. I don't have Android Studio. -
I've the same warnings - the final build works fine, though.
The message comes from com.android.repository.impl.manager.RemoteRepoLoaderImpl. According to the source, there's a loop that should output a list of errors, but it seems to be empty. No idea what exactly causes this yet.