Regarding the issue while building the Application in Windows
-
Hi,
I was trying to configure the Android set up for windows , i configured.
After configuring i tried to build the sample Application, i got the following error.Error: Target id 'android--1' is not valid. Use 'android.bat list targets' to get the target ids. Generating Android Package Input file: E:/Project/Program/build-AndroidSampleProgram-Android_for_armeabi_v7a_GCC_4_9_Qt_5_7_0-Debug/android-libAndroidSampleProgram.so-deployment-settings.json Output directory: E:/Project/Program/build-AndroidSampleProgram-Android_for_armeabi_v7a_GCC_4_9_Qt_5_7_0-Debug/android-build/ Application binary: E:/Project/Program/build-AndroidSampleProgram-Android_for_armeabi_v7a_GCC_4_9_Qt_5_7_0-Debug/libAndroidSampleProgram.so Android build platform: android--1 Install to device: No Buildfile: build.xml does not exist! Build failed Warning: Android platform 'android--1' does not exist in SDK. Building the android package failed! -- For more information, run this command with --verbose. 22:14:55: The process "C:\Qt\QtAndroidWindows5.7\5.7\android_armv7\bin\androiddeployqt.exe" exited with code 14. Error while building/deploying project AndroidSampleProgram (kit: Android for armeabi-v7a (GCC 4.9, Qt 5.7.0)) When executing step "Build Android APK"
What is issue?
Guidance is required.
Thanks,
-
Hi,
Which Android SDK/NDK did you install ?
-
Hi,
I uninstalled and installed once again, i am not getting the above mentioned error.
I installed
JDK : Java 8u102.
SDK : installer_r24.4.1-windows
NDK : android-ndk-r12-windows-x86
Apache ant : Apache Ant 1.9.7I have installed and provided path in environmental variables.
I am using Windows 8.1 OS, Qt 5.7 version.I am facing problem in deployment, i am able to compile the application , but when i try to deploy in my android device or in emulator, i am getting error as deployment failed, error during deployment.
Guidance is required,
Thanks,
-
Did you try to use gradle in place of ant ?
-
No i didnt install gradle.
Do I need to go with gradle instead of ant?. -
There's no need to per se, however AFAIK, it's what is currently used for "classic" Android development.
-
Thanks for the reply, i'l try installing gradle and test it in my android device and let u know.
And this might be silly, what is AFAIK?
-
AFAIK =
As Far As I Know