Android _ import project Error

Source: Internet
Author: User

After importing the source code of the project to Android studio today, we found that many jar packages in the framework are not associated, and many problems occur. Because the project is compiled using Maven, right-click main and choose, select Add framewor support. The following error occurs:

22:17:54 compilation completed with 100 errors and 68 warnings in 8 sec
22:24:53 compilation completed with 100 errors and 68 warnings in 7 sec
22:32:49 runtimeexception: update failed for anaction with ID = editsource: Java. Lang. classnotfoundexception: COM. Android. Tools. Idea. Roots. UI. configuration. gradleprojectsettingsservice
22:32:53 runtimeexception: update failed for anaction with ID = editsource: Java. Lang. classnotfoundexception: COM. Android. Tools. Idea. Roots. UI. configuration. gradleprojectsettingsservice
22:37:12 runtimeexception: update failed for anaction with ID = editsource: Java. Lang. classnotfoundexception: COM. Android. Tools. Idea. Roots. UI. configuration. gradleprojectsettingsservice
22:38:59 runtimeexception: update failed for anaction with ID = editsource: Java. Lang. classnotfoundexception: COM. Android. Tools. Idea. Roots. UI. configuration. gradleprojectsettingsservice
22:39:57 Maven projects need to be imported: Import changes enable auto-Import
22:40:05 compilation completed with 100 errors and 68 warnings in 8 sec
22:42:37 runtimeexception: update failed for anaction with ID = editsource: Java. Lang. classnotfoundexception: COM. Android. Tools. Idea. Roots. UI. configuration. gradleprojectsettingsservice
22:43:02 runtimeexception: update failed for anaction with ID = editsource: Java. Lang. classnotfoundexception: COM. Android. Tools. Idea. Roots. UI. configuration. gradleprojectsettingsservice

Click Import changes. Many problems still occur after editing.

The problem is as follows:

Unregistered git root Detected

In July 18, I imported the project to Android studio again and found that the project name was displayed. The problem seemed to be resolved and the prompt was as follows:

22:00:10 Maven projects need to be imported: Import changes enable auto-Import
22:00:28 frameworks detected: Android framework is detected in the project configure

The following prompt box is displayed:

Click OK, and then click "Import changes enable auto-Import" to complete the import. OK!

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.