12/25/2023 0 Comments Android ndk r9windows![]() ![]() What in the world are these files that the linker cannot find? Look more like command line arguments, but.Īlso, I did not see an option under linking that would allow the strip symbols, (-Xs). In any event, I followed these instructions above explicitly, checked my paths and etc.Ĭ:\Android\laz4android\fpc\2.7.1\bin\i386-win32\: cannot find crtbegin_so.oĬ:\Android\laz4android\fpc\2.7.1\bin\i386-win32\: cannot find -ljnigraphicsĬ:\Android\laz4android\fpc\2.7.1\bin\i386-win32\: cannot find -llogĬ:\Android\laz4android\fpc\2.7.1\bin\i386-win32\: cannot find -lc I guess I have been to used to a 'set and forget about it' type of compiler. I am not a newbie to Delphi or Lazarus but a newbie to Android programming. Run > Compile this will generate this library :ĭ:\Projects\android\androidlcl\android\libs\armeabi\liblclapp.so ĭ:\Projects\android\androidlcl\android\generate_debug_key.bat Other : -dANDROID -Xd -CpARMV6 -FLlibdl.so Select customdrawn 0.0 > install selection and hit save and rebuild IDE, continueĬopy C:\Android\laz4android\examples\androidlcl at D:\Projects\android\androidlclįile > open "D:\Projects\android\androidlcl\androidlcltest.lpr"Ĭompiler options > select "Release TAndroid"Ĭ:\Android\android-ndk-r9\platforms\android-8\arch-arm\usr\lib C:\Android\android-ndk-r9\toolchains\arm-linux-androideabi-4.6\prebuilt\windows\lib\gcc\arm-linux-androideabi\4.6 Select "Package" "Install/Uninstall Packages" Run build.bat (doubleclick) -> It will compile & bulid lazarus. Unzip Laz4Android1.1-41139-FPC2.7.1.7z into C:\Android\laz4androidĬ:\Android\android-ndk-r9\toolchains\arm-linux-androideabi-4.6\prebuilt\windows\bin\arm-linux-androideabi-*.exeĬ:\Android\laz4android\fpc\2.7.1\bin\i386-win32\*Įdit the file C:\Android\laz4android\build.bat like this : Unzip android-ndk-r9-windows-x86.zip into C:\Android\android-ndk-r9ĥ) Installing Laz4Android1.1-41139-FPC2.7.1.7z. Now update the SDK ĭownload only the file android-ndk-r9-windows-x86.zip Install sdk (installer_r22.2.1-windows) into C:\Android\android-sdkĬopy at "C:\Android\android-sdk\tools" the file "apkbuilder.bat" (can be found here Installer_r22.2.1-windows.exe (Recommended) It will be installed in to C:\Program Files\Java\.ĭOWNLOAD FOR OTHER PLATFORMS > SDK Tools Only In this tutorial i am using JDK 1.6u45 + SDK 22.2.1 + ndk-r9 + Laz4Android1.1-41139-FPC2.7.1ġ)Create on C:\ a folder called "Android"Ģ)Install JDK 1.6u45 (i have installed jdk-6u45-windows-圆4.exe) ![]() I have made a quick tutorial on how to create android apps with Lazarus. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |