Reginer / aosp-android-jar

AOSP编译出的android.jar,sdk里面以前反射调用的方法,现在可以直接调用了。
MIT License
540 stars 79 forks source link

Difference between source folder and android.jar #5

Closed ov3rk1ll closed 2 years ago

ov3rk1ll commented 2 years ago

I'm trying to build an app using the EthernetManager. This class is hidden so I found this project.

The source file at https://github.com/Reginer/aosp-android-jar/blob/main/android-32/src/android/net/EthernetManager.java looks as expected but when i use the https://github.com/Reginer/aosp-android-jar/blob/main/android-32/android.jar file in my SDK, the EthernetManager class has completely different methods exposed.

I'm I using the wrong files here?

Reginer commented 2 years ago

EthernetManager.zip

Reginer commented 2 years ago

framework-connectivity-t.zip

Reginer commented 2 years ago

https://user-images.githubusercontent.com/12568257/189843481-b6083fb1-8859-4541-a70b-11f484e332cc.mp4