"Android" Modified package name

Source: Internet
Author: User

The project was written almost to find the original use of the package name or their own attempt to write code when used. However, the release of the APK, Google Map API application, and so on, need to use a more standardized package name . This involves the problem of modifying the package name .

The package name starts out like this.

When trying to modify it, I found this:

Let's just change the last layer, that doesn't meet the requirements.

The right steps should look like this:

1, click the Settings button in the upper right corner, and uncheck the red box.

2, at this time can be a layer to modify the package name .

Note: Here you choose to rename the folder without selecting the rename package

3, after modifying the package name , you may also want to modify

And

4. Don't forget to rebuild a little bit at the end. Because some of the imports in individual Java files are not automatically updated to the new package name .

"Android" Modified package name

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.