简体   繁体   English

如何编译Android 4.0.3的浏览器源代码

[英]How to compile Browser source code for Android 4.0.3

I downloaded the Browser source code from https://github.com/android/platform_packages_apps_browser . 我从https://github.com/android/platform_packages_apps_browser下载了浏览器源代码。

I am able to access the hidden and internal package with the help of http://devmaze.wordpress.com/2011/01/18/using-com-android-internal-part-1-introduction/ tutorial. 我可以在http://devmaze.wordpress.com/2011/01/18/using-com-android-internal-part-1-introduction/ tutorial的帮助下访问隐藏的内部包。

I am not able to build the source code for Android 4.0.3. 我无法为Android 4.0.3构建源代码。 But when compiled for Android 4.0.3 Eclipse shows "This class must implement the inherited abstract method AbsSpinner.layout(int, boolean), but cannot override it since it is not visible from FolderSpinner. Either make the type abstract or make the inherited method visible" error in FolderSpinner class. 但是当为Android 4.0.3编译时,Eclipse显示“此类必须实现继承的抽象方法AbsSpinner.layout(int,boolean),但不能覆盖它,因为它在FolderSpinner中是不可见的。要么使类型为抽象,要么使继承的方法FolderSpinner类中的“可见”错误。

Thanks in advance for help. 在此先感谢您的帮助。

Regards, Vibhor 此致,Vibhor

You can only build AOSP apps as part of the whole firmware. 您只能将AOSP应用程序构建为整个固件的一部分。 They are not designed to be built individually. 它们不是为单独构建而设计的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM