Page 1 of 1

Error on data writing to the connection: invalid socket

Posted: Fri 22 Dec 2017 16:41
by atta_mudassar
I am working on an android app that has direct access to mySql. I am using MyDac to connect to mySql. Problem is that the app works fine on Android 6 but gives following error on Android 7 and terminates immediately.
Project xxxxx.apk raised exception class EMySqlException with message 'Error on data writing to the connection: invalid socket'.
I tried to update sdk and am now using Android sdk 24.4.1 but still the problem is same.
Any ideas what to do?

Re: Error on data writing to the connection: invalid socket

Posted: Mon 25 Dec 2017 09:18
by ViktorV
Please specify the used full IDE version.

Re: Error on data writing to the connection: invalid socket

Posted: Tue 26 Dec 2017 14:37
by atta_mudassar
I am using RAD Studio XE7 update 1. And MyDac version 8.6

Re: Error on data writing to the connection: invalid socket

Posted: Tue 26 Dec 2017 15:22
by ViktorV
The issue may be due to that RAD Studio XE7 has no support for Android 7: http://docwiki.embarcadero.com/Platform ... /Main_Page
Please try to compile and run your project for Android version supported in RAD Studio XE7.