-
Notifications
You must be signed in to change notification settings - Fork 5
Android Setup
vkbsb edited this page Mar 7, 2015
·
3 revisions
So you have cloned godot_sam under modules directory in godot source. Now lets' look at how to get this running under android.
- Compile GoDot for Android (scons platform=android target=release)
- Copy the .so file created under bin directory to platform/android/java/libs/armeabi/libgodot_engine.so
- cd platform/android/java and run ant release
- You should see Godot-release-unsigned.apk under platform/android/java/bin
- Set the above apk as custom package under android export.
This will make sure that your module is ready in the android build. Now you can export the games / scenes that use godot_sam in them.
Due to a bug in the build system, you will see .dynlib being generated under bin directory when you compile godot for android. Just rename the .dynlib to .so and follow the above procedure and you should be fine.