activity_main.xml: Failed to find the style corresponding to the id 2130771996

后端 未结 10 2175
谎友^
谎友^ 2020-12-09 13:26

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 prope

相关标签:
10条回答
  • 2020-12-09 13:52

    Try to rebuild the project, It'll work fine.

    0 讨论(0)
  • 2020-12-09 13:54

    change the API level mentioned above in xml file thats it

    0 讨论(0)
  • 2020-12-09 13:55

    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>
    
    0 讨论(0)
  • 2020-12-09 13:56

    You can solve this problem also by just changing your theme from default app theme. I have solve tin this way only.

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