Local Make build in AppStudio for ARCGIS

642
2
Jump to solution
02-23-2018 01:31 AM
ManishSharma4
New Contributor II

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.

0 Kudos
1 Solution

Accepted Solutions
ShobanaSuresh
Esri Contributor

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.

makefile - The ant/ folder is suddenly missing from Android SDK. Did Google remove it? - Stack Overf... 

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

View solution in original post

0 Kudos
2 Replies
ShobanaSuresh
Esri Contributor

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.

makefile - The ant/ folder is suddenly missing from Android SDK. Did Google remove it? - Stack Overf... 

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

0 Kudos
ManishSharma4
New Contributor II

Hi Shobana,

Thanks a lot, Its really helpful for me. Thanks much.

Regards,

Manish Sharma

0 Kudos