![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
报错
li419360214
这个作者很懒,什么都没留下…
展开
-
exceptionininitializererror
一般来说是项目里用到了application,但是在清单里没有写 android:name="com.example.x3.appl"-------------------------加上这个 android:allowBackup="true" android:icon="@drawable/ic_launcher"原创 2016-01-04 13:32:21 · 388 阅读 · 0 评论 -
Failed to resolve: com.android.support:appcompat-v7:28.+ 报错
报错全文如下: Error:(26, 13) Failed to resolve: com.android.support:appcompat-v7:28.+ <a href="install.m2.repo">Install Repository and sync project</a><br><a href="openFile:D:/g...原创 2018-11-28 09:56:08 · 4272 阅读 · 2 评论 -
Can't connect to X11 window server using 'localhost:10.0' as the value of the DISPLAY variable.
jenkins打包死活过不去 :app:lint FAILED :app:lint (Thread[Daemon worker,5,main]) completed. Took 9.529 secs. FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:lin...原创 2019-01-17 16:18:05 · 3085 阅读 · 0 评论 -
java.net.ProtocolException: unexpected end of stream
问题发生环境:使用 Retorfit 上传了3张以上的图片, 解决;在配置Retorfit里的okhttp 的时候添加一个拦截器, 里面加上 addHeader("Connection","close"); 全文 如下: public static Interceptor HeaderInterceptorPut() { return new Intercep...原创 2019-02-23 15:53:46 · 5731 阅读 · 0 评论