Welcome, Guest
Username: Password: Remember me
Cross-Build Development for Android OS

TOPIC: compile android application

compile android application 1 year 8 months ago #3032

  • cvijanovic
  • cvijanovic's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 120
  • Thank you received: 9
  • Karma: 1
debian gnome 6.0.3 64 bit

CodeTyphon 3.10


problem compile library

message:


Options changed, recompiling clean with -B
/usr/lib/codetyphon/fpc/bin/x86_64-linux/arm-linux-ld: warning: /home/zeljko/programs/exampl/proba01/android/libs/armeabi/link.res contains output sections; did you forget -T?
/usr/lib/codetyphon/fpc/bin/x86_64-linux/arm-linux-ld: BFD (GNU Binutils) 2.22 assertion fail elf32-arm.c:8098
/usr/lib/codetyphon/fpc/bin/x86_64-linux/arm-linux-ld: BFD (GNU Binutils) 2.22 assertion fail elf32-arm.c:8098
/usr/lib/codetyphon/fpc/bin/x86_64-linux/arm-linux-ld: BFD (GNU Binutils) 2.22 internal error, aborting at elf32-arm.c line 7273 in elf32_arm_add_dynreloc
/usr/lib/codetyphon/fpc/bin/x86_64-linux/arm-linux-ld: Please report this bug.
project1.lpr(38) Error: Error while linking
project1.lpr(38) Fatal: There were 1 errors compiling module, stopping

android application
sory

The application LCL test (process com.pascal.lcl ....
The administrator has disabled public write access.

compile android application 1 year 8 months ago #3044

  • cvijanovic
  • cvijanovic's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 120
  • Thank you received: 9
  • Karma: 1
problem compile android application winxp 32 and CodeTyphon 3.10

1._____________________________
LAZARUS 1.1
FPC Version 2.7.1
svn 39670

compile library liblclapp.so, build_debug_apk.bat and adb_install.bat

android application work

2._____________________________________
CodeTyphon 3.10

lazarus change application:

Project -> options -> Other
add -FLlibdl.so

LCLWidgetType change LCLWidgetType1

compile library liblclapp.so, build_debug_apk.bat and adb_install.bat

android application not work

emulator message:

Sorry!

The application LCL Test
(process com.pascal.lcltest)
has stopped unexpectedly.
Please try again.


Test compile options:

HINT: using config file C:\codetyphon\fpc\bin\i386-win32\fpc.cfg
WARNING: ppu exists twice: C:\codetyphon\fpc\units\arm-linux\fv\dialogs.ppu, C:\codetyphon\lazarus\lcl\units\arm-linux\dialogs.ppu
WARNING: ppu exists twice: C:\codetyphon\fpc\units\arm-linux\fv\menus.ppu, C:\codetyphon\lazarus\lcl\units\arm-linux\menus.ppu
Last Edit: 1 year 8 months ago by cvijanovic.
The administrator has disabled public write access.

compile android application 1 year 7 months ago #3313

  • cvijanovic
  • cvijanovic's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 120
  • Thank you received: 9
  • Karma: 1
Wndows XP 32:

I installed codetyphon 4.0 and the problem is the same

extract laz4android-38150.rar and compile examples\androidlcl
compile library android\libs\armeabi\liblclapp.so

1. build_debug_apk.bat
2. adb_install.bat (send to emulator)
aplication to emulator work

delete library android\libs\armeabi\liblclapp.so

CodeTyphon 4.0 open examples\androidlcl (same)
Options other add (-FLlibdl.so)
compile library android\libs\armeabi\liblclapp.so

1. build_debug_apk.bat
2. adb_install.bat (send to emulator)
aplication to emulator not work

Sory!

The application LCL Test
(process com.pascal.lcltest)
has stopped unexpectedly.
Please try again.

what is the difference in configuration?

CodeTyphon 4.0 change compiler path to ..\laz4android\fpc\2.5.1\bin\i386-win32\fpc.exe
problem UTF8Process.pas
change
95 //FExecutableUTF8:=SysToUTF8(inherited Executable);
97 //Src:=inherited Parameters;
135 //inherited Executable:=UTF8ToSys(FExecutableUTF8);
158 //inherited Parameters:=sl;

then
compile library android\libs\armeabi\liblclapp.so

1. build_debug_apk.bat
2. adb_install.bat (send to emulator)
aplication to emulator work
Last Edit: 1 year 7 months ago by cvijanovic.
The administrator has disabled public write access.

compile android application 1 year 6 months ago #3429

  • cvijanovic
  • cvijanovic's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 120
  • Thank you received: 9
  • Karma: 1
Windows XP 32, CodeTyphon 4.10

compile androidlcltest, windows message:
arm-linux-ld.exe has encountered a problem and neds to close.
We are sorry for the inconvevenience.

Debug Send Error Report Don't Send
The administrator has disabled public write access.

compile android application 1 year 6 months ago #3446

  • cvijanovic
  • cvijanovic's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 120
  • Thank you received: 9
  • Karma: 1
if anyone has an example of graphics on Android with CodeTyphon 4.1 winxp 32 and without java
The administrator has disabled public write access.
Time to create page: 0.155 seconds