I am connecting to PostgreSQL using JDBC in Android Studio. I have downloaded latest versions of driver and added in libs folder. I added JAR as library and added to dependency. I have added all internet permission and gave port no 5432 and IPV4 address of my laptop while connecting to my mobile. But, I am getting errors in classloader.java file as java Lang Management Factory not found, etc. I am debugging the same from 72 hours but I didn't got the resolution.
enter image description here enter image description here
CodePudding user response:
I found that latest version of JAR was not compatible with Android. I worked fine when I used some older version of driver.
