Corona Enterprise - Build for Android

Hello,

I’m working on a project where I need to build the binary for Android.
But I don’t know where to put all my corona source files (Lua & Image assets).

I did put all these files in Corona folder But could not build the APK FIle.
It did not give any error message. Last few lines of the log are as below.

-release-sign:
-post-build:
release:
BUILD SUCCESSFUL
I also executed the command to update the project. When I see in the build folder (Automatically Generated), I can see the binary of 1.5 MB each time. But my final binary file should be around 40-45 MB.
Can someone please help?
[import]uid: 40227 topic_id: 35605 reply_id: 335605[/import]

Right… you are supposed to put all of your Corona resource files (Lua scripts, images, sound files, etc.) into a “Corona” directory right next to your “android” app project directory.

Have you tried building an Android sample project?
Have a look at the following sample project…
./CoronaEnterprise/Samples/ExtendingUI

Try building its Android project by running the “build.sh” script as follows…
./CoronaEnterprise/Samples/ExtendingUI/android/build.sh

The built APK will be in your android project’s “bin” directory. You must sign it via “jarsigner” yourself since the Android SDK build system won’t do it for you. You can sign it with Corona’s debug keystore for testing purposes at the command line as follows…
[lua]jarsigner -keystore “CoronaSDK/Resource Library/Android/debug.keystore” androiddebugkey[/lua]

The password for Corona’s debug.keystore file is “android”.

So, if you are able to install and run the sample APK on your Android device just fine, then you’re ready to do the same for your app.
[import]uid: 32256 topic_id: 35605 reply_id: 141576[/import]

Right… you are supposed to put all of your Corona resource files (Lua scripts, images, sound files, etc.) into a “Corona” directory right next to your “android” app project directory.

Have you tried building an Android sample project?
Have a look at the following sample project…
./CoronaEnterprise/Samples/ExtendingUI

Try building its Android project by running the “build.sh” script as follows…
./CoronaEnterprise/Samples/ExtendingUI/android/build.sh

The built APK will be in your android project’s “bin” directory. You must sign it via “jarsigner” yourself since the Android SDK build system won’t do it for you. You can sign it with Corona’s debug keystore for testing purposes at the command line as follows…
[lua]jarsigner -keystore “CoronaSDK/Resource Library/Android/debug.keystore” androiddebugkey[/lua]

The password for Corona’s debug.keystore file is “android”.

So, if you are able to install and run the sample APK on your Android device just fine, then you’re ready to do the same for your app.
[import]uid: 32256 topic_id: 35605 reply_id: 141576[/import]