Run On Device Broke Phone - Galaxy Nexus

I built an Android app and tested it on API 2.3, 4.0 and 4.0.3. It worked fine in the emulators (including different screen resolutions.)

Then I decided to give it a go on my Samsung Galaxy Nexus (4.0.2, factory unlocked, stock ROM).

I installed the Samsung USB drivers (Samsung_USB_Driver_for_Moblie_Phones_v1_4_6_0.exe), used the Titanium Community Developer to run on device.

As soon as the app went on the phone, it displayed "Unfortunately, Launcher has stopped.". If you click ok, it comes back up after 2 seconds… I tried all sorts of app removers and cache clears, but they all crash when they try and look at the app that was installed on my phone.

Its an absolute nightmare, looking like my only option is to factory reset… this would mean downloading all my apps and music (Google music) again :(

— asked 4 years ago by James Adams
  • Just a quick update, as I see there are a few people reading.

    Just tried the app in the emulator that I guess represents a Galaxy Nexus (WXGA720), it caused the same error on the emulator.

    Now using Ti SDK 1.8.2 and Android SDK 4.0

    — commented 4 years ago by James Adams
  • So I built the app using Android SDK APIs 4.0…. not sure what the difference is?

    The app got on the device, the same error popped up. BUT it launched the app, straight into an error:

    — commented 4 years ago by James Adams
  • Just created a new project, installed to simulator… crashed the launcher again. However, the app did run fine, no errors.

    Also tried the latest continues build (Ti v2), same error.

    Does Titanium actually support Android 4?

    — commented 4 years ago by James Adams
  • I have resolved the main breaking of the phone issue. Turns out Android 4.0.2 doesn't like processing large appicon.png files.

    Still getting an error in the events.js class, any advice?

    — commented 4 years ago by James Adams
  • Which events.js? We can't see them, without code, we can't help. Likely you should open a new question if it's not the same topic…



    — commented 4 years ago by Mauro Parra
  • Thanks for the reply Mauro, I have fixed all the issues myself now.

    An overview:

    1. Dont use large appicon files, Android 4 cant process them.

    2. I couldn't create and reference a window like this, and get events to work on Android 4, worked fine on 2.3.3.

    Thanks again.

    — commented 4 years ago by James Adams

0 Answers