Page 1 of 1

UniDAC & MySQL on android

Posted: Mon 28 Nov 2016 05:32
by ewong
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

Re: UniDAC & MySQL on android

Posted: Mon 28 Nov 2016 08:02
by ewong
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.

Re: UniDAC & MySQL on android

Posted: Mon 28 Nov 2016 09:37
by ViktorV
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.