How to install MySQL on Android?
I did not find any person who would use this article https://wiki.qt.io/Build_Qt_5_MySQL_Plugin_for_Android
was able to launch on the Android MySQL. Someone can describe the whole process in detail. Thank you very much to everyone who will help)
my OS Windows , Qt5.10.1
What exact error do you get ?
What version of MariaDB are you using ?
Are you aware that it is not recommended to access a database directly over internet ?
Hello. I know that this is not recommended.
I have installed:
OpenSSL - openssl-1.0.2j-fips-x86_64.
MariaDB - mariadb-connector-odbc-3.0.5-win32
MinGW - MSYS
Qt - 5.10.1v
OS - Windows 7 x32/x86
Using 1 Option perform the following actions
ERROR: sh: ./Configure: No such file or directory
Way to arm-linux-androideabi-
Way to arch-arm-
Way to OpenSSL
From the looks of it, you only got the binary packages which matches your Desktop machine. Is that the case ?
Yes. How i understood it's for Windows 32-86
You need to cross-compile these dependencies for Android.
I managed to do it
RANLIB = "$ BR" ranlib CC = "$ BR" gcc . / Configure android - armv7 - prefix = $ SR / usr
But, when i do
ANDROID_DEV = $ SR / usr make
I get an error.
Where is stdlib.h in your computer ?
I could not find this file
That might be something coming from your ndk or rather how it is used.
Currently, Qt recommends an older version, you might want to try it. See the Android Getting Started guide in Qt's documentation.
Ok, I will now reinstall and Qt and NDK
No need to re-install Qt, just get the NDK, you can have several installed if you want as long as you use the right one.
Just be aware that the Android folks have a tendency to change stuff from one version of the NDK to the other that might be breaking stuff in other projects.
OS Windows 7 x32/x86
1). NDK 10e
2). JDK 8, because the JDK output errors
I install LIBICONV and OPENSSL
But when i wanna do
bzr branch lp:mariadb-native-client
hen the command line displays the following