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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by pernilla
, 1 year ago
XML file ./res/layout/invite_friends.xml line #-1 (sorry, not yet implemented): Error inflating class <unknown>
via Google Groups by Pernilla Uhlin, 6 months ago
XML file ./res/layout/invite_friends.xml line #-1 (sorry, not yet implemented): Error inflating class
via Google Groups by Eugen Martynov, 7 months ago
XML file ./res/layout/abstract_registration.xml line #-1 (sorry, not yet implemented): Error inflating class <unknown>
via GitHub by blurpy
, 2 years ago
XML file ./res/layout/private_chat.xml line #-1 (sorry, not yet implemented): Error inflating class <unknown>
via GitHub by dwalintukan
, 2 years ago
XML file C:\Users\Deric\Documents\GitHub\lfdate\android\res\layout\actionbar.xml line #-1 (sorry, not yet implemented): Error inflating class android.widget.ProgressBar
via Stack Overflow by The Nomad
, 11 months ago
XML file C:\Users\Deric\Documents\GitHub\lfdate\android\res\layout\actionbar.xml line #-1 (sorry, not yet implemented): Error inflating class android.widget.ProgressBar
java.lang.NoClassDefFoundError: Could not initialize class android.text.TextUtils
at android.widget.TextView.setText(TextView.java:3471)
at android.widget.TextView.setText(TextView.java:3405)
at android.widget.TextView.__constructor__(TextView.java:1077)
at android.widget.TextView.(TextView.java:447)
at android.widget.TextView.(TextView.java:442)
at android.view.LayoutInflater.createView(LayoutInflater.java:587)
at android.view.LayoutInflater.onCreateView(LayoutInflater.java:660)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:685)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:746)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:749)
at android.view.LayoutInflater.inflate(LayoutInflater.java:489)
at android.view.LayoutInflater.inflate(LayoutInflater.java:396)
at android.view.LayoutInflater.inflate(LayoutInflater.java:352)
at org.robolectric.tester.android.view.RoboWindow.setContentView(RoboWindow.java:82)
at com.myapp.android.client.invite.InviteFriendsActivity.onCreate(InviteFriendsActivity.java:75)
at android.app.Activity.performCreate(Activity.java:5008)
at org.robolectric.util.ActivityController$1.run(ActivityController.java:119)
at org.robolectric.util.ActivityController.create(ActivityController.java:114)
at org.robolectric.util.ActivityController.create(ActivityController.java:126)
at com.myapp.android.client.invite.InviteFriendsActivityTest.setup(InviteFriendsActivityTest.java:26)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.robolectric.RobolectricTestRunner$2.evaluate(RobolectricTestRunner.java:241)
at org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.robolectric.RobolectricTestRunner$1.evaluate(RobolectricTestRunner.java:177)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.