How to Mysql JDBC Driver to android studio

前端 未结 2 621
误落风尘
误落风尘 2020-12-04 00:33

I want to connect to remote sql database via jdbc I work on Android Studio But when executing I got this error

java.lang.ClassNotFoundException: com.mysql.         


        
2条回答
  •  死守一世寂寞
    2020-12-04 00:38

    You can see the official site of MySQL to download the [JDBC][2].

    Then you only need to add the library to Android Studio like any other library.

提交回复
热议问题