[Solved] Android Studio uses constraintlayout preview to prompt rendering sandbox error

This problem is mainly reported in my module project. It is normal for the main project to use constraint layout. I don’t know what bug. Just follow the prompts to modify it

error message

Rendering sandbox error
Property access not allowed during rendering   
    at java.lang.System.getProperties(System.java:718)   
    at com.intellij.idea.IdeaLogger.logErrorHeader   ... (IdeaLogger.java:110)


Find the studio, click the idea. Properties file under the directory/bin, and add the following contents:


Then restart Android studio to render the layout file normally for preview

Similar Posts: