UniDAC & MySQL on android

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
ewong
Posts: 21
Joined: Thu 20 Jan 2011 01:22

UniDAC & MySQL on android

Post by ewong » Mon 28 Nov 2016 05:32

Hi,

I'm using XE7 to build a multi-device application (currently figuring out the parts
needed only for the Android version).

I'm using a trial UniDAC to accomplish this (although I have purchased the license,
I'm waiting for the license information); but, even in a simple form with
one grid, one UniQUery, one UniConnection, and a MySQLUniProvider;but,
I can't seem to build:

It would give me an error on Data.DBXMySQL. (It's ok on a Windows target).

The error in the Messages pane:

[DCC Fatal Error] dsnap_clientunit.pas(14): F1026 File not found: 'J:\projects\gitprojs\delphi\dsnap\Data.DBXMySQL.dcu' (unit scope "Data" indicates Android, iOSDevice, Win32, OSX32, iOSSimulator, Win64 only)

I've followed http://blog.devart.com/how-to-develop-d ... r-xe6.html (despite it being for CBuilder only); but I translated the
necessary SpecificOptions to Delphi (but in 6.4.16, there doesn't seem to have a
"Direct" SpecificOption available for MySQL).

Any help appreciated.

ewong

ewong
Posts: 21
Joined: Thu 20 Jan 2011 01:22

Re: UniDAC & MySQL on android

Post by ewong » Mon 28 Nov 2016 08:02

Apparently I had a bunch of components (from my previous tests) that affected it.
Removing them (and adding that TMySQLProvider) allows the app to be built and
deployed.

Sorry for the noise.

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: UniDAC & MySQL on android

Post by ViktorV » Mon 28 Nov 2016 09:37

We are glad to know you have found a solution for the issue.
Feel free to contact us if you have any further questions about our products.

Post Reply