BuildStendhalForAndroid: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
imported>AntumDeluge
note that building from IDE instructions not yet available
imported>AntumDeluge
Gradle: command line examples for Windows
Line 56: Line 56:
$ ANDROID_SDK_ROOT="/path/to/sdk/root" ./gradlew build
$ ANDROID_SDK_ROOT="/path/to/sdk/root" ./gradlew build
</pre>
</pre>

Windows '''cmd''' example (note that you do not need to include the ".bat" filename extension):
<pre>
# with env variable set or sdk.dir set in local.properties
> gradlew build

# manually setting env variable (do not use quotes)
> set ANDROID_SDK_ROOT=C:\\path\\to\\sdk\\root
> gradlew build
</pre>

After build completes, the resulting .apk packages will be located in <span style="color:green;"><source root>/build/build_android_client/outputs/apk</span>.


=== Ant ===
=== Ant ===