[Lazarus] CustomDrawn, Android: Crash on Device

Lukas Gradl fpc at ssn.at
Fri Dec 2 19:27:50 CET 2011


Am 2011-12-02 19:07, schrieb Felipe Monteiro de Carvalho:
> On Fri, Dec 2, 2011 at 7:05 PM, Felipe Monteiro de Carvalho
> <felipemonteiro.carvalho at gmail.com>  wrote:
>> To check for local changes, it should show only the -dAndroid in lclbase.lpk
>
> This brings and interresting question: Did you add -dAndroid to your
> lclbase.lpk?
>

Yes.

And the svn diff actually showed the problem: While working with the 
fixes2_6 compiler I had to comment out the last block in 
customdrawnobject_android.inc cause of FPC_SHARED_LIB_START beeing 
already defined. Removed the comments - and it worked!

So current status:

works on Android 2.2 emulator and Android 3.1 Tablet!

Regards

Lukas


-- 

--------------------------
software security networks
Lukas Gradl <fpc#ssn.at>
Eduard-Bodem-Gasse 5
A - 6020 Innsbruck
Tel: +43-512-214040-0
Fax: +43-512-214040-21
--------------------------




More information about the Lazarus mailing list