Android_ Development Fragment (Part 1)

Source: Internet
Author: User

1.maven environment configuration is similar to Java, the setting of my Computer environment, cmd query: mvn-version

2. When creating an AVD, pay attention to the version of the AVD (API), the version is too low or too high, often cannot run the project, or there are various errors when running the project.

3. Using the Maven project, retrieve the project from SVN, if there is a pom.xml error, it is likely that the update was forgotten (project right-maven-update projects)

4. Each time you create a new activity, you must register it in the Androidmanifest.xml

5. Encounter null pointer, often is the data is empty or the name of the control is bound wrong, follow the prompts to modify the bug.

6. To learn to use LOG.D ("," ") to write code, it can often help you find the part of the program that has problems.

LOG.D ("Output data", Message);

7.

Android_ Development Fragment (Part 1)

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.