logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

android 7.1 禁止安装第三方软件

要求:Android 7.1 只允许安装自己的apk软件,禁止安装其他软件实现: 通过包名对比来实现,源码路径:/services/core/java/com/android/server/pm/PackageManagerService.javapublic void handleStartCopy() throws RemoteException {int...

java.lang.IllegalArgumentException: baseUrl must end in /: http://xxx.xxx.com/cric

错误2:打印日志显示 的请求路径:http://xxx.xxx.com/index.php?m=&c=app&a=sendSMS.重路径中看到少了 /cric 这个。错误1. baseUrl must end in /: http://xxx.xxx.com/cric。Retrofit2 报错baseUrl must end in /请求时报错现象可能又两种。

文章图片
#java#rxjava#android
flutter webrtc 问题

1.报错:Unable to RTCPeerConnection::setRemoteDescription: Failed to set remote answer sdp: Called with SDP without SDES crypto.解决方案:DtlsSrtpKeyAgreement 的值改为true。final Map<String, dynamic> l...

Error:(63, 20) Failed to resolve: com.github.chrisbanes:PhotoView:2.0.0

报错:Error:(63, 20) Failed to resolve: com.github.chrisbanes:PhotoView:2.0.0Show in FileShow in Project Structure dialog解决方案:是在项目的build.gradle添加如下:photoview的maven仓库,maven { url "https://jitpack.io&

gradle版本是7.1.3加载arr包踩坑

补充:在踩坑的过程中,也出现以下报错: Failed to transform jdsmart-common-b3593f1-1.2.04-.aar (:jdsmart-common-b3593f1-1.2.04:) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.statu

文章图片
#android#java#android studio
G711音频文件播放器

使用Audacity 音频播放器,能播放G711文件。官网地址:https://www.audacityteam.org/步骤:文件 > 导入 > 原始数据,选择g711的音频文件,然后设置导入的音频文件数据即可。

科大讯飞AIUI唤醒报错25102

科大讯飞AIUI唤醒报错25102, 查询错误码为 非法参数,第一次出现错误场景:第二次错误出现场景:AIUI官方demo AIUIChatDemo 运行OK, 根据demo集成到项目中运行时, 报错25102,排错方式:1. 对比 AIUIAgent.createAgent(context, getAIUIParams(), my); getAIUIParams()参数字符串, 看是否出现和 A

#android
Flutter控件(2)

转载:http://blog.chengyunfeng.com/?p=1041Flutter 控件之 Routes 和 Navigator一个 App 通常会有多个界面,每个界面实现不同的功能,并在多个界面之间跳转。在 Flutter 中多个界面的跳转是通过 Navigator 来实现的。在 Flutter 中定义了一个OverlayWidget 用来管理多个界面,Over...

flutter 布局的放大,隐藏, 权重的组合运用的demo—新手记录

测试demo场景:要求:1.将布局平分3等分2.点击单个部件进行放大部件(及全屏)图片:代码:class _EachViewState extends State<EachView> {List<entity> _list;@overridevoid initState() {// TODO: implemen...

新手开发flutter问题记录

1.运行 flutter build apk 报错:D:\flutter_sdk\flutter>flutter build apkError: No pubspec.yaml file found.This command should be run from the root of your Flutter project.Do not run this command from...

文章图片
    共 15 条
  • 1
  • 2
  • 请选择