Search code examples
androidandroid-sdk-2.3android-build

How to build my own Android SDK


I work on my own android device which has many new APIs (but @hide decorated). My goal is to provide an android sdk to develop on it and use these new APIs.

So my questions is : How to build my own android sdk with these new APIs ?

If the @hide decorated is a problem, i can remove them (I don't have to respect the CDD)


Solution

  • You can use this command

    make -j8 PRODUCT-sdk-sdk showcommands dist
    

    here, you can a discussion about it : https://groups.google.com/forum/?fromgroups=#!topic/android-building/Y0xduZPWtUs