This article is reproduced from: http://blog.csdn.net/lilidejing/article/details/46564491
Enter the system framework layer, modify the source code of mediaplayer.java, and add a method. As a result, recompile the system and report the following error:
[java]
view plain
copy
………………
N ote:SomeinputfilesuseoroverrideadeprecatedAPI.
N ote:Recompilewith-Xlint :deprecationfordetails.
6warnings
Then go to mediaplayer. Java and restore the modified file. The result is compiled and passed. The key is that I need that method
The final solution: enter the Android directory and execute the make update API
After execution, recompile and pass