Open main menu

Difference between revisions of "Compiling ScummVM/Android"

m
(Update for new toolchain)
Line 126: Line 126:
* <tt>android-x86_64</tt> - ideal for emulator with 64bit images
* <tt>android-x86_64</tt> - ideal for emulator with 64bit images


= Android Studiosetup =
= Android Studio setup =


After compiling there in the build directory (if used) there will be a new directory called <tt>android-project</tt>, this can be opened by Android Studio. C files are not yet available , but it sis possible edit Java files and debug both Java & native code (in emulator or on a real device via <tt>adb</tt> connection).
After compiling there in the build directory (if used) there will be a new directory called <tt>android-project</tt>, this can be opened by Android Studio. C files are not yet available , but it sis possible edit Java files and debug both Java & native code (in emulator or on a real device via <tt>adb</tt> connection).
To enable debugging, after opening the <tt>android-project</tt> directory change <tt>Project configuration</tt>, under tab <tt>Debugger</tt>, set field <tt>Debug type</tt> to <tt>Dual</tt>
To enable debugging, after opening the <tt>android-project</tt> directory change <tt>Project configuration</tt>, under tab <tt>Debugger</tt>, set field <tt>Debug type</tt> to <tt>Dual</tt>
47

edits