Forum > Android-JVM

GetLazarus and Pandroid

(1/1)

zeljkoc:
GetLazarus and Pandroid work build android application

https://github.com/zeljkoc/pandroid/tree/master/FreePascal

DelphiFreak:
Hi,

I tried your installation on Linux Mint 18.

When I run "startlazarus" I get the error:  fpc.cfg is missing.
But if I look with the explorer into the folder /usr/local/pandroid/FreePascal/fpc/bin/ then I can see the file is really there.

Any idea what to do?

Btw:  On step: apt-get install gdb openjdk-7-jdk I had to change to openjdk-8-jdk. 7 seems not to be supported anymore on linux mint 18

And another question: do you know about laztoapk? https://sourceforge.net/projects/laztoapk/files/laztoapk_video.mp4/download

Regards,
Sam

zeljkoc:
start: /usr/local/pandroid/FreePascal/lazarus/lazarus.sh

1. linux Mint 18 I did not try.
my debian 8 32 bit and lxde to virtualbox
I'll try to install linux mint.

linux 32 work SDK


2. Not know about Laztoapk,  I think that could be put together


Pandroid :
1. Create All files to create apk
2. Compile file to apk
  - pandroid create targets and commpile : Pandroid (procedure Build_Apk(ACompPath, AProjPath, AJavaPackageName,  AProjFile, AFPCSrcDir: String);)

Hi,
My English Google translate

Compiler_Commands.png
and
Additions_and_Overrides.png


zeljkoc:
Mint 18 32 bit compile apk.

Mint: linuxmint-18-mate-32bit.iso install to VirtualBox.

download pandroid and extracto to /usr/local

#: chmod 0777 -R /usr/local/pandroid

#: apt-get update
#: apt-get install openjdk-8-jdk
#: apt-get install gdb
#: apt-get install android-tools-adb
#: apt-get install ant
#: apt-get install mtp-tools

copy shorcut /usr/local/pandroid/FreePascal/lazarus.desktop to Desktop and start Lazarus

DelphiFreak:
Works! Great. Thank you.

Navigation

[0] Message Index

Go to full version