Android KK2 Mobile/China Unicom custom version removal gallery2.apk

Source: Internet
Author: User

Deleting Packages/apps/gallery2/android.mk and PACKAGES/APPS/GALLERY2/JNI/ANDROID.MK will report an error similar to the following after compiling the entire project:
MAKE[3]: * * * No rule to do target ' Out/target/common/obj/apps/gallery2_intermediates/classes.jar ', needed by ' out/  Target/common/obj/apps/op02plugin_intermediates/classes-full-debug.jar '. Stop.
According to log can be seen and plugin related, because the plugin corresponding APK and gallery2.apk have a dependency.



The code to remove the dependencies of plugin and Gallery2 needs to be modified as follows:

1. The following changes are required for China Mobile (OP01):
(1) Locate the Alps/mediatek/operator/op01/packages/apps/plugins/android.mk file and delete the following three lines of code:
Local_src_files + = $ (call All-java-files-under,.. /.. /.. /.. /common/packages/apps/plugins/src/com/mediatek/gallery3d/plugin)
Local_java_libraries + = Com.mediatek.camera.ext
Local_apk_libraries + = Gallery2
(2) Delete the alps/mediatek/operator/op01/packages/apps/plugins/src/com/mediatek/directory:
camera/and gallery3d/two-folder code.

2. The following changes are required for China Unicom (OP02):
(1) Locate the Alps/mediatek/operator/op02/packages/apps/plugins/android.mk file and delete the following two lines of code:
Local_src_files + = $ (call All-java-files-under,.. /.. /.. /.. /common/packages/apps/plugins/src/com/mediatek/gallery3d/plugin)
Local_apk_libraries + = Gallery2
(2) Remove the code from the alps/mediatek/operator/op02/packages/apps/plugins/src/com/mediatek/gallery3d/directory.

Attention:
1. Some of the removed code is specifically for mobile/Unicom spec, which may affect mobile/Unicom inbound testing if the customer's own gallery is not supported.
2. This code modification is primarily for ALPS.KK2.MP13.TC9SP the branch, and other branches need to find and Gallery2 the process-related code for masking.

Android KK2 Mobile/China Unicom custom version removal gallery2.apk

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.