Usually to build the application with LAMW, I use the Lazarus menu "Run" / "[LAMW] Build Android Apk and Run" The LAMW application consist of a dll project controls.lpr loaded by the android java program through JNI. For controls.lpr, the target OS is Android, target CPU arm.