Android system There are some system-level applications and framework code coupling deeper, compile time depends on many classes inside the @hide interface, such applications how to compile it? First we need to make a copy of the SDK containing the Hide interface, as follows (for example, android4.2.2 version):
1. Download the 4.2.2SDK package and take it from the \SDK\PLATFORMS\ANDROID-17 directory to Android.jar.
2. From the compilation Environment out/target/common/obj/java_libraries/framework_intermediates/directory under the channel Classes-full-debug.jar
3. Unzip Android.jar, method: First Rename to Android.zip, then use WinRAR extract to local folder. Decompression Classes-full-debug.jar, method and pressure Android.jar the same.
4. Copy all the files in the Classes-full-debug.zip package to the corresponding folder in Android.zip, and then package the Android.zip folder as Android.jar again. The generated Android.jar is the SDK package that contains all the @hide interfaces.
I have already made a 4.2.2 containing the Hide interface Android.jar package, click to download http://download.csdn.net/detail/rambomatrix/7657107