bug
穿越bug
这个作者很懒,什么都没留下…
展开
-
You may need to adjust the proxy settings in Gradle.
项目刚一导入,就提示了这个错看网上一些设置gradle版本设置了都不管用后来把项目中build.gradle文件中google()放在最前面,问题解决了有好多问题都是需要把google()放在最前面原创 2020-10-29 17:08:12 · 2282 阅读 · 0 评论 -
base64 图片字符串不能转换为bitmap
byte[] bitmapArray = Base64.decode(str, Base64.DEFAULT);bitmap = BitmapFactory.decodeByteArray(bitmapArray, 0, bitmapArray.length)一般来说base64转换图片都用这段代码,可最近收到的base64字符串总是不能转查看字符串有不少空格,于是修改代码bitmapArray = Base64.decode(string.replaceAll(" ",""), Base.原创 2020-09-17 16:49:27 · 348 阅读 · 0 评论 -
Binary XML file line #7: Binary XML file line #2: Error inflating class android.support.design.widge
android.view.InflateException:Binary XML file line #7: Binary XML file line #2: Error inflating class android.support.design.widget.AppBarLayout布局报错查看代码并没有错误的地方,找了半天发现有个提示很明显,提示已经告诉怎么做了设置页面theme为Theme.AppCompat解决!...原创 2020-09-16 16:04:34 · 154 阅读 · 0 评论 -
Error: Cannot fit requested classes in a single dex file (# methods: 149346 > 65536)
添加了implementation 'com.android.support:multidex:1.0.2'这个依赖之后,报错解决办法:原创 2020-07-22 13:42:54 · 519 阅读 · 1 评论