Failed to load the LayoutLib: com.android.layoutlib.bridge.Bridge

前端 未结 4 1579
天涯浪人
天涯浪人 2021-01-02 13:29

My ADT(Android Developer Tools ) was working fine and it was showing the graphical layout of all files few days back but today it is showing this \" Failed to load the Layou

相关标签:
4条回答
  • 2021-01-02 13:58
    • Restart IDE

    • Restart a computer

    • Try to update ADT, SDK and Eclipse Plugin

    • If that will not help reinstall ADT, SDK and Eclipse Plugin

    0 讨论(0)
  • 2021-01-02 14:05

    Possibly Classes With Identical names inside different projects.

    I might know the issue. I just recreated a framework I made, and I called it number 2. A lot of the classes had the same name, and same method, inside packages of the same name. This seemed to really confuse the IDE and/or JRE.

    I was able to sort of fix the problem, by making sure they weren't both being imported inside the same project! It is still giving me strange warnings, but it seems to be working correctly. What I would ultimately suggest if this is the case, would be to remove the duplicates from the project all together.

    0 讨论(0)
  • 2021-01-02 14:09

    This problem I have dealt with has be solved,enter image description here

    I install this IDE default option is API23.N, just change this option to solve it,for example, Choose Android API 21.

    0 讨论(0)
  • 2021-01-02 14:15

    Install a new API (upper than 14) and change the API, as below:

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