I built a new project in Studio 3.0, which worked great in xml rendering in the design window. Then I took all the settings related to sdk versions, and compiled the dependencies in the new gradle.build APP file and applied them to the gradle.build APP file in an application that was not rendering. I changed to the following:
compileSdkVersion 26 targetSdkVersion 26 compile 'com.android.support:appcompat-v7:26.1.0' compile 'com.android.support:design:26.1.0'
I cleaned and rebuilt the project. At this point, I received the following build error:
Failed to execute: com.android.support:appcompat-v7:26.1.0
Add Google Maven Repository Project and Sync Project
Show in file
Show in the Project Structure dialog box
I added the Maven repository and cleaned and rebuilt the project. After that, the xml handler works!
MEF768
source share