Android error parsing package problems

Source: Internet
Author: User

There are more and more classes, a little messy, obsessive-compulsive disorder, and a few more packages. They are organized in a well-organized manner, and the heart is comfortable. The problem arises.

Unable to install, always show "problems occur when parsing the package", the most annoying is this problem, a small problem with no technical content, but it is a waste of time to find the cause.

Baidu has a lot,

This is the most complete reason for sorting, but one correspond to find the past, or did not find the problem http://blog.sina.com.cn/s/blog_6040e83d0100slph.html

Fortunately, I have the habit of backing up the code before each major modification. I will import the code before the modification, and follow the modification steps one by one to run each modification.

Finally, the problem was solved by creating a jason. UI package. After an activity was imported, the problem was resolved.

 

The problem lies in the name of the package. The UI is capitalized, although there is a warning when creating the package.

Discouraged package name. By convention, package names usually start with a lowercase letter

 

Then, change the package name to lowercase, and everything will work properly. This problem is actually included in the blog post just mentioned. It's the first problem, package name.

The package name cannot contain Chinese characters, letters, and uppercase letters. This kind of confusing problem may easily occur.

If you encounter this problem, check the package name.
 

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.