java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.apollo.arrroo/com.example.apollo.arrroo.Main2Activity}: android.view.InflateException: Binary XML file line #2: 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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Stack Overflow by C89-HD
, 1 year ago
Unable to start activity ComponentInfo{com.example.apollo.arrroo/com.example.apollo.arrroo.Main2Activity}: android.view.InflateException: Binary XML file line #2: Error inflating class <unknown>
via Stack Overflow by Nukhba Arshad
, 1 year ago
Unable to start activity ComponentInfo{com.nuku.mc.august/com.nuku.mc.august.LoginActivity}: android.view.InflateException: Binary XML file line #2: Error inflating class <unknown>
via Stack Overflow by Ali Muhammad
, 2 years ago
Unable to start activity ComponentInfo{com.thenewboston.ali/com.thenewboston.ali.Splash}: android.view.InflateException: Binary XML file line #2: Error inflating class <unknown>
via techforumnetwork.com by Unknown author, 2 years ago
Unable to start activity ComponentInfo{com.status.what/com.cat.what.Fun}: android.view.InflateException: Binary XML file line #2: Error inflating class <unknown>
via GitHub by NilakArgento
, 2 years ago
Unable to start activity ComponentInfo{sevendays.ethnicmedia.us.seven/sevendays.ethnicmedia.us.seven.MainActivity}: android.view.InflateException: Binary XML file line #2: Error inflating class <unknown>
via Stack Overflow by Yogus
, 1 year ago
Unable to start activity ComponentInfo{com.jaisri.myapp/com.jaisri.myapp.MainActivity}: android.view.InflateException: Binary XML file line #2: Error inflating class <unknown>
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.apollo.arrroo/com.example.apollo.arrroo.Main2Activity}: android.view.InflateException: Binary XML file line #2: Error inflating class <unknown>
at android.graphics.BitmapFactory.nativeDecodeAsset(Native Method)
at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:500)
at android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:353)
at android.graphics.drawable.Drawable.createFromResourceStream(Drawable.java:781)
at android.content.res.Resources.loadDrawable(Resources.java:1969)
at android.content.res.TypedArray.getDrawable(TypedArray.java:601)
at android.view.View.(View.java:3348)
at android.view.View.(View.java:3285)
at android.view.ViewGroup.(ViewGroup.java:421)
at android.widget.RelativeLayout.(RelativeLayout.java:187)
at java.lang.reflect.Constructor.constructNative(Native Method)
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.inflate(LayoutInflater.java:466)
at android.view.LayoutInflater.inflate(LayoutInflater.java:396)
at android.view.LayoutInflater.inflate(LayoutInflater.java:352)
at android.support.v7.app.AppCompatDelegateImplV7.setContentView(AppCompatDelegateImplV7.java:280)
at com.example.apollo.arrroo.Main2Activity.onCreate(Main2Activity.java:11)

Users with the same issue

Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
2 times, 1 year ago
2 times, 1 year ago

Write tip

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