Android makefile to hit the jar pack into the APK

Source: Internet
Author: User

This is a constant demand, I just often forget, the key does not understand AH.

Again and again look at the Android makefile. It's too complicated. Take it slow. Hey. Work for 10 years. I don't know anything. What's the whole?

  

#
# Copyright (C) The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# You are not a use of this file except in compliance with the License.
# Obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# unless required by applicable or agreed to writing, software
# Distributed under the License is distributed on a "as is" BASIS,
# without warranties or CONDITIONS of any KIND, either express or implied.
# See the License for the specific language governing permissions and
# Limitations under the License.
#

Local_path: = $ (call My-dir)
Include $ (clear_vars)

Local_module_tags: = Optional

Local_static_java_libraries: = MDM

Local_src_files: = $ (call All-java-files-under, SRC)

Local_certificate: = Platform
Local_sdk_version: = Current

Local_package_name: = Cjzang

Include $ (build_package)

Include $ (clear_vars)

#臧春杰, Marvell, Honeywell
Local_prebuilt_static_java_libraries: = Mdm:libs/mdmframeworkclient.jar
Include $ (build_multi_prebuilt)

Just write it in a way.

What is MDM? It doesn't matter, you can write an ABCD. The key is to write the following correspondence. Mdm:lib/****.jar here is the corresponding specific jar package. You can do it.

Android makefile to hit the jar pack into the APK

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.