Welcome, Guest
Username: Password: Remember me
CodeTyphon Cross-Build Development, discussions and problems
  • Page:
  • 1

TOPIC:

Can't build android cross element on linux 11 years 8 months ago #2446

  • Dibo
  • Dibo's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 37
  • Thank you received: 1
Hi,

I'm trying to prepare CodeTyphon for android like in this article:
www.pilotlogic.com/codetyphon/help/cross_build_for_android.htm

But can't build arm-android element, i386-android fail too. Other elements (like windows 32/64 bit, linux 32 bit) built without problems.

I have ubuntu linux 12.04 64 bit, GTK2. CodeTyphon 2.80. When I choose Cross-Build -> Free Pascal 64 bits (I don't have 32 bit option like in article) -> arm-android or i386-android, then some terminal appear and something is compiling for a while (~1 minute) but then terminal disappear without error.

Regards

Please Log in or Create an account to join the conversation.

Can't build android cross element on linux 11 years 8 months ago #2448

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4512
  • Thank you received: 1101
Android on Linux request "special" building procedure.
We tasked this cross-build item for next release.

Have fun
PilotLogic Architect and Core Programmer
The following user(s) said Thank You: FredyCC

Please Log in or Create an account to join the conversation.

Can't build android cross element on linux 11 years 5 months ago #2827

  • German Pablo Gentile
  • German Pablo Gentile's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 51
  • Thank you received: 0
Hi,
Is fixed on CT 3.00? Im using linux 64 bits and wnat to try this.

Best regards

Please Log in or Create an account to join the conversation.

Can't build android cross element on linux 11 years 5 months ago #2828

  • Dibo
  • Dibo's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 37
  • Thank you received: 1
Yes, I can build cross element now, but not tested it yet

Please Log in or Create an account to join the conversation.

Can't build android cross element on linux 11 years 5 months ago #2833

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4512
  • Thank you received: 1101
Yes, we add Android NDK Cross element (arm-android) and for unix OSes
but we add and FreePascal for Java (native) cross elements "jvm-java", "jvm-android"

CodeTyphon is THE High-Tech Programming Studio:
WinCE, Raspberry Pi ,Android SDK (jvm-Android) or Android NDK (arm-android)
Solaris, FreeBSD, Linux, Windows8 etc
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Last edit: by Sternas Stefanos.

Can't build android cross element on linux 11 years 4 months ago #2856

  • German Pablo Gentile
  • German Pablo Gentile's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 51
  • Thank you received: 0
Can somebody please explain HOW to compile for android? What kinf of project must i use?

Please Log in or Create an account to join the conversation.

Can't build android cross element on linux 11 years 4 months ago #2862

  • German Pablo Gentile
  • German Pablo Gentile's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 51
  • Thank you received: 0
Im compiling the android sample, like showed here:

i can open , build but get this error:

Error: Illegal parameter: -WR

Please let me know what im missing? Is linux 64 bits, btw.

Please Log in or Create an account to join the conversation.

Can't build android cross element on linux 11 years 4 months ago #2864

  • Manos S. Pappas
  • Manos S. Pappas's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 69
  • Thank you received: 1
For "normal" Android applications, you should create code for the Dalvnik JVM instead of native code.
This is accomplished with the android-jvm backend.

For more information, please follow the wiki: wiki.lazarus.freepascal.org/FPC_JVM_Android_Development
Best Regards,
Manos S. Pappas

Please Log in or Create an account to join the conversation.

Can't build android cross element on linux 11 years 4 months ago #2914

  • Alexandre
  • Alexandre's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 1
  • Thank you received: 0
Can`t build android application from windows 7.
Do all, how wrote in help.
But when I install on emulator device wrote error: file is not valid zip file

Please Log in or Create an account to join the conversation.

  • Page:
  • 1