Some problems with Android development (i)

Source: Internet
Author: User

At the beginning of today I will record the problems encountered in the programming process, one is afraid after again encountered forgotten when how to solve, one is recorded to facilitate the observation of their progress

Know that you have to complete the project in the heart of some uneasy hope that they do not live up to the expectations of teachers. Come on!!

Q1. After writing all the code error-free, the runtime prompts to find a class, the fact is that the imported package has been correctly imported into the LIB, because the previous time can be written to automatically complete the method name, so I think not

Lib problem, find on the internet finally found that the original is the order and export the jar package is not checked, here is the choice of build path. Although the jar is checked in the libraries, the actual compile-time build Pat is not selected so

The class will not be found at compile time. This issue is resolved after checking.

But there are other problems, but there are psychological preparations.

Q2. There was a very strange problem that I have now resolved but not

Anyway, that's where the console says it is. Conversion to Dalvik format failed with error 1

I looked for a lot of information, all said that the lib in the things are cleared, but I have a great deal of effort to successfully import these jar packages, and now let me delete Exm???

Then I guess I've imported more jars, and I found out that I had two of the same package in reference Lib and Lib when I was thinking about it. This problem is finally solved by deleting one of them.

As expected, the new problem comes again.

Q3 05-01 08:53:54.918:W/DALVIKVM (1288): Threadid=11:thread exiting with uncaught exception (GROUP=0XB4AAFBA8)

I decided to go ahead tomorrow.

Some problems with Android development (i)

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.