java.lang.NoSuchMethodError: android.app.Activity.startActivity

Appcelerator JIRA | Andrey Tkachenko | 1 year ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Can't run application on device *Lenovo A630 Android 4.0.4* due error: {code} [ERROR] : TiApplication: (main) [1225,4779] Sending event: exception on thread: main msg:java.lang.NoSuchMethodError: android.app.Activity.startActivity; Titanium 5.2.0,2016/02/20 08:05,384775e [ERROR] : TiApplication: java.lang.NoSuchMethodError: android.app.Activity.startActivity [ERROR] : TiApplication: at ti.modules.titanium.ui.WindowProxy.handleOpen(WindowProxy.java:161) [ERROR] : TiApplication: at org.appcelerator.titanium.proxy.TiWindowProxy.handleMessage(TiWindowProxy.java:103) [ERROR] : TiApplication: at ti.modules.titanium.ui.WindowProxy.handleMessage(WindowProxy.java:444) [ERROR] : TiApplication: at android.os.Handler.dispatchMessage(Handler.java:95) [ERROR] : TiApplication: at android.os.Looper.loop(Looper.java:154) [ERROR] : TiApplication: at android.app.ActivityThread.main(ActivityThread.java:4624) [ERROR] : TiApplication: at java.lang.reflect.Method.invokeNative(Native Method) [ERROR] : TiApplication: at java.lang.reflect.Method.invoke(Method.java:511) [ERROR] : TiApplication: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:809) [ERROR] : TiApplication: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:576) [ERROR] : TiApplication: at dalvik.system.NativeStart.main(Native Method) {code} Steps to reproduce: Create default alloy project and run it on device. SDK 5.1.2.GA works without error.

    Appcelerator JIRA | 1 year ago | Andrey Tkachenko
    java.lang.NoSuchMethodError: android.app.Activity.startActivity
  2. 0

    Can't run application on device *Lenovo A630 Android 4.0.4* due error: {code} [ERROR] : TiApplication: (main) [1225,4779] Sending event: exception on thread: main msg:java.lang.NoSuchMethodError: android.app.Activity.startActivity; Titanium 5.2.0,2016/02/20 08:05,384775e [ERROR] : TiApplication: java.lang.NoSuchMethodError: android.app.Activity.startActivity [ERROR] : TiApplication: at ti.modules.titanium.ui.WindowProxy.handleOpen(WindowProxy.java:161) [ERROR] : TiApplication: at org.appcelerator.titanium.proxy.TiWindowProxy.handleMessage(TiWindowProxy.java:103) [ERROR] : TiApplication: at ti.modules.titanium.ui.WindowProxy.handleMessage(WindowProxy.java:444) [ERROR] : TiApplication: at android.os.Handler.dispatchMessage(Handler.java:95) [ERROR] : TiApplication: at android.os.Looper.loop(Looper.java:154) [ERROR] : TiApplication: at android.app.ActivityThread.main(ActivityThread.java:4624) [ERROR] : TiApplication: at java.lang.reflect.Method.invokeNative(Native Method) [ERROR] : TiApplication: at java.lang.reflect.Method.invoke(Method.java:511) [ERROR] : TiApplication: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:809) [ERROR] : TiApplication: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:576) [ERROR] : TiApplication: at dalvik.system.NativeStart.main(Native Method) {code} Steps to reproduce: Create default alloy project and run it on device. SDK 5.1.2.GA works without error.

    Appcelerator JIRA | 1 year ago | Andrey Tkachenko
    java.lang.NoSuchMethodError: android.app.Activity.startActivity
  3. 0

    NoSuchMethod exception while creating and formatting .doc file using Apache poi-3.8 beta hwpf

    Stack Overflow | 5 years ago | Kanon
    java.lang.NoSuchMethodError: org.apache.poi.POIDocument. : at org.apache.poi.hwpf.HWPFDocumentCore.(HWPFDocumentCore.java:145) : at org.apache.poi.hwpf.HWPFDocument.(HWPFDocument.java:218) : at org.apache.poi.hwpf.HWPFDocument.(HWPFDocument.java:186) : at com.vikas.prudent.CreateDocument.onCreate(CreateDocument.java:45) : at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047) : at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2627) : at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679) : at android.app.ActivityThread.access$2300(ActivityThread.java:125) : at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033) : at android.os.Handler.dispatchMessage(Handler.java:99) : at android.os.Looper.loop(Looper.java:123) : at android.app.ActivityThread.main(ActivityThread.java:4627) : at java.lang.reflect.Method.invokeNative(Native Method) : at java.lang.reflect.Method.invoke(Method.java:521) : at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868) : at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626) :
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    1 unregistered visitors

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      android.app.Activity.startActivity

      at ti.modules.titanium.ui.WindowProxy.handleOpen()
    2. ti.modules.titanium
      WindowProxy.handleOpen
      1. ti.modules.titanium.ui.WindowProxy.handleOpen(WindowProxy.java:161)
      1 frame
    3. org.appcelerator.titanium
      TiWindowProxy.handleMessage
      1. org.appcelerator.titanium.proxy.TiWindowProxy.handleMessage(TiWindowProxy.java:103)
      1 frame
    4. ti.modules.titanium
      WindowProxy.handleMessage
      1. ti.modules.titanium.ui.WindowProxy.handleMessage(WindowProxy.java:444)
      1 frame
    5. Android Platform
      ActivityThread.main
      1. android.os.Handler.dispatchMessage(Handler.java:95)
      2. android.os.Looper.loop(Looper.java:154)
      3. android.app.ActivityThread.main(ActivityThread.java:4624)
      3 frames
    6. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:511)
      2 frames
    7. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:809)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:576)
      2 frames
    8. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame