The Android Studio design editor is no longer displayed.

Asked 1 years ago, Updated 1 years ago, 67 views

I'm a beginner for about a week since I started using Android Studio.The design editor is no longer displayed this time.This is what the design editor says.

design editor is unavailable until a successful build

In the event log,

 Gradle sync failed: Could not get unknown property 'exe' for object of type org.gradle.api.internal.initialization.DefaultScriptHandler.
            Consult IDE log for more details 

appears.

Could not get unknown property 'exe' for object of type org.gradle.api.internal.initialization.DefaultScriptHandler.
Open File

This is the image that shows the open file.Enter a description of the image here

I'm having a hard time because the design editor is not displayed.
Thank you for your cooperation.

android-studio

2022-09-30 10:50

1 Answers

exe.anko_version

ext.anko_version

Please try changing to .The Gradle extension property specification is ext.

Here says:

Make sure that you have the $anko_version set in your gradle file at the project level:

ext.anko_version='0.10.6'


2022-09-30 10:50

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.