Java Question How to reference correcty if a lib internal is using okhttp?

DonManfred

Expert
Licensed User
The Library i am currectly wrapping is referencing okhttp inside the Library.
B4X:
import com.squareup.okhttp.Callback;
import com.squareup.okhttp.HttpUrl;
import com.squareup.okhttp.OkHttpClient;
import com.squareup.okhttp.Request;
import com.squareup.okhttp.RequestBody;
import com.squareup.okhttp.Response;
import com.squareup.okhttp.ResponseBody;
import com.squareup.okhttp.logging.HttpLoggingInterceptor;
I found out that i need to use a 2.7.5 release of okhttp to get this imports working.

How can i reference them using the okhttp jars provided with B4A (the V3.x) from within the Library? Any hints are welcome ;-)
 
Top