Reputation: 1504
I updated the Android tools, etc from :
It is actually an improvement with fragment now included when creating an activity.
I get this error in each and every Graphical layout of every xml
Error Log:
I added layoutlib-api-22.4.2.jar
Add to build path in the project but didn't worked !
How to solve this issue ?
Thanks in advance
Upvotes: 1
Views: 5381
Reputation: 1504
Oh, just changing the Android version to use when rendering layouts situated at top right corner avoid the problem :)
Now I didn't get any error! :)
Upvotes: 1
Reputation: 435
The new update has a lot of problems the easy way is create your project from command line then import it to eclipse to do that:
Go to sdk folder for example mine is (The folder included android execute):
$ cd Program/android/adt/sdk/tools/
Get list of target:
$ ./android list
id: 1 or "android-7" Name: Android 2.1 ...
Choose one of the target in that list and put the id in this command to create android project:
$ ./android create project --target 24 --name MyFirstApp --path MyFirstApp --activity Main --package com.mrg.myfirstapp
Then it made for you. now in eclipse right click on project explorer:
5.Select this:
6.Rename project name if you want and press Finish
then it may works
Upvotes: 1
Reputation: 2365
Try to install ADT plugins
Upvotes: 0