Magisk/Riru/LSPosed安裝
1: Magisk安裝下載
首先附上Magisk地址: https://github.com/topjohnwu/Magisk/releases
- 下載應(yīng)用apk.
- 安裝后,根據(jù)應(yīng)用內(nèi)提示重新安裝,重啟手機(jī)
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到手機(jī)
- magisk 本地安裝.
- 重啟手機(jī)
3: Lsposed安裝
- https://github.com/LSPosed/LSPosed/releases下載最新版本 LSPosed-v1.9.2-7024-riru-release.zip
- push到手機(jī)
- magisk 本地安裝. 此時提示riru not install
- 未找到原因, 修改magisk,開啟zygisk
- 下載 LSPosed-v1.9.2-7024-zygisk-release.zip
- 重新本地安裝,安裝成功.
- 重啟 發(fā)現(xiàn)桌面未有圖標(biāo)生成. (由于只是桌面的快捷方式啟動,在應(yīng)用列表中不會找到.) 另外導(dǎo)航欄中會有LSPosed的通知欄,點擊可打開管理器.
4: Xposed相關(guān)
長時間沒運(yùn)行之前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
-
解決辦法:
allprojects { repositories { google() jcenter() // 添加此庫 maven { url "https://api.xposed.info/" } } }
重新編譯運(yùn)行成功.
本文由博客一文多發(fā)平臺 OpenWrite 發(fā)布发框!