Exposing hidden APIs android L (SDK 21) in Android Studio

后端 未结 5 2090
粉色の甜心
粉色の甜心 2020-12-20 01:04

I have successfully extracted the class files from an android emulator and replaced them into my android.jar file residing inside my \\platforms\\android-21\\android.jar and

5条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-20 01:42

    File > Invalidate Caches and Restart > Invalidate and Restart

    I knew something was weird. I knew the methods were there in the jar, I knew it was something with Studio. Here it caches the methods :)

    Doing what I posted in the first line fixes it! So happy! Hope others benefit!

提交回复
热议问题