烬
  • 首页
  • 归档
  • 分类
  • 标签
  • 歌单
  • 关于
  •   
  •   

smali指令语法

iget-object从一个对象实例中读取一个对象类型的字段,这里的 “i” 代表 “instance”。 # 从对象 p0 中获取名为 myField 的字段,并将这个对象的引用存储在寄存器 v0 中。 # 在非静态方法中,p0代表 this ,即当前对象。 iget-object v0, p0, Lcom/example/MyClass;->myField:Ljava/lang/Objec
2024-07-13

雷电模拟器安装magisk

下载,debug和release版本都可以https://github.com/HuskyDG/magisk-files/releases 雷电模拟器中设置System.vmdk可写入、root权限开启 安装magisk,打开后会弹出root授权窗口,如果没有弹出就开一个新的模拟器。 magisk内的magisk栏点安装 安装到Recovery取消勾选,下一步 方式选择直接安装(直接修
2024-06-13

安卓原生集成flutter,通过flutter扩展调用原生项目代码

前言flutter的试错过程 需求架构 通过flutter module集成到安卓原生,但是这个module的安卓代码是可变或者说会被覆盖的,所以不能在这个模块里写原生调用。 在这个flutter module创建一个本地扩展,通过这个扩展的android模块调用主项目的代码,它在项目中扮演一个代理者的角色。 问题与方案 在本地扩展中,如果只运行flutter module,扩展的安卓模块就
2023-11-06
#安卓开发 #flutter

the jxbrowser license could not be found

背景inspector视窗提示the jxbrowser license could not be found 解决执行命令 flutter doctor --android-licenses 如果提示Android sdkmanager not found. Update to the latest Android SDK and ensure that the cmdline-tools a
2023-10-26
#安卓开发

flutter报错this and base files have different roots

背景在安卓原生项目集成flutter,sync时会报错Could not create task ':flutter_plugin_android_lifecycle:generateDebugUnitTestConfig'. this and base files have different roots:,根据网上说法原因为: pub get下载的缓存位置和项目位置不在同一个
2023-10-23
#安卓开发 #flutter

weex在安卓11运行

前言使用官方最新源码编译的aar包,通过集成原生项目运行在安卓11会出现页面无法渲染的情况。 解决用官方的基座是可以运行在安卓11的,甚至是安卓13。通过对比基座源码后得知,gradle要做一些更改 // 在(:app)模块gradle配置文件修改 android { // 可选配置 lintOptions {
2023-10-22
#安卓开发 #weex #混合开发

weex源码编译踩坑记录

前言在gradle声明依赖,sync的时候依赖一直拉不下来,提示Fail to resolve: org.apache.weex:sdk:0.28.0,尝试过换阿里云镜像、走梯子,依然无法获取到依赖。 编译过程 获取源码 git clone https://github.com/alibaba/weex 准备安卓环境,最终sync通过的环境 gradle 6.5 classpath &#
2023-10-19
#安卓 #weex

git常用命令

git branch -a 命令解释:查看本地和远程仓库的所有分支 git branch <branch-name> 命令解释:在工作区新建一个分支,创建分支后远程仓库可能没有这个分支,所以需要将本地分支推送到远程仓库,即:git push origin <local-branch-name>:<remote-branch-name> git fetch
2023-08-28
#git

WSL修改指定分发的root密码

背景每次安装镜像后都是以自行创建的用户登录,切换root用户后无法知道密码。 命令wsl.exe -d Ubuntu-22.04 --user root 进入终端后可以直接修改密码 passwd root
2023-08-08
#WSL #Ubuntu

小程序长连接被中断时导致php进程被强制退出

前言微信小程序请求长连接时,请求还在接受数据的时候关闭小程序,php后端会出现很奇怪的数据不全问题。 问题通常,我们请求后端时,某个客户端关闭后php进程开启后不会退出(我们习惯上的认知是这样的)。 但当我们假设服务端有一个接口stream.php写作: <?php set_time_limit(0); ini_set('output_buffering', 'off'); ini_set(
2023-04-28
#长连接
1234…13

搜索

粤ICP备2025459680号-1