In our javafx mobile application, we are using Okhttp3 4.9.1 for http requests. One of our developers told me that even if we specify Okhttp as an external dependency, in android device it will only use the Okhttp bundled with android. So I just wanted to verify it and tried to print the okhttp versions at the runtime like this one. It didn't work (ClassNotFoundExceptions). So, my question is,
- Do javafx mobile apps use 'okhttp bundled with android' or the one that we specified as a dependency?
- How to get the version of 'okhttp' bundled with android in javafx mobile application?