logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

安卓开发高德地图报错:Pointer tag for xxxxxxx was truncated

在清单文件中的application里加上android:allowNativeHeapPointerTagging="false"

安卓Studio报错提示Caused by: java.lang.AssertionError: Could not delete caches dir...解决方法

1.点击Android Stuidio底部选项卡"Terminal"打开终端命令工具;2.运行命令:taskkill /f /im java.exe。3.重新运行项目即可。

#android#java#开发语言 +1
安卓retrofit response.body()为null的问题

此时,retrofit回调中response.isSuccessful的值为false,response.code()的值为406,response.body()将会是null。后端返回的错误提示信息会被封装到response.errorBody()中,调用response.errorBody().string()函数即可得到json字符串,再使用Gson进行解析即可。2.服务端返回json数据对

#retrofit#android
安卓开发android.os.TransactionTooLargeException: data parcel size bytes异常分析及解决办法

这种异常普遍出现在页面跳转场景下,原因有以下几个(不完整,欢迎补充)1.使用Intent传递了较大的数据,512K以上就会出现错误;最简单的解决办法:如,Intent intent = new Intent(A.this,B.class);Global.data = A.this.data;A.this.startActivity(intent);在B页面直接用Gl...

#android#java
高德地图定位sdk报错fail:USER_DAILY_QUERY_OVER_LIMIT

高德地图定位sdk报错fail:USER_DAILY_QUERY_OVER_LIMIT

#经验分享
到底了