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)
Solution:
Find the studio, click the idea. Properties
file under the directory/bin, and add the following contents:
android.render.sandbox=false
Then restart Android studio to render the layout file normally for preview
Similar Posts:
- [Solved] Android studio preview view Error: java.lang.NoSuchMethodError
- Android AAPT2 error: check logs for details [How to Solve]
- Android studio change project name exception solution: can’t rename root module
- [Solved] Android Studio Warning: Failed to load AppCompat ActionBar with unknown error
- How to Solve intelliJ IDEA 13 error: please select Android SDK
- [Solved] Android Studio Install Error: Unable to access Android SDK add on list
- objc[20556]:Class JavaLaunchHelper is implemented in both xxx [How to Solve]
- Android: layout layout page can not be displayed, prompt: one or more layouts are missing the layout_width or layout_height attrib…
- [Solved] Android Gradle plugin requires Java 11 to run. You are currently using Java 1.8
- No JVM could be found on your system [How to Solve]