While creating the local make build, i have installed sdk,jdk and ndk for the same and configured into QT. But while creating local make for the Android getting the below error,
Building Android package using ant.
Using ant: C:/Users/Rabi/Desktop/QTtrainingSetup/Android/apache-ant-1.10.1/bin/ant.bat
Buildfile: build.xml does not exist!
The system cannot find the path specified.
Build Failed.
I have also uploaded the log file, please check and suggest what to do.
Appreciate your quick help.
Solved! Go to Solution.
Hi Manish,
Local Make still uses ANT for building Android apps. We are planning to switch to Gradle for Android builds in a future AppStudio release.
As described in above post, ant folder has been removed in the latest Android SDK installer.
Can you please try below steps to see if it resolves the build error?
- Rename C:/Users/Rabi/AppData/Local/Android/Sdk/tools to tools_backup
- Download https://dl.google.com/android/repository/tools_r25.2.5-windows.zip
- Extract and copy to C:/Users/Rabi/AppData/Local/Android/Sdk/tools
- Run Local Make for Android
Thanks
Shobana
Hi Manish,
Local Make still uses ANT for building Android apps. We are planning to switch to Gradle for Android builds in a future AppStudio release.
As described in above post, ant folder has been removed in the latest Android SDK installer.
Can you please try below steps to see if it resolves the build error?
- Rename C:/Users/Rabi/AppData/Local/Android/Sdk/tools to tools_backup
- Download https://dl.google.com/android/repository/tools_r25.2.5-windows.zip
- Extract and copy to C:/Users/Rabi/AppData/Local/Android/Sdk/tools
- Run Local Make for Android
Thanks
Shobana
Hi Shobana,
Thanks a lot, Its really helpful for me. Thanks much.
Regards,
Manish Sharma