Magisk/Riru/LSPosed安装

Magisk/Riru/LSPosed安装

1: Magisk安装下载

​ 首先附上Magisk地址: https://github.com/topjohnwu/Magisk/releases

  1. 下载应用apk.
  2. 安装后,根据应用内提示重新安装,重启手机

2: Riru安装

  1. https://github.com/RikkaApps/Riru
  2. https://github.com/RikkaApps/Riru/releases/tag/v26.1.7
  3. 下载riru-v26.1.7.r530.ab3086ec9f-release.zip
  4. push到手机
  5. magisk 本地安装.
  6. 重启手机

3: Lsposed安装

  1. https://github.com/LSPosed/LSPosed/releases下载最新版本[LSPosed-v1.9.2-7024-riru-release.zip](https://github.com/LSPosed/LSPosed/releases/download/v1.9.2/LSPosed-v1.9.2-7024-riru-release.zip)
  2. push到手机
  3. magisk 本地安装. 此时提示riru not install
  4. 未找到原因, 修改magisk,开启zygisk
  5. 下载 LSPosed-v1.9.2-7024-zygisk-release.zip
  6. 重新本地安装,安装成功.
  7. 重启 发现桌面未有图标生成. (由于只是桌面的快捷方式启动,在应用列表中不会找到.) 另外导航栏中会有LSPosed的通知栏,点击可打开管理器.

4: Xposed相关

  1. 长时间没运行之前xposed的demo.

  2. compileOnly 'de.robv.android.xposed:api:82'依赖找不到404了.

    具体的错误如下:

    Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.

    Could not resolve all task dependencies for configuration ':app:debugCompileClasspath'.

    Could not find de.robv.android.xposed:api:82.

    Searched in the following locations:

    Possible solution:

  3. 解决办法:

    groovy 复制代码
    allprojects {
        repositories {
            google()
            jcenter()
    		// 添加此库
            maven { url "https://api.xposed.info/" }    }
    }
  4. 重新编译运行成功.

相关推荐
DokiDoki之父17 分钟前
多线程—飞机大战排行榜功能(2.0版本)
android·java·开发语言
用户2018792831672 小时前
强制关闭生命周期延时的Activity实现思路
android
用户2018792831673 小时前
Activity后生命周期暂停问题
android
用户2018792831673 小时前
浅析:WindowManager添加的 View 的事件传递机制
android
顾林海3 小时前
从"面条代码"到"精装别墅":Android MVPS架构的逆袭之路
android·面试·架构
白夜3 小时前
Android 开发工程常识
android
编程乐学4 小时前
原创模板--基于 Android 开发的驾考训练App
android·android studio·大作业·移动端开发·安卓移动开发·驾考宝典·驾考app
阿赵3D4 小时前
Unity2022打包安卓报错的奇葩问题
android·unity·安卓
aqiu~9 小时前
Android Studio受难记
android·android studio