Skip to content
Branch: master
Find file History
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
AntLiveManifest Initial Open Source Commit Jan 2, 2019
app Android: workaround for gradle kts bug Jul 7, 2019
enterprise_template Initial Open Source Commit Jan 2, 2019
gradle/wrapper updating gradle May 2, 2019
ndk Android: loading zipped plugins without unpacking for bundles Jul 8, 2019
project Initial Open Source Commit Jan 2, 2019
resources Builder/Android: better handling of relative paths for android Jul 6, 2019
sdk Android: loading zipped plugins without unpacking for bundles Jul 8, 2019
template
.gitignore Adding prebuilt utilities not to require ninja Jun 11, 2019
ParseAndroidProjectProperties.lua Initial Open Source Commit Jan 2, 2019
README.md Modifying readme to reflect build system May 17, 2019
Rtt_AndroidAppPackager.cpp Trying to fix non-ascii names in Android apps for Windows Jun 28, 2019
Rtt_AndroidAppPackager.h Windows non-ascii usernames workaround Jun 24, 2019
build.gradle.kts Better plugin caching and minSDKVersion Jul 4, 2019
build_app.properties Initial Open Source Commit Jan 2, 2019
build_app.sh Initial Open Source Commit Jan 2, 2019
build_cards_docs.sh Initial Open Source Commit Jan 2, 2019
build_enterprise_docs.sh Initial Open Source Commit Jan 2, 2019
build_plugins.sh Initial Open Source Commit Jan 2, 2019
build_server_input.sh Initial Open Source Commit Jan 2, 2019
build_server_output.sh Initial Open Source Commit Jan 2, 2019
build_template.sh Initial Open Source Commit Jan 2, 2019
build_template_cards.sh Initial Open Source Commit Jan 2, 2019
create_build_properties.lua Trying to fix non-ascii names in Android apps for Windows Jun 28, 2019
gradle.properties Android: loading zipped plugins without unpacking for bundles Jul 8, 2019
gradlew Porting to x64 and adding Gradle build scripts Apr 1, 2019
gradlew.bat Porting to x64 and adding Gradle build scripts Apr 1, 2019
mkapk Initial Open Source Commit Jan 2, 2019
mks3upload Initial Open Source Commit Jan 2, 2019
settings.gradle.kts Naive integration into simulator May 30, 2019
setup.bat Windows non-ascii usernames workaround Jun 24, 2019
setup.sh Better build process Jun 13, 2019

README.md

How to Build Corona's Android Software

Note: gradle builds are still work in progress. Check out master branch for current info

Setup

To run and debug Corona for Android create directory platform/test/assets2 and put your project there (platform/test/assets2/main.lua must exist).

To check out repository on proper branch use this command:

git clone --recurse-submodules -j8 --branch=gradle https://github.com/coronalabs/corona.git

If you already have repo checked out, you can switch to gradle branch:

git checkout gradle
git submodule update --init -j8

Option -j8 does work in parallel, but may be not supported on older versions of Git. It can be deleted safely.

Android Studio

Currently Corona for Android is built with Gradle build system. It is well integrated with Android Studio or IntelliJ IDEA (pro or community) which can be used as IDE. To do this open, start the IDE, in welcome Window click "Open existing Android Studio project" and select platform/android directory.

Command line builds

To build from command line, you have to have Android SDK adn NDK set up.

export ANDROID_SDK=~/Library/Android/sdk
export ANDROID_NDK=~/Library/Android/sdk/ndk-bundle
./gradlew assemble
You can’t perform that action at this time.