logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

Your build is currently configured to use incompatible Java 21.0.6 and Gradle 7.3.3. Cannot sync the

Your build is currently configured to use incompatible Java 21.0.6 and Gradle 7.3.3. Cannot sync the project.We recommend upgrading to Gradle version 9.0-milestone-1.The minimum compatible Gradle vers

#java#开发语言
Unable to negotiate with 10.11.81 port 8235: no matching host key type found. Their offer: ssh-rsa

查看自己是开发者权限,重置一遍公钥再添加也不行,去网上找方法,介绍这种情况的原因就是新的ssh客户端不支持ssh-rsa算法,要修改本地配置重新使用ssh-rsa算法。具体做法:到当前用户目录下的.ssh文件中创建config文件(config没有后缀),使用记事本打开添加如下。mac电脑重装系统,去官网下载了最新的git安装,一路next下来,打开bash按老路子设置,生成公钥。把公钥添加到百度

文章图片
#ssh#运维
Android 从SD中读取xml文件并解析,写入xml到SD卡中

【代码】Android 从SD中读取xml文件并解析,写入xml到SD卡中。

文章图片
#xml#java#servlet
java.lang.ClassCastException: android.widget.RelativeLayout$LayoutParams cannot be cast to android.w

报错日志:报错代码:场景:调整左右边距时报错。

文章图片
#android
android 微信分享后显示白屏,需再点击返回才返回到app

【代码】android 微信分享后显示白屏,需再点击返回才返回到app。

文章图片
#android#微信
java.lang.NoClassDefFoundError: android.support.v7.appcompat.R$layout 异常处理

java.lang.NoClassDefFoundError: android.support.v7.appcompat.R$layout 异常处理。3、 自己定义一个 MyApplication 继承 MultiDexApplication。3、修改v4版本,22到23+后。1、clean项目后重新编译。2、修改最小sdk版本后运行。4、分包处理【MultiDex】。2、 在Manifest 文

文章图片
#android#java#appcompat
android setLayoutParams不生效问题

核心更改:RelativeLayout.END_OF 改为:RelativeLayout.ALIGN_LEFT,

文章图片
#android#android studio#xml
android android:state_focused 无效

【代码】android android:state_focused 无效。

文章图片
#android
android marginEnd属性 失效的问题

失效的xml问题解析:1.使用LayoutInspector分析,发现marginStart值与marginLeft值一样,而marginEnd值与marginRight值却不一样marginEnd值确实设置了,但是marginRight值是0分析java代码:发现代码设置了marginRight值。

文章图片
#android
    共 13 条
  • 1
  • 2
  • 请选择