The target units folder is fpc\2.5.1\units not 2.6.1
Ok, after putting the unit files into fpc\2.5.1\units and changing the library paths in the project options to point to the Android NDK, the following .so file was generated:
androidlcl\android\libs\armeabi\liblclapp.so
I installed the JDK and the Android SDK and I updated the environment variables in build_debug_apk.bat. I created a new keystore and after running build_debug_apk.bat I would now have a signed .apk file.
However, when I try to open it on my android device, I get the following error:
[Parse error] There is a problem parsing the package
I did not get this error when I built the apk from the VirtualBox image. Any idea what could be wrong?