Android. support. v7.internal. widget. ActionBarOverlayLayout Couldn & #39; t Be Initialized, actionbaroverlay

Source: Internet
Author: User

Android. support. v7.internal. widget. ActionBarOverlayLayout Couldn't Be Initialized, actionbaroverlay

Symptoms:

Android Studio 1.2 (Build 141.1890965)

After a new project is created and the automatic build is complete, Layout Editor cannot preview the Layout file. The following error occurs:

Rendering Problems

The following classes cocould not be found:
-Android. support. v7.internal. widget. ActionBarOverlayLayout (Fix Build Path, Create Class)

 

Solution: From the omnipotent stackoverflow:

Method 1:

1) Tools-> Android-> Sync Project with Cradle Files

2) Click Refresh at the top of Layout Editor and click Refresh. Done

Method 2:

Switch Andriod Cradle in from 1.2.x to 1.1.2

Method 3:

Upgrade Android Studio to version 1.3 or later.

 

Root cause:

Android Gradle plugin 1.2.x bug. You can learn more about the bug here and here.

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.