Open jeffreyrajanofficial opened 7 years ago
Me too getting this error. Please update...
java.lang.IllegalStateException: Base URL required.
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2693)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2758)
at android.app.ActivityThread.access$900(ActivityThread.java:177)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1448)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:145)
at android.app.ActivityThread.main(ActivityThread.java:5942)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1400)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1195)
Caused by: java.lang.IllegalStateException: Base URL required.
at retrofit2.Retrofit$Builder.build(Retrofit.java:546)
at com.necistudio.vigerpdf.network.RestClient.getClient(RestClient.java:57)
at com.necistudio.vigerpdf.manage.RenderingPDFNetwork.
add baseurl in class restclient
example Retrofit client = new Retrofit.Builder() .baseUrl("http://necistudio.com") .client(okclient) .addConverterFactory(GsonConverterFactory.create()) .build(); ApiInterface = client.create(ApiInterface.class);
Hi Anna arthdi putra,
I have changed the base URL to http://necistudio.com.
Thanks
On Thu, Mar 2, 2017 at 8:20 AM, Anna arthdi putra notifications@github.com wrote:
add baseurl in class restclient
example Retrofit client = new Retrofit.Builder() .baseUrl("http://necistudio.com") .client(okclient) .addConverterFactory(GsonConverterFactory.create()) .build(); ApiInterface = client.create(ApiInterface.class);
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/aerdy/Android-Viger_View_Pager_PDF_OpenSource/issues/2#issuecomment-283540592, or mute the thread https://github.com/notifications/unsubscribe-auth/ANhzVkReLsxtMis1h1vnTSxJt8mobNINks5rhi56gaJpZM4MGAil .
-- Regards, KPN Karthik, Chief Technologist
PerfectMinders Mobile App Builders Chennai http://www.perfectminders.com contact : 9600019678
Clear issues all.
While loading URL I'm getting the following error: