Hi there,
I have successfully programmed an app for Sailfish OS and now I would like to port it to Andriod as well. But I already got issues just setting up Qt.
So I added the SDK and NDK and I can launch a virtual Andriod system via Qt. I also started a simple Hello World app for Andriod but it does not compile:
Warning: Dependency not found: .../Qt/5.3/android_armv5/plugins/platformthemes
Warning: Dependency not found: .../Qt/5.3/android_armv5/plugins/platforminputcontexts
sh: ant: command not found
Generating Android Package
Input file: .../build-test-Android_f_r_armeabi_GCC_4_8_Qt_5_3_0-Debug/android-libtest.so-deployment-settings.json
Output directory: .../build-test-Android_f_r_armeabi_GCC_4_8_Qt_5_3_0-Debug/android-build
Application binary: .../build-test-Android_f_r_armeabi_GCC_4_8_Qt_5_3_0-Debug/libdsaChar.so
Android build platform: android-19
Install to device: emulator-5554
Building the android package failed!
-- For more information, run this command with --verbose.
23:09:33: Der Prozess ".../Qt/5.3/android_armv5/bin/androiddeployqt" wurde mit dem Rückgabewert 14 beendet.
Fehler beim Erstellen/Deployment des Projekts test (Kit: Android für armeabi (GCC 4.8, Qt 5.3.0))
Bei der Ausführung von Schritt 'Deployment auf Android-Gerät'
Warning: Dependency not found: .../Qt/5.3/android_armv5/plugins/platformthemes
Warning: Dependency not found: .../Qt/5.3/android_armv5/plugins/platforminputcontexts
sh: ant: command not found
Generating Android Package
Input file: .../build-test-Android_f_r_armeabi_GCC_4_8_Qt_5_3_0-Debug/android-libtest.so-deployment-settings.json
Output directory: .../build-test-Android_f_r_armeabi_GCC_4_8_Qt_5_3_0-Debug/android-build
Application binary: .../build-test-Android_f_r_armeabi_GCC_4_8_Qt_5_3_0-Debug/libdsaChar.so
Android build platform: android-19
Install to device: emulator-5554
Building the android package failed!
-- For more information, run this command with --verbose.
23:09:33: Der Prozess ".../Qt/5.3/android_armv5/bin/androiddeployqt" wurde mit dem Rückgabewert 14 beendet.
Fehler beim Erstellen/Deployment des Projekts test (Kit: Android für armeabi (GCC 4.8, Qt 5.3.0))
Bei der Ausführung von Schritt 'Deployment auf Android-Gerät'
To copy to clipboard, switch view to plain text mode
I assume I did not set it up correctly. Is there a got tutorial on how to do that on a Mac?
I tried Qt Quick and Qt Widget project. Both ended up with the same error message.
Thanks for your help!
Bookmarks