java.lang.RuntimeException: Failed to instantiate AndroidPlatform class. Using ProGuard? See What ProGuard configuration do I need for Firebase on Android? and Caused by: java.lang.NoSuchMethodException: [class android.content.Context] I have tried to go This link suggested by android studio but did't get any pro-guard for firebase 2.4.0 The complete stack trace is as follows 07-14 21:10:43.577 17043-17043/? E/AndroidRuntime: FATAL EXCEPTION: main Process: com.totalmovie.razon30.movietest, PID: 17043 java.lang.RuntimeException: Unable to start activity ComponentInfo{com.totalmovie.razon30.movietest/com.example.razon30.movietest.HomeActivity}: java.lang.RuntimeException: Failed to instantiate AndroidPlatform class. Using ProGuard? See What ProGuard configuration do I need for Firebase on Android? at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2416) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476) at android.app.ActivityThread.-wrap11(ActivityThread.java) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:148) at android.app.ActivityThread.main(ActivityThread.java:5417) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616) Caused by: java.lang.RuntimeException: Failed to instantiate AndroidPlatform class. Using ProGuard? See What ProGuard configuration do I need for Firebase on Android? at com.c.a.d.g.a(Unknown Source) at com.c.a.h.a(Unknown Source) at com.example.razon30.movietest.HomeActivity.onCreate(Unknown Source) at android.app.Activity.performCreate(Activity.java:6251) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1107) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2369) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476) at android.app.ActivityThread.-wrap11(ActivityThread.java)

Stack Overflow | Razon | 5 months ago
  1. 0

    Debug apk runs well but released apk showing unfortunately stopped

    Stack Overflow | 5 months ago | Razon
    java.lang.RuntimeException: Failed to instantiate AndroidPlatform class. Using ProGuard? See What ProGuard configuration do I need for Firebase on Android? and Caused by: java.lang.NoSuchMethodException: [class android.content.Context] I have tried to go This link suggested by android studio but did't get any pro-guard for firebase 2.4.0 The complete stack trace is as follows 07-14 21:10:43.577 17043-17043/? E/AndroidRuntime: FATAL EXCEPTION: main Process: com.totalmovie.razon30.movietest, PID: 17043 java.lang.RuntimeException: Unable to start activity ComponentInfo{com.totalmovie.razon30.movietest/com.example.razon30.movietest.HomeActivity}: java.lang.RuntimeException: Failed to instantiate AndroidPlatform class. Using ProGuard? See What ProGuard configuration do I need for Firebase on Android? at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2416) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476) at android.app.ActivityThread.-wrap11(ActivityThread.java) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:148) at android.app.ActivityThread.main(ActivityThread.java:5417) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616) Caused by: java.lang.RuntimeException: Failed to instantiate AndroidPlatform class. Using ProGuard? See What ProGuard configuration do I need for Firebase on Android? at com.c.a.d.g.a(Unknown Source) at com.c.a.h.a(Unknown Source) at com.example.razon30.movietest.HomeActivity.onCreate(Unknown Source) at android.app.Activity.performCreate(Activity.java:6251) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1107) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2369) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476) at android.app.ActivityThread.-wrap11(ActivityThread.java)
  2. 0

    I don't know where , who can help me, thank you

    Stack Overflow | 11 months ago | bobo
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.it520.mobilsefe2/com.it520.mobilsefe2.ui.mobilsefe2.SettingActivity}: android.view.InflateException: Binary XML file line #12: Error inflating class com.it520.mobilsefe2.ui.mobilsefe2.ui.SettingCheckView at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2180) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2230) at android.app.ActivityThread.access$600(ActivityThread.java:141) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1234) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:5041) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:511) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560) at dalvik.system.NativeStart.main(Native Method) Caused by: android.view.InflateException: Binary XML file line #12: Error inflating class com.it520.mobilsefe2.ui.mobilsefe2.ui.SettingCheckView at android.view.LayoutInflater.createView(LayoutInflater.java:596) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:687) at android.view.LayoutInflater.rInflate(LayoutInflater.java:746) 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 com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:270) at android.app.Activity.setContentView(Activity.java:1881) at com.it520.mobilsefe2.ui.mobilsefe2.SettingActivity.onCreate(SettingActivity.java:27) at android.app.Activity.performCreate(Activity.java:5104) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1080) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2144) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2230)
  3. 0

    Android simplexml.jar proguard problem

    Stack Overflow | 5 years ago | user911660
    java.lang.NoSuchMethodException: m(dm,Element) 08-25 17:06:56.886: WARN/System.err(8745): at java.lang.Class.getMatchingConstructor(Class.java:643) 08-25 17:06:56.886: WARN/System.err(8745): at java.lang.Class.getConstructor(Class.java:472) 08-25 17:06:56.886: WARN/System.err(8745): at org.simpleframework.xml.core.at.a(Unknown Source)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 2411#182794356

    GitHub | 10 months ago | ranjithnaidu
    java.lang.IllegalStateException: Can’t create emitter 02-11 05:13:34.577 29350-29350/com.practo.fabric E/AndroidRuntime: at com.snowplowanalytics.snowplow.tracker.a$a.a(Emitter.java:237) 02-11 05:13:34.577 29350-29350/com.practo.fabric E/AndroidRuntime: at com.practo.fabric.misc.af.a(SnowplowAnalyticsManager.java:51) 02-11 05:13:34.577 29350-29350/com.practo.fabric E/AndroidRuntime: at com.practo.fabric.search.c$c.<init>(ProductSearch.java:769) 02-11 05:13:34.577 29350-29350/com.practo.fabric E/AndroidRuntime: at com.practo.fabric.search.c.<init>(ProductSearch.java:105) 02-11 05:13:34.577 29350-29350/com.practo.fabric E/AndroidRuntime: at com.practo.fabric.search.h.a(SearchFactory.java:18) 02-11 05:13:34.577 29350-29350/com.practo.fabric E/AndroidRuntime: at com.practo.fabric.result.c.onCreate(SearchResultFragment.java:170) 02-11 05:13:34.577 29350-29350/com.practo.fabric E/AndroidRuntime: at android.support.v4.app.Fragment.performCreate(Fragment.java:1939) 02-11 05:13:34.577 29350-29350/com.practo.fabric E/AndroidRuntime: at android.support.v4.app.o.a(FragmentManager.java:1029) 02-11 05:13:34.577 29350-29350/com.practo.fabric E/AndroidRuntime: at android.support.v4.app.o.a(FragmentManager.java:1248) 02-11 05:13:34.577 29350-29350/com.practo.fabric E/AndroidRuntime: at android.support.v4.app.f.run(BackStackRecord.java:738) 02-11 05:13:34.577 29350-29350/com.practo.fabric E/AndroidRuntime: at android.support.v4.app.o.i(FragmentManager.java:1613) 02-11 05:13:34.577 29350-29350/com.practo.fabric E/AndroidRuntime: at android.support.v4.app.l.p(FragmentController.java:330) 02-11 05:13:34.577 29350-29350/com.practo.fabric E/AndroidRuntime: at android.support.v4.app.j.onStart(FragmentActivity.java:547) 02-11 05:13:34.577 29350-29350/com.practo.fabric E/AndroidRuntime: at com.practo.fabric.result.SearchResultActivity.onStart(SearchResultActivity.java:113) 02-11 05:13:34.577 29350-29350/com.practo.fabric E/AndroidRuntime: at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1236) 02-11 05:13:34.577 29350-29350/com.practo.fabric E/AndroidRuntime: at android.app.Activity.performStart(Activity.java:6006) 02-11 05:13:34.577 29350-29350/com.practo.fabric E/AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2288) 02-11 05:13:34.577 29350-29350/com.practo.fabric E/AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2387)
  6. 0

    JSONObject NoSuchMethodException- Init

    Stack Overflow | 1 year ago | whiterabbit25
    java.lang.NoSuchMethodException: [class org.json.JSONObject] 06-15 18:35:55.245 1919-1919/com.example.ben.phptest W/System.err﹕ at java.lang.Class.getConstructorOrMethod(Class.java:472) 06-15 18:35:55.255 1919-1919/com.example.ben.phptest W/System.err﹕ at java.lang.Class.getConstructor(Class.java:446) 06-15 18:35:55.255 1919-1919/com.example.ben.phptest W/System.err﹕ at com.example.ben.phptest.PHPList.(PHPList.java:58) 06-15 18:35:55.255 1919-1919/com.example.ben.phptest W/System.err﹕ at com.example.ben.phptest.MainActivity.onCreate(MainActivity.java:35) 06-15 18:35:55.255 1919-1919/com.example.ben.phptest W/System.err﹕ at android.app.Activity.performCreate(Activity.java:5231) 06-15 18:35:55.255 1919-1919/com.example.ben.phptest W/System.err﹕ at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087) 06-15 18:35:55.255 1919-1919/com.example.ben.phptest W/System.err﹕ at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2159) 06-15 18:35:55.255 1919-1919/com.example.ben.phptest W/System.err﹕ at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2245) 06-15 18:35:55.255 1919-1919/com.example.ben.phptest W/System.err﹕ at android.app.ActivityThread.access$800(ActivityThread.java:135) 06-15 18:35:55.255 1919-1919/com.example.ben.phptest W/System.err﹕ at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)

    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

      [class android.content.Context] at java.lang.Class.getConstructor(Class.java:528) at java.lang.Class.getConstructor(Class.java:492) at com.c.a.d.g.a(Unknown Source)

      at com.c.a.h.a()
    2. com.c.a
      h.a
      1. com.c.a.h.a(Unknown Source)
      1 frame
    3. com.example.razon30
      HomeActivity.onCreate
      1. com.example.razon30.movietest.HomeActivity.onCreate(Unknown Source)
      1 frame
    4. Android Platform
      ActivityThread.handleLaunchActivity
      1. android.app.Activity.performCreate(Activity.java:6251)
      2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1107)
      3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2369)
      4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)
      4 frames