FILE: /var/www/html/dialogue/ThinkPHP/Library/Think/Controller.class.php LINE: 166
likequanmintv
likequanmintv copied to clipboard
RetrofitManager.getInstance初始化有问题, 服务器的问题么?
`07-05 01:43:55.161 16026-16026/android.marshon.likequanmintv E/AndroidRuntime: FATAL EXCEPTION: main Process: android.marshon.likequanmintv, PID: 16026 java.lang.IllegalArgumentException: Illegal URL:
:(
Call to a member function parseTemplate() on a non-object
ThinkPHP3.2.3 { Fast & Simple OOP PHP Framework } -- [ WE CAN DO IT JUST THINK ]
at retrofit2.Retrofit$Builder.baseUrl(Retrofit.java:437)
at android.marshon.likequanmintv.librarys.http.RetrofitManager.<init>(RetrofitManager.java:98)
at android.marshon.likequanmintv.librarys.http.RetrofitManager.getInstance(RetrofitManager.java:177)
at android.marshon.likequanmintv.librarys.http.RetrofitManager.getInstance(RetrofitManager.java:172)
at android.marshon.likequanmintv.mvp.recommend.interactor.RecommendFragmentInteractorImpl.getStartInfo(RecommendFragmentInteractorImpl.java:41)
at android.marshon.likequanmintv.start.SplashActivity.initData(SplashActivity.java:68)
at android.marshon.likequanmintv.start.SplashActivity.access$100(SplashActivity.java:35)
at android.marshon.likequanmintv.start.SplashActivity$1.run(SplashActivity.java:56)
at android.os.Handler.handleCallback(Handler.java:751)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6077)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:865)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)
`
我也是这个问题呀
baseUrl()出问题了,服务器的原因么?