android.content.res.Resources$NotFoundException: unknown resource 2131558435

Google Groups | Alexander Stark | 1 year ago
  1. 0

    Tests fail when using different applicationId im build.gradle file with RobolectricGradleTestRunner

    Google Groups | 1 year ago | Alexander Stark
    android.content.res.Resources$NotFoundException: unknown resource 2131558435
  2. 0

    Resources Not found for Project

    GitHub | 2 years ago | Neristance
    android.content.res.Resources$NotFoundException: unknown resource 2131624127
  3. 0

    Robolectric tests running in Android Studio but not on the command line

    Stack Overflow | 2 years ago | Óscar López
    android.content.res.Resources$NotFoundException: unknown resource 2131492893
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    android.content.res.Resources$NotFoundException in Robolectric 2.4

    Stack Overflow | 2 years ago | Alix
    android.content.res.Resources$NotFoundException: unknown resource 2131361826

    1 unregistered visitors
    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. android.content.res.Resources$NotFoundException

      unknown resource 2131558435

      at org.robolectric.shadows.ShadowAssetManager.getAndResolve()
    2. Roboelectric HTTP
      ShadowAssetManager.getResourceText
      1. org.robolectric.shadows.ShadowAssetManager.getAndResolve(ShadowAssetManager.java:351)
      2. org.robolectric.shadows.ShadowAssetManager.getResourceText(ShadowAssetManager.java:70)
      2 frames
    3. Android Platform
      Resources.getText
      1. android.content.res.AssetManager.getResourceText(AssetManager.java)
      2. android.content.res.Resources.getText(Resources.java:235)
      2 frames
    4. Roboelectric HTTP
      ShadowResources.getText
      1. org.robolectric.shadows.ShadowResources.getText(ShadowResources.java:358)
      1 frame
    5. Android Platform
      Resources.getString
      1. android.content.res.Resources.getText(Resources.java)
      2. android.content.res.Resources.getString(Resources.java:325)
      2 frames
    6. Roboelectric HTTP
      ShadowContextWrapper.getString
      1. org.robolectric.shadows.ShadowContext.getString(ShadowContext.java:33)
      2. org.robolectric.shadows.ShadowContextWrapper.getString(ShadowContextWrapper.java:81)
      2 frames
    7. Android Platform
      Context.getString
      1. android.content.Context.getString(Context.java)
      1 frame
    8. com.citrix.g2acommon
      G2AApplication.onCreate
      1. com.citrix.g2acommon.G2AApplication.getContentTitle(G2AApplication.java:218)
      2. com.citrix.g2acommon.G2AApplication.onCreate(G2AApplication.java:191)
      2 frames
    9. com.citrix.g2acustomer
      G2ACustomerApplication.onCreate
      1. com.citrix.g2acustomer.G2ACustomerApplication.onCreate(G2ACustomerApplication.java:137)
      1 frame
    10. Roboelectric
      RobolectricTestRunner.runChild
      1. org.robolectric.internal.ParallelUniverse.setUpApplicationState(ParallelUniverse.java:140)
      2. org.robolectric.RobolectricTestRunner.setUpApplicationState(RobolectricTestRunner.java:433)
      3. org.robolectric.RobolectricTestRunner$2.evaluate(RobolectricTestRunner.java:240)
      4. org.robolectric.RobolectricTestRunner.runChild(RobolectricTestRunner.java:188)
      5. org.robolectric.RobolectricTestRunner.runChild(RobolectricTestRunner.java:54)
      5 frames
    11. JUnit
      ParentRunner$2.evaluate
      1. org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
      2. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
      3. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
      4. org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
      5. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
      5 frames
    12. Roboelectric
      RobolectricTestRunner$1.evaluate
      1. org.robolectric.RobolectricTestRunner$1.evaluate(RobolectricTestRunner.java:152)
      1 frame
    13. JUnit
      JUnitCore.run
      1. org.junit.runners.ParentRunner.run(ParentRunner.java:309)
      2. org.junit.runner.JUnitCore.run(JUnitCore.java:160)
      2 frames
    14. IntelliJ junit4 module
      JUnit4IdeaTestRunner.startRunnerWithArgs
      1. com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:78)
      1 frame
    15. IDEA
      AppMain.main
      1. com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:212)
      2. com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:68)
      3. com.intellij.rt.execution.application.AppMain.main(AppMain.java:140)
      3 frames