Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Android - App crashes cause of invalid activity name when using nightly build

Hi all,

I switched from Mobile SDK 1.4 to the nightly build "Nov 2 2010 23:54 r3a7d5140". It works when building the app under Linux but not under Mac/Windows. The reason is an invalid activity name defined in the AndroidManinfest.xml

The name of the app in tiapp.xml and manifest is "Test Mobile".

I found out that the name of the activity under Linux has to be:

<activity android:name=".TestmobileActivity" android:label="TestMobile" android:theme="@style/Theme.Titanium" android:configChanges="keyboardHidden|orientation">

whereas the name of the activity when building under Mac/Windows has to be:

<activity android:name=".TestMobileActivity" android:label="TestMobile" android:theme="@style/Theme.Titanium" android:configChanges="keyboardHidden|orientation">

The app won't start under Linux if I rename the name of the activity to ".TestMobileActivity".

Also the app does not automatically start after building the app. As soon as I start the app manually, I get the following error:


Has anyone an idea what causes the different behaviour under Linux / Mac / Windows?

Thank you.

— asked November 15th 2010 by Jicks Steen
  • activity
  • android
  • crash
  • nightly

0 Answers

The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.