Build 2.0: Android: "error: This App Has Been Corrupted"

Testing configuration:

iMac with OSX 10.8.3

Corona 2013.1056

User name: ingemar at swipewareDotCom

 

Compile for Android (Google Play)

 

Device: Galaxy S WiFi (Android 2.2.2) and Google Nexus 7 (Android 4.2.2)

Result: Displays splash screen and then error message “Error: This app has been corrupted”.

 

 

 

Note: The app runs fine when compiled with Build 2.0 switched off.

 

 

The following is the output of logcat from the start of the app up to the error:

 

I/ActivityManager(  478): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.swipeware.bigfatgoalie/com.ansca.corona.CoronaActivity} from pid 743

I/ActivityManager(  478): Config changes=1480 {1.0 450mcc?mnc en_US ldltr sw600dp w961dp h528dp 213dpi lrg land finger -keyb/v/h -nav/h s.11}

I/InputReader(  478): Reconfiguring input devices.  changes=0x00000004

I/InputReader(  478): Device reconfigured: id=2, name=‘elan-touchscreen’, size 800x1280, orientation 1, mode 1, display id 0

I/InputReader(  478): Reconfiguring input devices.  changes=0x00000004

I/InputReader(  478): Device reconfigured: id=2, name=‘elan-touchscreen’, size 800x1280, orientation 1, mode 1, display id 0

D/dalvikvm( 2391): GC_FOR_ALLOC freed 464K, 13% free 8154K/9372K, paused 50ms, total 55ms

I/dalvikvm-heap( 2391): Grow heap (frag case) to 8.669MB for 614416-byte allocation

D/dalvikvm( 2391): GC_FOR_ALLOC freed 61K, 8% free 8693K/9372K, paused 22ms, total 22ms

D/dalvikvm( 2391): GC_CONCURRENT freed 676K, 15% free 8025K/9372K, paused 3ms+10ms, total 29ms

I/ActivityManager(  478): Displayed com.swipeware.bigfatgoalie/com.ansca.corona.CoronaActivity: +711ms

W/IInputConnectionWrapper(  743): showStatusIcon on inactive InputConnection

D/dalvikvm( 2391): GC_FOR_ALLOC freed 31K, 14% free 8081K/9372K, paused 46ms, total 46ms

V/Corona  ( 2391): > Class.forName: network.LuaLoader

V/Corona  ( 2391): < Class.forName: network.LuaLoader

V/Corona  ( 2391): Loading via reflection: network.LuaLoader

D/dalvikvm( 2391): GC_CONCURRENT freed 30K, 9% free 8561K/9372K, paused 8ms+12ms, total 64ms

D/dalvikvm( 2391): WAIT_FOR_CONCURRENT_GC blocked 1ms

D/dalvikvm( 2391): GC_CONCURRENT freed 451K, 9% free 8599K/9372K, paused 4ms+2ms, total 63ms

D/dalvikvm(  478): GC_EXPLICIT freed 601K, 24% free 13478K/17676K, paused 7ms+5ms, total 74ms

In another thread Walter mentioned that they’ve identified a similar issue for iOS.

I’ve just recompiled with Build 2.0 and this issue seems to be fixed for Android as well. 

I am still getting this error on my android builds. IOS works fine.

@BuildandTeach

 

I had a problem in one of my other apps, and after checking the output of ‘logcat’ when running on the device it turned out to be a missing Android permission in the build.settings file. The recent daily builds do not include default Android permissions, so you’ll have to include any necessary permissions manually.

In another thread Walter mentioned that they’ve identified a similar issue for iOS.

I’ve just recompiled with Build 2.0 and this issue seems to be fixed for Android as well. 

I am still getting this error on my android builds. IOS works fine.

@BuildandTeach

 

I had a problem in one of my other apps, and after checking the output of ‘logcat’ when running on the device it turned out to be a missing Android permission in the build.settings file. The recent daily builds do not include default Android permissions, so you’ll have to include any necessary permissions manually.