
Android-Bug
皮皮虾吃虾
物联网
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Android导入AndroidUSBCamera依赖出现ERROR: Unable to resolve dependency for ‘:app@debug/compileClasspa:解决方案
之前要使用usb摄像头的项目都是使用虹软或者百度封装好的sdk,现在不使用它们的sdk,需要自己调用usb摄像头,在github上搜索到了AndroidUSBCamera封装好的usb摄像头库,后来在依赖使用的时候出现如下错误按照github的教程来说是在根目录下的build.grade下加入allprojects { repositories { google() jcenter() maven { url 'https://jitpack.i原创 2020-12-12 17:09:03 · 980 阅读 · 1 评论 -
Androidx使用FloatingActionButton依赖爆红,解决Androidx不能使用FloatingActionButton
第一步:添加依赖: implementation 'com.google.android.material:material:1.0.0'第二步:xml文件中这样写就可以了 <com.google.android.material.floatingactionbutton.FloatingActionButton android:id="@+id/fab" ...原创 2020-04-26 17:35:39 · 6874 阅读 · 1 评论 -
Android报错:Channel is unrecoverably broken and will be disposed!
最近在使用Android客户端使用Netty做重连接服务器(服务器关闭)的时候,出现了这个错误,每次都是固定在5分钟左右的时候出现Channel is unrecoverably broken and will be disposed!出现后App会出现闪退情况。这个错误,后来在网上查阅资料,发现Android很多情况都会出现这个问题,但是Android Studio也没提示到底哪里报错。只...原创 2020-04-09 15:09:51 · 26059 阅读 · 0 评论 -
解决Android使用WebView在某些5.x版本出现Error inflating class android.webkit.WebView
最近在Android板子上面使用WebView,板子的版本都是Android5.1.1的,发现有些板子加载WebView可以正常使用,但是有些板子加载WebView会出现 android.view.InflateException: Binary XML file line #8: Error inflating class android.webkit.WebView这样的错误,在手机上面...原创 2020-03-19 10:27:53 · 4511 阅读 · 1 评论 -
Android使用OkHttp无法正常调用接口
参考:https://blog.youkuaiyun.com/jabony/article/details/91454473转载 2020-03-07 15:49:55 · 970 阅读 · 0 评论