Skip to content

Commit

Permalink
Fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
yen223 committed Oct 31, 2024
1 parent 2685841 commit e12db98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion articles/interesting-things-i-learned-oct-2024.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ The good news: JDBC actually works in Android.

The bad news: the latest PostgresQL JDBC driver does not compile on Android.

PostgresQL version 42.2.10 and above are broken on Android, as they have a dependency on `java.lang.management.ManagementFactory`, which doesn't exist in Android's Dalvik VM.
PostgresQL version 42.2.10 and above are broken on Android, as they have a dependency on `java.lang.management.ManagementFactory`, which doesn't exist in Android's ART runtime.

The solution: use [PostgresQL 42.2.9](https://mvnrepository.com/artifact/org.postgresql/postgresql/42.2.9), which does work on Android.

Expand Down

0 comments on commit e12db98

Please sign in to comment.