Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-3276] Android Default app crash

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionCannot Reproduce
Resolution Date2012-09-05T14:28:57.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsAndroid
Labelsn/a
Reporterchris
AssigneeNeeraj Gupta
Created2011-04-15T03:41:10.000+0000
Updated2017-03-10T00:11:56.000+0000

Description

Not sure if this is the right place to post this issue, but when I run default mobile app (Titanium 1.2.2 + Mobile SDK 1.6) in Android (r10) emulator (running on Ubuntu 10.10 x64) it crashes (and freezes on splash screen) with the following output in the console:

E/TiUncaughtHandler( 421): (main) [109,109] Sending event: exception on thread: main msg:java.lang.NoSuchMethodError: org.appcelerator.titanium.TiApplication.getSystemProperties
E/TiUncaughtHandler( 421): java.lang.NoSuchMethodError: org.appcelerator.titanium.TiApplication.getSystemProperties
E/TiUncaughtHandler( 421): at uk.co.wima.test.TestAppInfo.(TestAppInfo.java:17)
E/TiUncaughtHandler( 421): at uk.co.wima.test.TestApplication.onCreate(TestApplication.java:24)
E/TiUncaughtHandler( 421): at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:969)
E/TiUncaughtHandler( 421): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:3236)
E/TiUncaughtHandler( 421): at android.app.ActivityThread.access$2200(ActivityThread.java:117)
E/TiUncaughtHandler( 421): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:966)
E/TiUncaughtHandler( 421): at android.os.Handler.dispatchMessage(Handler.java:99)
E/TiUncaughtHandler( 421): at android.os.Looper.loop(Looper.java:123)
E/TiUncaughtHandler( 421): at android.app.ActivityThread.main(ActivityThread.java:3647)
E/TiUncaughtHandler( 421): at java.lang.reflect.Method.invokeNative(Native Method)
E/TiUncaughtHandler( 421): at java.lang.reflect.Method.invoke(Method.java:507)
E/TiUncaughtHandler( 421): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
E/TiUncaughtHandler( 421): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
E/TiUncaughtHandler( 421): at dalvik.system.NativeStart.main(Native Method)

Tried Android API 1.6 - 2.3 with the same result.

Any suggestions how to fix it?

Comments

  1. Dawson Toth 2011-11-02

    Noticed this was filed under the wrong component. Updated to Android, automatically assigned to the appropriate person (guessing that'd be Marshall or Don, not sure at the moment).
  2. Junaid Younus 2012-09-05

    Please create a help desk ticket for this or ask in the community Q&A as they will be able to help you regarding this. The more detail you include, the quicker you will receive an answer. Try to also include a sample project, so that you may get a more accurate solution faster. Marked ticket as resolved.
  3. Lee Morris 2017-03-10

    Closing this ticket as the issue cannot be reproduced.

JSON Source