1.JRebel介紹請參考這篇文章:
https://blog.csdn.net/czhpxl007/article/details/52171551
2.android studio中安裝诵冒,按照官方文檔(https://zeroturnaround.com/software/jrebel-for-android/quick-start/#!/installation)
1). 在Plugins > Browse repositories > Manage repositories里添加repository
http://dl.zeroturnaround.com/jrebel-android/plugins/ide-studio/updatePlugins.xml
2). 查找 JRebel for Android 安裝扒怖,并重啟AS
3).在工具欄出現(xiàn)3個圖標:
3.破解:主要參考這篇文章 https://blog.csdn.net/dhl91604/article/details/78538047
先百度個 GUID在線生成工具, 生成一個 GUID, 比如
0b2cab77-d78c-431d-939c-61dc85f19089, 當然, 也可以按照
在AS重啟后的激活界面選擇 Connect to License Server, 在 Group URL 中填寫
http://idea.lanyus.com/{生成的GUID}, Email 中填寫郵箱, 勾選 I agree with terms & conditions of the License Agreement, 點擊 Activate JRebel for Android 即可激活.
4.使用
先點新出現(xiàn)的run,時間比自帶的run長一點购撼,不過后面再點apply changes熱部署時候就很快了,實測一個百度地圖的項目可以使用,效果理想魁淳。但據(jù)說部分6.0以上機型不支持壕探,我的小米8是可以的冈钦。