I am trying to build my app (uses many hidden api and properties) in android studio. I have modified the AOSP code to expose these hidden apis. In order to make the build successful I have added the classes.jar as the external lib to my project. But that doesn't resolve the issue. It was still showing errors :
error: cannot find symbol method getService()
error: cannot find symbol variable userSetLocale
error: cannot find symbol method getInstance()
error: cannot find symbol variable INJECT_INPUT_EVENT_MODE_WAIT_FOR_FINISH
error: cannot find symbol variable INJECT_INPUT_EVENT_MODE_ASYNC
Now I am trying to make the custom SDK with this modified AOSP code.
Note : Already tried and failed with the following solutions
Can anyone help to build custom SDK based on the modified AOSP code