To make use of the apis on as build the sdk with the required classes/apis unhidden and build against it. You'll also probably need to change the selinux rules to be able to run the app without root to setenforce 0. You will need to flash the device to change the system api lists. If you are changing the system api lists you will need to rebuild Android and the sdk to test stuff out. Even small changes might take significant time to build (just the fs creation takes 3-4 mins on the Google machines). On more common 8-16 thread machines expect it to take most of a day to build initially. It takes~25 mins for an initial build and incremental build can take several minutes. At Google the standard is a 2x 18core xenon workstation with 200gig ram and ssds. Be warned the build is huge though and requires a powerful Linux desktop. The aosp build system is based on ninja and capable of only rebuilding changed portions of the os. Aosp is the open source parts of android consisting of core common components
0 Comments
Leave a Reply. |