java.lang.NoSuchMethodException: <init> [class android.content.Context, interface android.util.AttributeSet]

pushwoosh.com | 9 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Pushwoosh crash com.pushwoosh.richpages.RichPageActivity.getInflatedView - Pushwoosh Community

    pushwoosh.com | 9 months ago
    java.lang.NoSuchMethodException: <init> [class android.content.Context, interface android.util.AttributeSet]
  2. 0

    Class could not be instantiated XML

    Stack Overflow | 3 years ago | Rohodude
    java.lang.NoSuchMethodException: com.rohit.ShowcaseView.&lt;init&gt; (android.content.Context, android.util.AttributeSet)
  3. 0

    How to create a CustomView using existing widgets

    Stack Overflow | 1 year ago | Vernon Kawonza
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.venon.jerseytwenty3twenty4/com.venon.jerseytwenty3twenty4.MainActivity}: android.view.InflateException: Binary XML file line #12: Error inflating class com.venon.jerseytwenty3twenty4.CardWidget
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Android: Unfortunately App has stopped running Layout Issue

    Stack Overflow | 9 months ago | IHaveProblemsCoding101
    java.lang.RuntimeException: Unable to start activity ComponentInfo{mygod.myname.mygodapp/mygod.myname.mygodapp.DrawTriangleActivity}: android.view.InflateException: Binary XML file line #22: Error inflating class mygod.myname.mygodapp.DrawingView
  6. 0

    com.google.android.gms.maps.MapsFragment could not be instantiated

    Stack Overflow | 2 months ago | TacticalBacon
    java.lang.NoSuchMethodException: com.google.android.gms.maps.MapFragment.(android.content.Context, android.util.AttributeSet)
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.NoSuchMethodException

    <init> [class android.content.Context, interface android.util.AttributeSet]

    at java.lang.Class.getConstructor()
  2. Java RT
    Class.getConstructor
    1. java.lang.Class.getConstructor(Class.java:531)
    2. java.lang.Class.getConstructor(Class.java:495)
    2 frames
  3. Android Platform
    LayoutInflater.inflate
    1. android.view.LayoutInflater.createView(LayoutInflater.java:580)
    2. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:743)
    3. android.view.LayoutInflater.rInflate(LayoutInflater.java:806)
    4. android.view.LayoutInflater.rInflate(LayoutInflater.java:809)
    5. android.view.LayoutInflater.inflate(LayoutInflater.java:504)
    5 frames
  4. com.pushwoosh.richpages
    RichPageActivity$GetPageTask.onPostExecute
    1. com.pushwoosh.richpages.RichPageActivity.getInflatedView(Unknown Source)
    2. com.pushwoosh.richpages.RichPageActivity.addView(Unknown Source)
    3. com.pushwoosh.richpages.RichPageActivity.onPageLoadSuccess(Unknown Source)
    4. com.pushwoosh.richpages.RichPageActivity$GetPageTask.onPostExecute(Unknown Source)
    5. com.pushwoosh.richpages.RichPageActivity$GetPageTask.onPostExecute(Unknown Source)
    5 frames
  5. Android Platform
    ActivityThread.main
    1. android.os.AsyncTask.finish(AsyncTask.java:636)
    2. android.os.AsyncTask.access$500(AsyncTask.java:177)
    3. android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:653)
    4. android.os.Handler.dispatchMessage(Handler.java:102)
    5. android.os.Looper.loop(Looper.java:135)
    6. android.app.ActivityThread.main(ActivityThread.java:5910)
    6 frames
  6. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Method.java)
    2. java.lang.reflect.Method.invoke(Method.java:372)
    2 frames
  7. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1405)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1200)
    2 frames