Taimour
Taimour

Reputation: 129

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

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 LayoutLib: com.android.layoutlib.bridge.Bridge " All projects are running fine but i can't see the graphical layout of my .XML files. How can I fix it?

Upvotes: 8

Views: 18101

Answers (4)

JH.Yang
JH.Yang

Reputation: 21

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.

Upvotes: 2

yasin
yasin

Reputation: 391

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

Upvotes: 39

user2820531
user2820531

Reputation: 153

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.

Upvotes: 0

TN888
TN888

Reputation: 7739

  • Restart IDE

  • Restart a computer

  • Try to update ADT, SDK and Eclipse Plugin

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

Upvotes: 3

Related Questions