Android Development System/app Directory below has multiple duplicate package name APK, will not conflict

Source: Internet
Author: User

Environment: already has the root permission of Android system, our apk is boot start

Test: Copy the 2 identical versions below the system System/app directory

The ADB root  #获取root权限, provided that the root permission has been opened, namely: Debug compiled Android system adb remount   # will write the system directory to ADB push c:/test_1_v1.apk/system/ The app  #版本号为1, then restart, and then perform the following steps
ADB push C:/test_2_v1.apk/system/app  #版本号仍然为1

found that when 2 versions exist at the same time, the same can be started, normal operation!

So now let's take a look at the different version numbers.

The ADB root  #获取root权限, provided that the root permission has been opened, namely: Debug compiled Android system adb remount   # will write the system directory to ADB push c:/test_1_v1.apk/system/  #版本号为1 The app, then restart, and then follow the steps below for adb push C:/test_2_v2.apk/system/app  #版本号为2

The system executes the APK package with version number 1. , when the test_1_v1.apk is removed and restarted again, the APK package with version number 2 will be executed, so it will not cause any conflicts. But notice that the previous version was deleted

Android Development System/app Directory below has multiple duplicate package name APK, will not conflict

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.