Re: ASyncTask doInBackground when getConnection
So I found an old project that was using a driver called "mysql-connector-java-5.1.42-bin.jar", and updated the line in build.gradle to
implementation files('libs/mysql-connector-java-5.1.42-bin.jar')
previously: implementation files('libs/mysql-connector-java-8.0.17.jar')
and suddenly it all works perfectly. hope this helps someone.
Subject
Written By
Posted
Re: ASyncTask doInBackground when getConnection
August 26, 2019 06:23AM
September 10, 2019 02:49AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.