Lazarus
Programming => Operating Systems => Android => Topic started by: Luigi on March 13, 2018, 09:47:12 pm
-
Hello,
I'm building my project but I'm wrong because I put a normal lazarus component, TIniStorage, on form. Now when I compile project (from "[lamw] build Android apk and run" menu) I get ever the error in Subject!
I do not be able to understand what I do to repair my project. Must I recreate my project from start?
Can anyone help me?
Thanks.
Best regards
-
I get the error even I delete the normal component TIniStorage.
-
Hi Luigi,
This is a symptom tha TIniStorage is LCL dependent! [LAMW dont support LCL components... sorry]
So, you need drop this component an clear your "uses" section ... // <<----- here!!!!
You can try LAMW component "jPreferences" ....
-
This is a symptom tha TIniStorage is LCL dependent! [LAMW dont support LCL components... sorry]
Ok, that, now, I understand :(
So, you need drop this component an clear your "uses" section ... // <<----- here!!!!
It is not enough drops this component and clear "uses". I just discovered that Lazarus inserts the LCL package into the projects uses that i view on project analizer.
To repair the project is it necessary even drops the LCL package from the project's uses.
You can try LAMW component "jPreferences" ....
Ok.
Thanks.