Android Studio 3 - Constraint layout editor broken

前端 未结 6 2089
无人共我
无人共我 2021-01-07 18:44

I\'m using Android Studio 3.0 (updated to canary 4 today) on macOS for a side project and recently (not sure really when) the constraint layout editor stopped working proper

相关标签:
6条回答
  • 2021-01-07 19:04

    downgrading it to beta1 solved my problem

    0 讨论(0)
  • 2021-01-07 19:08

    Go in build.gradle and change the dependencies to 26.0.0-beta1:

    After Sync the project... Its works to me!!!!

    0 讨论(0)
  • 2021-01-07 19:11

    Which gradle version are you using? Also, support lib 26.0.0-beta2 has an issue with studio, if you are using it you should downgrade to beta1 to use the editor.

    0 讨论(0)
  • 2021-01-07 19:11

    Just change the "Apptheme" to "AppCombat.NoActionBar"

    0 讨论(0)
  • 2021-01-07 19:12

    Adding

    implementation 'com.android.support.constraint:constraint-layout:1.1.2'
    

    to the dependencies and reloading project solved my issue

    0 讨论(0)
  • 2021-01-07 19:25

    What worked for me was to UPGRADE all my dependencies to the latest version (currently 27.0.0) instead of doing a downgrade. It brings some additional effort to replace the "compile" dependencies (which are deprecated) by "implementation" or "api" and upgrade also some of the libraries. But after all the upgrades the tool worked again perfectly.

    0 讨论(0)
提交回复
热议问题