android布局文件显示异常design editor is unavailable until a successful build

问题:

该显示布局文件的地方,却显示了design editor is unavailable until a successful build。


方法:

在gradle.properties中添加:android.enableAapt2 = false

你可能感兴趣的:(android布局文件显示异常design editor is unavailable until a successful build)