[Interest] Android: strange error when building project using Qt 5.12.12

Alexander Dyagilev alervdvcw at gmail.com
Mon Jul 4 22:19:42 CEST 2022


Hello,

I'm trying to add QR code scanning to my app.

For this, I use this: https://github.com/dm77/barcodescanner.

So, I'm adding the dependency to build.gradle using this line:

implementation 'me.dm7.barcodescanner:zxing:1.9.13'

Since this, I'm getting a strange build error. If I build using Qt 6.3.1 
- works fine.

For now, I would like to stick with Qt 5.12.12 to have Android 5 support.

Any suggestion on how to fix this error?

:compileDebugAidl FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileDebugAidl'.
3 actionable tasks: 3 executed
 > java.io.IOException: com.android.ide.common.process.ProcessException: 
Error while executing process 
C:\Users\alexa\AppData\Local\Android\Sdk\build-tools\33.0.0\aidl.exe 
with arguments 
{-pC:\Users\alexa\AppData\Local\Android\Sdk\platforms\android-33\framework.aidl 
-oC:\Work\Source\build-fdm-Android_Qt_5_12_12_Clang_armeabi_v7a-Debug\ui\android-build\build\generated\source\aidl\debug 
-IC:\Work\Source\build-fdm-Android_Qt_5_12_12_Clang_armeabi_v7a-Debug\ui\android-build\src 
-ID:\Qt\5.12.12\android_armv7\src\android\java\src 
-IC:\Work\Source\build-fdm-Android_Qt_5_12_12_Clang_armeabi_v7a-Debug\ui\android-build\aidl 
-IC:\Work\Source\build-fdm-Android_Qt_5_12_12_Clang_armeabi_v7a-Debug\ui\android-build\src\debug\aidl 
-IC:\Users\alexa\.gradle\caches\transforms-1\files-1.1\media-1.0.0-rc01.aar\5fb24aefd1fa889b48d00062fa9d8cbd\aidl 
-IC:\Users\alexa\.gradle\caches\transforms-1\files-1.1\core-1.1.0.aar\bb244fc88bda2df98aab52891f68f988\aidl 
-IC:\Users\alexa\.gradle\caches\transforms-1\files-1.1\versionedparcelable-1.1.0.aar\762838e2847853e8ef26c3d55791f4cc\aidl 
-dC:\Users\alexa\AppData\Local\Temp\aidl7600775961353039883.d 
D:\Qt\5.12.12\android_armv7\src\android\java\src\org\kde\necessitas\ministro\IMinistroCallback.aidl}



More information about the Interest mailing list