Qt Android Application failed to run on emulator.
-
I am a beginner in Qt6 Android development. I had recently setup the environment. I downloaded android studio and setup the sdk and the emulator there. After that I setup the qt environment but when I ran my first app (just a test app) I ran into this error
:-1: warning: Warning: This version only understands SDK XML versions up to 2 but an SDK XML file of version 3 was encountered. This can happen if you use versions of Android Studio and the command-line tools that were released at different times.
:-1: error::-1: warning: Warning: unexpected element (uri:"", local:"extension-level"). Expected elements are <{}codename>,<{}layoutlib>,<{}api-level>
:-1: warning: Warning: unexpected element (uri:"", local:"base-extension"). Expected elements are <{}codename>,<{}layoutlib>,<{}api-level>
:-1: error::-1: error: adb: failed to install D:/QTProjects/build-AndroidApp-Android_Qt_6_3_1_Clang_x86-Debug/android-build//build/outputs/apk/debug/android-build-debug.apk: Failure [INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113]
:-1: error: Installing to device failed!
:-1: error: The process "D:\QT\6.3.1\mingw_64\bin\androiddeployqt.exe" exited with code 16.
:-1: error: Installing the app failed with an unknown error.
:-1: error: The command "D:\Android\AndroidSDK\platform-tools\adb.exe -s emulator-5554 pull /system/bin/app_process32 D:/QTProjects/build-AndroidApp-Android_Qt_6_3_1_Clang_x86-Debug/app_process" terminated with exit code 1.
:-1: error: The command "D:\Android\AndroidSDK\platform-tools\adb.exe -s emulator-5554 pull /system/bin/linker D:/QTProjects/build-AndroidApp-Android_Qt_6_3_1_Clang_x86-Debug/linker" terminated with exit code 1.
:-1: error: Package deploy: Failed to pull "/system/bin/linker" to "D:/QTProjects/build-AndroidApp-Android_Qt_6_3_1_Clang_x86-Debug/linker".
:-1: error: The command "D:\Android\AndroidSDK\platform-tools\adb.exe -s emulator-5554 pull /system/lib/libc.so D:/QTProjects/build-AndroidApp-Android_Qt_6_3_1_Clang_x86-Debug/libc.so" terminated with exit code 1.
:-1: error: Package deploy: Failed to pull "/system/lib/libc.so" to "D:/QTProjects/build-AndroidApp-Android_Qt_6_3_1_Clang_x86-Debug/libc.so".Here's the image
I am using Clang x86 kit for emulator testing...
Can anyone help me resolve this problem...