Activity_main.xml: Failed To Find The Style Corresponding To The Id 2130771996
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
Solution 1:
Try changing to lower version as shown in image below and it should work:
Solution 2:
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. --><stylename="AppTheme parent="Theme.AppCompat.Light.DarkActionBar"><!-- Customize your theme here. --></style></resources>
After :
<resources><!-- Base application theme. --><stylename="AppTheme parent="Base.Theme.AppCompat.Light.DarkActionBar"><!-- Customize your theme here. --></style></resources>
Solution 3:
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
Solution 4:
you only need to change the AppTheme to other theme that is way i resolve this.
Solution 5:
You can solve this problem also by just changing your theme from default app theme. I have solve tin this way only.
Post a Comment for "Activity_main.xml: Failed To Find The Style Corresponding To The Id 2130771996"