Magisk/Riru/LSPosed安装
1: Magisk安装下载
首先附上Magisk地址: https://github.com/topjohnwu/Magisk/releases
- 下载应用apk.
- 安装后,根据应用内提示重新安装,重启手机
2: Riru安装
- https://github.com/RikkaApps/Riru
- https://github.com/RikkaApps/Riru/releases/tag/v26.1.7
- 下载riru-v26.1.7.r530.ab3086ec9f-release.zip
- push到手机
- magisk 本地安装.
- 重启手机
3: Lsposed安装
- 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)
- push到手机
- magisk 本地安装. 此时提示riru not install
- 未找到原因, 修改magisk,开启zygisk
- 下载 LSPosed-v1.9.2-7024-zygisk-release.zip
- 重新本地安装,安装成功.
- 重启 发现桌面未有图标生成. (由于只是桌面的快捷方式启动,在应用列表中不会找到.) 另外导航栏中会有LSPosed的通知栏,点击可打开管理器.
4: Xposed相关
-
长时间没运行之前xposed的demo.
-
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:
- Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html
-
解决办法:
groovyallprojects { repositories { google() jcenter() // 添加此库 maven { url "https://api.xposed.info/" } } }
-
重新编译运行成功.