java.lang.RuntimeException: Could not find any resource from reference ResName{com.***.***:style/Theme_AppCompat_Light_NoActionBar} from style StyleData{name='AppTheme', parent='Theme_AppCompat_Light_NoActionBar'} with theme null

  1. 0

    Robolectric 3.1 and AppCompatTheme error

    GitHub | 5 months ago | awago
    java.lang.RuntimeException: Could not find any resource from reference ResName{com.***.***:style/Theme_AppCompat_Light_NoActionBar} from style StyleData{name='AppTheme', parent='Theme_AppCompat_Light_NoActionBar'} with theme null
  2. 0

    Robolectric 3.1 and AppCompatTheme error

    Stack Overflow | 5 months ago | Vitaliy Kosharskiy
    java.lang.RuntimeException: Could not find any resource from reference ResName{com.***.***:style/Theme_AppCompat_Light_NoActionBar} from style StyleData{name='AppTheme', parent='Theme_AppCompat_Light_NoActionBar'} with theme null
  3. 0

    RuntimeException using Roboelectric

    Stack Overflow | 5 months ago | Theo
    java.lang.RuntimeException: Could not find any resource from reference ResName{testing.theo.robotutorial:style/Theme_AppCompat_Light_DarkActionBar} from style StyleData{name='AppTheme', parent='Theme_AppCompat_Light_DarkActionBar'} with theme null
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Issues when creating activity

    GitHub | 1 year ago | yamo21
    java.lang.RuntimeException: huh? ResName{com.apposit.vms.mobile:style/ActionBarStyle}

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.RuntimeException

      Could not find any resource from reference ResName{com.***.***:style/Theme_AppCompat_Light_NoActionBar} from style StyleData{name='AppTheme', parent='Theme_AppCompat_Light_NoActionBar'} with theme null

      at org.robolectric.shadows.ShadowAssetManager$StyleResolver.getParent()
    2. Roboelectric HTTP
      ShadowResources$ShadowTheme.obtainStyledAttributes
      1. org.robolectric.shadows.ShadowAssetManager$StyleResolver.getParent(ShadowAssetManager.java:525)
      2. org.robolectric.shadows.ShadowAssetManager$StyleResolver.getAttrValue(ShadowAssetManager.java:463)
      3. org.robolectric.shadows.ShadowAssetManager.getOverlayedThemeValue(ShadowAssetManager.java:748)
      4. org.robolectric.shadows.ShadowAssetManager.findAttributeValue(ShadowAssetManager.java:737)
      5. org.robolectric.shadows.ShadowAssetManager.buildAttributes(ShadowAssetManager.java:683)
      6. org.robolectric.shadows.ShadowResources.attrsToTypedArray(ShadowResources.java:103)
      7. org.robolectric.shadows.ShadowResources.access$000(ShadowResources.java:52)
      8. org.robolectric.shadows.ShadowResources$ShadowTheme.obtainStyledAttributes(ShadowResources.java:270)
      9. org.robolectric.shadows.ShadowResources$ShadowTheme.obtainStyledAttributes(ShadowResources.java:265)
      10. org.robolectric.shadows.ShadowResources$ShadowTheme.obtainStyledAttributes(ShadowResources.java:260)
      10 frames
    3. Android Platform
      ContextThemeWrapper.setTheme
      1. android.content.res.Resources$Theme.obtainStyledAttributes(Resources.java)
      2. android.app.Activity.onApplyThemeResource(Activity.java:3727)
      3. android.view.ContextThemeWrapper.initializeTheme(ContextThemeWrapper.java:150)
      4. android.view.ContextThemeWrapper.setTheme(ContextThemeWrapper.java:94)
      4 frames
    4. Android v7
      AppCompatActivity.setTheme
      1. android.support.v7.app.AppCompatActivity.setTheme(AppCompatActivity.java:90)
      1 frame
    5. Roboelectric HTTP
      CoreShadowsAdapter$1.setThemeFromManifest
      1. org.robolectric.shadows.ShadowActivity.setThemeFromManifest(ShadowActivity.java:94)
      2. org.robolectric.shadows.CoreShadowsAdapter$1.setThemeFromManifest(CoreShadowsAdapter.java:30)
      2 frames
    6. Roboelectric
      Robolectric.setupActivity
      1. org.robolectric.util.ActivityController.attach(ActivityController.java:70)
      2. org.robolectric.util.ActivityController.of(ActivityController.java:32)
      3. org.robolectric.Robolectric.buildActivity(Robolectric.java:82)
      4. org.robolectric.Robolectric.buildActivity(Robolectric.java:78)
      5. org.robolectric.Robolectric.setupActivity(Robolectric.java:86)
      5 frames