The APK network signal info cannot be installed and the shared library is missing. By searching on the Internet, it is confirmed that the GMS package is missing. That is, you must add the file package of the add on attribute to your project. The procedure is as follows:
(1) download the 4.2 GMS package from the Internet (available web site http://goo.im/gapps/gapps-jb-20130812-signed.zip), you can first use a simple packaging method to verify whether the package content is available. Copy the System \ app \, System \ etc \ permissions \, System \ framework \, System \ Lib \ contents in the package to the corresponding directory of the Image Generation file and perform packaging, then verify. The reason why this APK cannot be installed is that the corresponding directory is missing:
System/framework com. Google. Android. Maps. Jar
System/etc/permissions com. Google. Android. Maps. xml
Index the content of the latter script to the jar package
(2) Add the GMS package to the platform. First, create a folder Google \ apps under vendor \, put the APK under System \ app \, and create an android. mk file. The content is as follows:
Local_path: = $ (call my-DIR) include $ (clear_vars) local_module: = modules: = $(local_module).apk local_module_tags: = optionallocal_module_class: = modules: = $ (modules) local_certificate: = presignedinclude $ (build_prebuilt)
Other APK files can be modeled in this format.
(3) create an android. mk file in the Google directory. The content is as follows:
Include $ (call all-subdir-makefiles)
(4) Add the index of this directory to the MK file corresponding to the project, as shown below:
Include $ (topdir) Vendor/Google/products/GMS. mk
(5) create a directory named Google \ products \ and a GMS. mk. This completes the merging of product_packages. It is roughly as follows:
Product_packages + = \ chromebookmarkssyncadapter \ configupdater \ geniewidget
You can also choose whether to import the new setting wizard process as follows:
Product_property_overrides + = \ Ro. setupwizard. mode = Enabled
(6) copy the Lib jar XML and other files in the GMS package to the sub-directories corresponding to the "vendor \ XXXX \ projectname \ artifacts \ out \ target \ product \ projectname \ System \" directory. R compilation project.