android.view.InflateException: XML file ./res/layout/invite_friends.xml line #-1 (sorry, not yet implemented): Error inflating class <unknown>

GitHub | pernilla | 4 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    java.lang.NoClassDefFoundError: Could not initialize class android.text.TextUtils

    GitHub | 4 years ago | pernilla
    android.view.InflateException: XML file ./res/layout/invite_friends.xml line #-1 (sorry, not yet implemented): Error inflating class <unknown>

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      Could not initialize class android.text.TextUtils

      at android.widget.TextView.setText()
    2. Android Platform
      LayoutInflater.createView
      1. android.widget.TextView.setText(TextView.java:3471)
      2. android.widget.TextView.setText(TextView.java:3405)
      3. android.widget.TextView.__constructor__(TextView.java:1077)
      4. android.widget.TextView.<init>(TextView.java:447)
      5. android.widget.TextView.<init>(TextView.java:442)
      6. android.view.LayoutInflater.createView(LayoutInflater.java:587)
      6 frames
    3. Roboelectric HTTP
      RoboLayoutInflater.onCreateView
      1. org.robolectric.shadows.RoboLayoutInflater.onCreateView(RoboLayoutInflater.java:38)
      1 frame
    4. Android Platform
      LayoutInflater.inflate
      1. android.view.LayoutInflater.onCreateView(LayoutInflater.java:660)
      2. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:685)
      3. android.view.LayoutInflater.rInflate(LayoutInflater.java:746)
      4. android.view.LayoutInflater.rInflate(LayoutInflater.java:749)
      5. android.view.LayoutInflater.inflate(LayoutInflater.java:489)
      6. android.view.LayoutInflater.inflate(LayoutInflater.java:396)
      7. android.view.LayoutInflater.inflate(LayoutInflater.java:352)
      7 frames
    5. org.robolectric.tester
      RoboWindow.setContentView
      1. org.robolectric.tester.android.view.RoboWindow.setContentView(RoboWindow.java:82)
      1 frame
    6. Roboelectric HTTP
      ShadowActivity.setContentView
      1. org.robolectric.shadows.ShadowActivity.setContentView(ShadowActivity.java:272)
      1 frame
    7. Android Platform
      Activity.setContentView
      1. android.app.Activity.setContentView(Activity.java)
      1 frame
    8. com.myapp.android
      InviteFriendsActivity.onCreate
      1. com.myapp.android.client.invite.InviteFriendsActivity.onCreate(InviteFriendsActivity.java:75)
      1 frame
    9. Android Platform
      Activity.performCreate
      1. android.app.Activity.performCreate(Activity.java:5008)
      1 frame
    10. FEST Reflection
      Invoker.invoke
      1. org.fest.reflect.method.Invoker.invoke(Invoker.java:112)
      1 frame
    11. Roboelectric
      ActivityController$1.run
      1. org.robolectric.util.ActivityController$1.run(ActivityController.java:119)
      1 frame
    12. Roboelectric HTTP
      ShadowLooper.runPaused
      1. org.robolectric.shadows.ShadowLooper.runPaused(ShadowLooper.java:256)
      1 frame
    13. Roboelectric
      ActivityController.create
      1. org.robolectric.util.ActivityController.create(ActivityController.java:114)
      2. org.robolectric.util.ActivityController.create(ActivityController.java:126)
      2 frames
    14. com.myapp.android
      InviteFriendsActivityTest.setup
      1. com.myapp.android.client.invite.InviteFriendsActivityTest.setup(InviteFriendsActivityTest.java:26)
      1 frame
    15. JUnit
      RunBefores.evaluate
      1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
      2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
      3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
      4. org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27)
      4 frames
    16. Roboelectric
      RobolectricTestRunner$2.evaluate
      1. org.robolectric.RobolectricTestRunner$2.evaluate(RobolectricTestRunner.java:241)
      1 frame
    17. JUnit
      ParentRunner$2.evaluate
      1. org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79)
      2. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71)
      3. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49)
      4. org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
      5. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
      6. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
      7. org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
      8. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
      8 frames
    18. Roboelectric
      RobolectricTestRunner$1.evaluate
      1. org.robolectric.RobolectricTestRunner$1.evaluate(RobolectricTestRunner.java:177)
      1 frame
    19. JUnit
      ParentRunner.run
      1. org.junit.runners.ParentRunner.run(ParentRunner.java:236)
      1 frame
    20. JUnit4 Provider
      JUnit4Provider.invoke
      1. org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
      2. org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123)
      3. org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104)
      3 frames