I am Having trouble while creating new project in Eclipse Luno. After I update Android Eclipse SDK to API 22 then I am start getting this issue, Layout is not showing properly in Graphic Layout of activity_main. This is Image Link of How its look When I create New Project
to show layout I need to transfer it to into API 20 then it works. Errors are just showing in Error Log not in Problem section. This is Error Log
Any Help Please.
P.S. It is OK when i select API Level 20 then Layout is totally fine and normal no errors.
Try changing to lower version as shown in image below and it should work:
I found it i had same problem go to values/styles.xml change theme to Base.Theme.AppCompat.Light.DarkActionBar or anything you want
Before :
<resources>
<!-- Base application theme. -->
<style name="AppTheme parent="Theme.AppCompat.Light.DarkActionBar">
<!-- Customize your theme here. -->
</style>
</resources>
After :
<resources>
<!-- Base application theme. -->
<style name="AppTheme parent="Base.Theme.AppCompat.Light.DarkActionBar">
<!-- Customize your theme here. -->
</style>
</resources>
I did a configure build path including the andriod 5.1.1 library and then did a restart of eclipse and this error got resolved
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With