
bug收集
Monkey_King_Bar
这个作者很懒,什么都没留下…
展开
-
将apk文件放ftp,访问出现404错误
网站无法访问apk文件,提示404错误,如何设置服务器支持apk文件? 服务器上明明有文件,为什么通过域名网址无法访问? win 2008 iiS7中会出现404不能下载,那么我们就必须把不同类型的文件加上mime设置。 Android APP的MIME: 文件扩展名:.apk MIME类型:application/vnd.android.package-archive原创 2017-11-09 10:24:11 · 1484 阅读 · 0 评论 -
Android使用volly请求utf-8报错Value  of type java.lang.String cannot be converted to
服务器json是utf-8格式的 Android下用volly请求总是报错 Value  of type java.lang.String cannot be converted to 解决方法: 复写volly的 JsonObjectRequest public class JsonObjectUTF8Request extends JsonObjectR原创 2017-11-14 16:24:37 · 973 阅读 · 0 评论 -
Android更改状态栏背景色之后,view被状态栏挡住
只需在布局文件的根布局加上下面这个属性即可解决 android:fitsSystemWindows="true"原创 2017-11-15 15:38:17 · 1488 阅读 · 0 评论 -
android.view.InflateException: Binary XML file line #0: Error inflating class <unk
fragment里面用了constraintlayout 结果一个劲报错~~ 我的天啊~~ 11-29 17:30:12.053 19479-19479/com.youhui2000.dabaifanyi E/AndroidRuntime: FATAL EXCEPTION: main ...原创 2017-11-29 17:33:57 · 3227 阅读 · 4 评论 -
Android 出现java.lang.NoClassDefFoundError错误
项目中用到了Retrofit在android4.4以下版本发生的问题因为项目的build.gradle文件沿用于一个项目的,在defaultConfig z中已经声明了 multiDexEnabled true ,当方法数超过65535时便会自动打出两个Dex包命名为classes.dex classes2.dex ,一些方法被打入了第二个dex包,即classes2.dex中,导致了5.0以下机...转载 2018-03-15 17:27:02 · 2182 阅读 · 0 评论 -
Execution failed for task ':app:compileDebugJavaWithJavac'错误解决
错误提示:org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:compileDebugJavaWithJavac'. at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(Execu...原创 2018-06-27 15:20:38 · 19630 阅读 · 1 评论 -
解决rg.gradle.api.internal.tasks.compile.CompilationFailedException: Compilation failed
错误提示:rg.gradle.api.internal.tasks.compile.CompilationFailedException: Compilation failedCompilation failed; see the compiler error output for details.解决过程terminal 输入gradlew compileDebugSources 找到如下错误...原创 2018-07-05 17:59:26 · 12428 阅读 · 2 评论 -
AndroidManifest.xml:117: error: ERROR getting 'android:name' attribute: attribute is not a string va
AndroidManifest.xml:117: error: ERROR getting 'android:name' attribute: attribute is not a string value aapt命令执行出错 这种错误在运行时检查不出来,但是在上架某些严谨的市场(360、应用宝)的时候会无法提交安装包 定位错误: 1、打开Android sdk目录-》build-...原创 2019-01-31 16:00:23 · 1129 阅读 · 0 评论