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

GitHub | pernilla | 3 years ago
  1. 0

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

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

    TextUtils on Windows and CentOS still doesn't work

    GitHub | 4 years ago | jelgh
    java.lang.RuntimeException: Failed to create a android.widget.TextView
  3. 0

    maven repo and 5.0-X version

    Google Groups | 2 years ago | Zsolt Kúti
    java.lang.NoClassDefFoundError: Could not initialize class
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    NoClassDefFoundError while creating mock object in java

    Stack Overflow | 7 months ago | Manas Kantha
    java.lang.NoClassDefFoundError: Could not initialize class
  6. 0

    External Properties file and classpath

    Oracle Community | 6 years ago | 393585
    java.lang.NoClassDefFoundError: Could not initialize class

    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.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