Unsolved The "qt notifier" example is not compiled.
-
Hi!
The "qt notifier" example is not compiled.
Compilation does not produce errors and the compilation ends with a red bar in the lower right part of the screen.
I use qt 5.14.1 and clang v7a. -
@Mikeeeeee said in The "qt notifier" example is not compiled.:
Compilation does not produce errors and the compilation ends with a red bar in the lower right part of the screen
There should be errors. What do you see in "Issues" and "Compile Output" tabs?
-
@jsulm The strange thing is that there are no errors. In 5,12 compiled in 5,14,1 not compiled .
-
@Mikeeeeee Delete build directory run qmake and check its output. If qmake succeeds build.
-
It is errors building:
Generating Android Package
Input file: E:/Programs/Qt/Examples/Qt-5.12.3/androidextras/build-notification-Android_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_14_2_for_Android-Debug/android-notification-deployment-settings.json
Output directory: E:/Programs/Qt/Examples/Qt-5.12.3/androidextras/build-notification-Android_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_14_2_for_Android-Debug/android-build/
Application binary: notification
Android build platform: android-29
Install to device: No
-- Skipping E:/Programs/Qt/5.14.2/android/plugins/iconengines/libplugins_iconengines_qsvgicon_armeabi-v7a.so. It has unmet dependencies: lib/libQt5Svg_armeabi-v7a.so,lib/libQt5Widgets_armeabi-v7a.so.
-- Skipping E:/Programs/Qt/5.14.2/android/plugins/imageformats/libplugins_imageformats_qsvg_armeabi-v7a.so. It has unmet dependencies: lib/libQt5Svg_armeabi-v7a.so,lib/libQt5Widgets_armeabi-v7a.so.Configure project :
WARNING: The option setting 'android.bundle.enableUncompressedNativeLibs=false' is experimental and unsupported.
The current default is 'true'.Task :preBuild UP-TO-DATE
Task :preDebugBuild UP-TO-DATETask :compileDebugAidl FAILED
aidl.exe E 04-27 12:58:08 4700 8452 io_delegate.cpp:50] Failed to GetFullPathName(E:\Programs\Qt\Examples\Qt-5.12.3\androidextras\build-notification-Android_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_14_2_for_Android-Debug\android-build\build\generated\aidl_source_output_dir\debug\compileDebugAidl\out\org\kde\necessitas\ministro\IMinistro.java)FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ':compileDebugAidl'.
1 exception was raised by workers:
java.lang.RuntimeException: java.lang.RuntimeException: java.io.IOException: com.android.ide.common.process.ProcessException: Error while executing process E:\Programs\Android\SDKAndroidStudio\build-tools\28.0.3\aidl.exe with arguments {-pE:\Programs\Android\SDKAndroidStudio\platforms\android-29\framework.aidl -oE:\Programs\Qt\Examples\Qt-5.12.3\androidextras\build-notification-Android_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_14_2_for_Android-Debug\android-build\build\generated\aidl_source_output_dir\debug\compileDebugAidl\out -IE:\Programs\Qt\Examples\Qt-5.12.3\androidextras\build-notification-Android_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_14_2_for_Android-Debug\android-build\aidl -IE:\Programs\Qt\Examples\Qt-5.12.3\androidextras\build-notification-Android_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_14_2_for_Android-Debug\android-build\src\debug\aidl -IE:\Programs\Qt\Examples\Qt-5.12.3\androidextras\build-notification-Android_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_14_2_for_Android-Debug\android-build\src -IE:\Programs\Qt\5.14.2\android\src\android\java\src -dC:\Users\NEWOWN~1\AppData\Local\Temp\aidl5411364266396913277.d E:\Programs\Qt\5.14.2\android\src\android\java\src\org\kde\necessitas\ministro\IMinistro.aidl}-
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 7s
1 actionable task: 1 executed
Building the android package failed!
-- For more information, run this command with --verbose.
12:58:08: Процесс «E:\Programs\Qt\5.14.2\android\bin\androiddeployqt.exe» завершился с кодом 14.
Ошибка при сборке/развёртывании проекта notification (комплект: Android для armeabi-v7a,arm64-v8a,x86,x86_64 (Clang Qt 5.14.2 for Android))
Во время выполнения этапа «Сборка Android APK» - What went wrong: