Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-12847] Android: Graphic assets loaded 4 times (only at emulators)

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionNeeds more info
Resolution Date2013-05-07T14:15:51.000+0000
Affected Version/sRelease 3.0.0
Fix Version/sn/a
ComponentsAndroid
LabelsSupportTeam, exalture
ReporterEduardo Gomez
AssigneeSunila
Created2013-02-24T20:43:06.000+0000
Updated2017-03-16T20:47:16.000+0000

Description

Issue

While trying to run app on Android emulator ended up with Out Of memory Error(stack trace below).

Android manifest

tiapp.xml android section:
    <android xmlns:android="http://schemas.android.com/apk/res/android">
        <tool-api-level>14</tool-api-level>
        <manifest>
            <uses-sdk android:minSdkVersion="8" android:targetSdkVersion="14"/>
            <supports-screens android:anyDensity="false"/>
            <application android:debuggable="true" android:largeHeap="true"/>
        </manifest>
    </android>

FastDev process console

Every graphic resource logged, appears to be loaded even 4 times. Based on customer's project can be easily reproducible, at least on my local environment.
[INFO] [2013-02-24 14:19:13,580] Serving up files for com.missouriwines.mowineapp at 0.0.0.0:56425 from /Users/egomez/Documents/Titanium Studio Workspace/Missouri Wines
[INFO] [2013-02-24 14:19:16,835] connected: 192.168.189.1:56432
[INFO] [2013-02-24 14:19:16,835] handshake: 6be4b86a-e1c1-4b3d-ab82-e931a3d34eeb
[INFO] [2013-02-24 14:19:16,836] request: status
[INFO] [2013-02-24 14:19:16,836] disconnected: 192.168.189.1:56432
[INFO] [2013-02-24 14:20:23,756] connected: 127.0.0.1:56502
[INFO] [2013-02-24 14:20:23,761] handshake: 6be4b86a-e1c1-4b3d-ab82-e931a3d34eeb
[INFO] [2013-02-24 14:20:25,636] get app.js: /Users/egomez/Documents/Titanium Studio Workspace/Missouri Wines/Resources/app.js
[INFO] [2013-02-24 14:20:26,097] get alloy.js: /Users/egomez/Documents/Titanium Studio Workspace/Missouri Wines/Resources/alloy.js
[INFO] [2013-02-24 14:20:26,631] get alloy/underscore.js: /Users/egomez/Documents/Titanium Studio Workspace/Missouri Wines/Resources/alloy/underscore.js
[INFO] [2013-02-24 14:20:27,030] get alloy/backbone.js: /Users/egomez/Documents/Titanium Studio Workspace/Missouri Wines/Resources/alloy/backbone.js
[INFO] [2013-02-24 14:20:27,286] alloy/alloy/underscore.js exists: false
[INFO] [2013-02-24 14:20:27,343] get alloy/CFG.js: /Users/egomez/Documents/Titanium Studio Workspace/Missouri Wines/Resources/alloy/CFG.js
[INFO] [2013-02-24 14:20:27,376] get alloy/controllers/index.js: /Users/egomez/Documents/Titanium Studio Workspace/Missouri Wines/Resources/alloy/controllers/index.js
[INFO] [2013-02-24 14:20:27,408] alloy/controllers/alloy.js exists: false
[INFO] [2013-02-24 14:20:27,430] alloy/controllers/alloy/controllers/BaseController.js exists: false
[INFO] [2013-02-24 14:20:27,440] get alloy/controllers/BaseController.js: /Users/egomez/Documents/Titanium Studio Workspace/Missouri Wines/Resources/alloy/controllers/BaseController.js
[INFO] [2013-02-24 14:20:27,474] alloy/controllers/alloy.js exists: false
[INFO] [2013-02-24 14:20:27,487] get alloy/controllers/nav.js: /Users/egomez/Documents/Titanium Studio Workspace/Missouri Wines/Resources/alloy/controllers/nav.js
[INFO] [2013-02-24 14:20:27,578] alloy/controllers/alloy.js exists: false
[INFO] [2013-02-24 14:20:27,592] alloy/controllers/alloy/controllers/BaseController.js exists: false
[INFO] [2013-02-24 14:20:28,010] get home/background.png: /Users/egomez/Documents/Titanium Studio Workspace/Missouri Wines/Resources/home/background.png
[INFO] [2013-02-24 14:20:28,559] get home/background.png: /Users/egomez/Documents/Titanium Studio Workspace/Missouri Wines/Resources/home/background.png
[INFO] [2013-02-24 14:20:29,103] get home/background.png: /Users/egomez/Documents/Titanium Studio Workspace/Missouri Wines/Resources/home/background.png
[INFO] [2013-02-24 14:20:29,656] get home/background.png: /Users/egomez/Documents/Titanium Studio Workspace/Missouri Wines/Resources/home/background.png
[INFO] [2013-02-24 14:20:30,207] get navbar.png: /Users/egomez/Documents/Titanium Studio Workspace/Missouri Wines/Resources/navbar.png
[INFO] [2013-02-24 14:20:30,233] get navbar.png: /Users/egomez/Documents/Titanium Studio Workspace/Missouri Wines/Resources/navbar.png
[INFO] [2013-02-24 14:20:30,263] get navbar.png: /Users/egomez/Documents/Titanium Studio Workspace/Missouri Wines/Resources/navbar.png
[INFO] [2013-02-24 14:20:30,290] get navbar.png: /Users/egomez/Documents/Titanium Studio Workspace/Missouri Wines/Resources/navbar.png
[INFO] [2013-02-24 14:20:30,351] get wineries.png: /Users/egomez/Documents/Titanium Studio Workspace/Missouri Wines/Resources/wineries.png
[INFO] [2013-02-24 14:20:30,375] get wineries.png: /Users/egomez/Documents/Titanium Studio Workspace/Missouri Wines/Resources/wineries.png
[INFO] [2013-02-24 14:20:30,392] get wineries.png: /Users/egomez/Documents/Titanium Studio Workspace/Missouri Wines/Resources/wineries.png
[INFO] [2013-02-24 14:20:30,417] get wineries.png: /Users/egomez/Documents/Titanium Studio Workspace/Missouri Wines/Resources/wineries.png
[INFO] [2013-02-24 14:20:30,455] get wines.png: /Users/egomez/Documents/Titanium Studio Workspace/Missouri Wines/Resources/wines.png
[INFO] [2013-02-24 14:20:30,476] get wines.png: /Users/egomez/Documents/Titanium Studio Workspace/Missouri Wines/Resources/wines.png
[INFO] [2013-02-24 14:20:30,494] get wines.png: /Users/egomez/Documents/Titanium Studio Workspace/Missouri Wines/Resources/wines.png
[INFO] [2013-02-24 14:20:30,510] get wines.png: /Users/egomez/Documents/Titanium Studio Workspace/Missouri Wines/Resources/wines.png
[INFO] [2013-02-24 14:20:30,536] get about.png: /Users/egomez/Documents/Titanium Studio Workspace/Missouri Wines/Resources/about.png
[INFO] [2013-02-24 14:20:30,552] get about.png: /Users/egomez/Documents/Titanium Studio Workspace/Missouri Wines/Resources/about.png
[INFO] [2013-02-24 14:20:30,569] get about.png: /Users/egomez/Documents/Titanium Studio Workspace/Missouri Wines/Resources/about.png
[INFO] [2013-02-24 14:20:30,622] get about.png: /Users/egomez/Documents/Titanium Studio Workspace/Missouri Wines/Resources/about.png
[INFO] [2013-02-24 14:20:30,715] get passport.png: /Users/egomez/Documents/Titanium Studio Workspace/Missouri Wines/Resources/passport.png
[INFO] [2013-02-24 14:20:30,734] get passport.png: /Users/egomez/Documents/Titanium Studio Workspace/Missouri Wines/Resources/passport.png
[INFO] [2013-02-24 14:20:30,750] get passport.png: /Users/egomez/Documents/Titanium Studio Workspace/Missouri Wines/Resources/passport.png
[INFO] [2013-02-24 14:20:30,766] get passport.png: /Users/egomez/Documents/Titanium Studio Workspace/Missouri Wines/Resources/passport.png
[INFO] [2013-02-24 14:20:30,802] get home/background.png: /Users/egomez/Documents/Titanium Studio Workspace/Missouri Wines/Resources/home/background.png
[INFO] [2013-02-24 14:20:31,348] get home/background.png: /Users/egomez/Documents/Titanium Studio Workspace/Missouri Wines/Resources/home/background.png
[INFO] [2013-02-24 14:20:31,924] get home/background.png: /Users/egomez/Documents/Titanium Studio Workspace/Missouri Wines/Resources/home/background.png
[INFO] [2013-02-24 14:20:32,553] get home/background.png: /Users/egomez/Documents/Titanium Studio Workspace/Missouri Wines/Resources/home/background.png
[INFO] [2013-02-24 14:20:33,165] get home/title-bar.png: /Users/egomez/Documents/Titanium Studio Workspace/Missouri Wines/Resources/home/title-bar.png
[INFO] [2013-02-24 14:20:33,205] get home/title-bar.png: /Users/egomez/Documents/Titanium Studio Workspace/Missouri Wines/Resources/home/title-bar.png
[INFO] [2013-02-24 14:20:33,243] get home/title-bar.png: /Users/egomez/Documents/Titanium Studio Workspace/Missouri Wines/Resources/home/title-bar.png
[INFO] [2013-02-24 14:20:33,294] get home/title-bar.png: /Users/egomez/Documents/Titanium Studio Workspace/Missouri Wines/Resources/home/title-bar.png
[INFO] [2013-02-24 14:20:33,356] get home/home-image.png: /Users/egomez/Documents/Titanium Studio Workspace/Missouri Wines/Resources/home/home-image.png
[INFO] [2013-02-24 14:20:34,095] get home/home-image.png: /Users/egomez/Documents/Titanium Studio Workspace/Missouri Wines/Resources/home/home-image.png
[INFO] [2013-02-24 14:20:34,673] get home/home-image.png: /Users/egomez/Documents/Titanium Studio Workspace/Missouri Wines/Resources/home/home-image.png
[INFO] [2013-02-24 14:20:35,248] get home/home-image.png: /Users/egomez/Documents/Titanium Studio Workspace/Missouri Wines/Resources/home/home-image.png
[INFO] [2013-02-24 14:20:35,840] get home/home-text.png: /Users/egomez/Documents/Titanium Studio Workspace/Missouri Wines/Resources/home/home-text.png
[INFO] [2013-02-24 14:20:35,887] get home/home-text.png: /Users/egomez/Documents/Titanium Studio Workspace/Missouri Wines/Resources/home/home-text.png
[INFO] [2013-02-24 14:20:35,939] get home/home-text.png: /Users/egomez/Documents/Titanium Studio Workspace/Missouri Wines/Resources/home/home-text.png
[INFO] [2013-02-24 14:20:36,090] get home/home-text.png: /Users/egomez/Documents/Titanium Studio Workspace/Missouri Wines/Resources/home/home-text.png
[INFO] [2013-02-24 14:20:36,154] get home/4wineries.png: /Users/egomez/Documents/Titanium Studio Workspace/Missouri Wines/Resources/home/4wineries.png
[INFO] [2013-02-24 14:20:36,186] get home/4wineries.png: /Users/egomez/Documents/Titanium Studio Workspace/Missouri Wines/Resources/home/4wineries.png
[INFO] [2013-02-24 14:20:36,222] get home/4wineries.png: /Users/egomez/Documents/Titanium Studio Workspace/Missouri Wines/Resources/home/4wineries.png
[INFO] [2013-02-24 14:20:36,342] get home/4wineries.png: /Users/egomez/Documents/Titanium Studio Workspace/Missouri Wines/Resources/home/4wineries.png
[INFO] [2013-02-24 14:20:36,384] get home/4wines.png: /Users/egomez/Documents/Titanium Studio Workspace/Missouri Wines/Resources/home/4wines.png
[INFO] [2013-02-24 14:20:36,418] get home/4wines.png: /Users/egomez/Documents/Titanium Studio Workspace/Missouri Wines/Resources/home/4wines.png
[INFO] [2013-02-24 14:20:36,444] get home/4wines.png: /Users/egomez/Documents/Titanium Studio Workspace/Missouri Wines/Resources/home/4wines.png
[INFO] [2013-02-24 14:20:36,474] get home/4wines.png: /Users/egomez/Documents/Titanium Studio Workspace/Missouri Wines/Resources/home/4wines.png
[INFO] [2013-02-24 14:20:36,596] get home/4about.png: /Users/egomez/Documents/Titanium Studio Workspace/Missouri Wines/Resources/home/4about.png
[INFO] [2013-02-24 14:20:36,626] get home/4about.png: /Users/egomez/Documents/Titanium Studio Workspace/Missouri Wines/Resources/home/4about.png
[INFO] [2013-02-24 14:20:36,654] get home/4about.png: /Users/egomez/Documents/Titanium Studio Workspace/Missouri Wines/Resources/home/4about.png
[INFO] [2013-02-24 14:20:36,687] get home/4about.png: /Users/egomez/Documents/Titanium Studio Workspace/Missouri Wines/Resources/home/4about.png
[INFO] [2013-02-24 14:20:36,722] get home/4passport.png: /Users/egomez/Documents/Titanium Studio Workspace/Missouri Wines/Resources/home/4passport.png
[INFO] [2013-02-24 14:20:36,875] get home/4passport.png: /Users/egomez/Documents/Titanium Studio Workspace/Missouri Wines/Resources/home/4passport.png
[INFO] [2013-02-24 14:20:36,902] get home/4passport.png: /Users/egomez/Documents/Titanium Studio Workspace/Missouri Wines/Resources/home/4passport.png
[INFO] [2013-02-24 14:20:36,929] get home/4passport.png: /Users/egomez/Documents/Titanium Studio Workspace/Missouri Wines/Resources/home/4passport.png
[INFO] [2013-02-24 14:20:36,973] get home/footer.png: /Users/egomez/Documents/Titanium Studio Workspace/Missouri Wines/Resources/home/footer.png
[INFO] [2013-02-24 14:20:37,015] get home/footer.png: /Users/egomez/Documents/Titanium Studio Workspace/Missouri Wines/Resources/home/footer.png
[INFO] [2013-02-24 14:20:37,067] get home/footer.png: /Users/egomez/Documents/Titanium Studio Workspace/Missouri Wines/Resources/home/footer.png
[INFO] [2013-02-24 14:20:37,204] get home/footer.png: /Users/egomez/Documents/Titanium Studio Workspace/Missouri Wines/Resources/home/footer.png
[INFO] [2013-02-24 14:20:37,521] get home/background.png: /Users/egomez/Documents/Titanium Studio Workspace/Missouri Wines/Resources/home/background.png
[INFO] [2013-02-24 14:20:38,438] get home/background.png: /Users/egomez/Documents/Titanium Studio Workspace/Missouri Wines/Resources/home/background.png
[INFO] [2013-02-24 14:20:39,953] get home/background.png: /Users/egomez/Documents/Titanium Studio Workspace/Missouri Wines/Resources/home/background.png

Studio Console output

[WARN][TextLayoutCache(   79)] computeValuesWithHarfbuzz -- need to force to single run
[INFO][dalvikvm-heap(  872)] Grow heap (frag case) to 30.381MB for 1694896-byte allocation
[INFO][dalvikvm-heap(  872)] Grow heap (frag case) to 31.996MB for 1694896-byte allocation
[INFO][dalvikvm-heap(  872)] Grow heap (frag case) to 33.613MB for 1694896-byte allocation
[INFO][dalvikvm-heap(  872)] Grow heap (frag case) to 35.231MB for 1694896-byte allocation
[INFO][TiRootActivity(  872)] (main) [0,0] checkpoint, on root activity resume. activity = com.missouriwines.mowineapp.MissouriWinesActivity@41139970
[INFO][dalvikvm-heap(  872)] Grow heap (frag case) to 44.666MB for 2457616-byte allocation
[INFO][dalvikvm-heap(  872)] Grow heap (frag case) to 47.011MB for 2457616-byte allocation
[INFO][dalvikvm-heap(  872)] Clamp target GC heap from 49.011MB to 48.000MB
[INFO][dalvikvm-heap(  872)] Clamp target GC heap from 49.012MB to 48.000MB
[INFO][dalvikvm-heap(  872)] Forcing collection of SoftReferences for 2457616-byte allocation
[INFO][dalvikvm-heap(  872)] Clamp target GC heap from 49.003MB to 48.000MB
[ERROR][dalvikvm-heap(  872)] Out of memory on a 2457616-byte allocation.
[INFO][dalvikvm(  872)] "main" prio=5 tid=1 RUNNABLE
[INFO][dalvikvm(  872)]   | group="main" sCount=0 dsCount=0 obj=0x40997460 self=0x12810
[INFO][dalvikvm(  872)]   | sysTid=872 nice=0 sched=0/0 cgrp=default handle=1074082952
[INFO][dalvikvm(  872)]   | schedstat=( 8935748895 4108806387 1827 ) utm=716 stm=177 core=0
[INFO][dalvikvm(  872)]   at android.graphics.BitmapFactory.nativeDecodeStream(Native Method)
[INFO][dalvikvm(  872)]   at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:493)
[INFO][dalvikvm(  872)]   at android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:351)
[INFO][dalvikvm(  872)]   at android.graphics.drawable.Drawable.createFromResourceStream(Drawable.java:773)
[INFO][dalvikvm(  872)]   at android.graphics.drawable.Drawable.createFromStream(Drawable.java:733)
[INFO][dalvikvm(  872)]   at org.appcelerator.titanium.util.TiUIHelper.loadFastDevDrawable(TiUIHelper.java:806)
[INFO][dalvikvm(  872)]   at org.appcelerator.titanium.util.TiUIHelper.getResourceDrawable(TiUIHelper.java:818)
[INFO][dalvikvm(  872)]   at org.appcelerator.titanium.util.TiFileHelper.loadDrawable(TiFileHelper.java:279)
[INFO][dalvikvm(  872)]   at org.appcelerator.titanium.util.TiUIHelper.buildBackgroundDrawable(TiUIHelper.java:501)
[INFO][dalvikvm(  872)]   at org.appcelerator.titanium.util.TiUIHelper.buildBackgroundDrawable(TiUIHelper.java:557)
[INFO][dalvikvm(  872)]   at org.appcelerator.titanium.view.TiUIView.handleBackgroundImage(TiUIView.java:920)
[INFO][dalvikvm(  872)]   at org.appcelerator.titanium.view.TiUIView.processProperties(TiUIView.java:671)
[INFO][dalvikvm(  872)]   at org.appcelerator.kroll.KrollProxy.handleMessage(KrollProxy.java:893)
[INFO][dalvikvm(  872)]   at org.appcelerator.titanium.proxy.TiViewProxy.handleMessage(TiViewProxy.java:310)
[INFO][dalvikvm(  872)]   at org.appcelerator.titanium.proxy.TiWindowProxy.handleMessage(TiWindowProxy.java:107)
[INFO][dalvikvm(  872)]   at android.os.Handler.dispatchMessage(Handler.java:95)
[INFO][dalvikvm(  872)]   at android.os.Looper.loop(Looper.java:137)
[INFO][dalvikvm(  872)]   at android.app.ActivityThread.main(ActivityThread.java:4340)
[INFO][dalvikvm(  872)]   at java.lang.reflect.Method.invokeNative(Native Method)
[INFO][dalvikvm(  872)]   at java.lang.reflect.Method.invoke(Method.java:511)
[INFO][dalvikvm(  872)]   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
[INFO][dalvikvm(  872)]   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
[INFO][dalvikvm(  872)]   at dalvik.system.NativeStart.main(Native Method)
[INFO][dalvikvm(  872)] 
[WARN][dalvikvm(  872)] threadid=1: thread exiting with uncaught exception (group=0x409961f8)
[ERROR][TiApplication(  872)] (main) [1599,1599] Sending event: exception on thread: main msg:java.lang.OutOfMemoryError; Titanium 3.0.2,2013/02/15 19:02,5a77fe7
[ERROR][TiApplication(  872)] java.lang.OutOfMemoryError
[ERROR][TiApplication(  872)] 	at android.graphics.BitmapFactory.nativeDecodeStream(Native Method)
[ERROR][TiApplication(  872)] 	at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:493)
[ERROR][TiApplication(  872)] 	at android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:351)
[ERROR][TiApplication(  872)] 	at android.graphics.drawable.Drawable.createFromResourceStream(Drawable.java:773)
[ERROR][TiApplication(  872)] 	at android.graphics.drawable.Drawable.createFromStream(Drawable.java:733)
[ERROR][TiApplication(  872)] 	at org.appcelerator.titanium.util.TiUIHelper.loadFastDevDrawable(TiUIHelper.java:806)
[ERROR][TiApplication(  872)] 	at org.appcelerator.titanium.util.TiUIHelper.getResourceDrawable(TiUIHelper.java:818)
[ERROR][TiApplication(  872)] 	at org.appcelerator.titanium.util.TiFileHelper.loadDrawable(TiFileHelper.java:279)
[ERROR][TiApplication(  872)] 	at org.appcelerator.titanium.util.TiUIHelper.buildBackgroundDrawable(TiUIHelper.java:501)
[ERROR][TiApplication(  872)] 	at org.appcelerator.titanium.util.TiUIHelper.buildBackgroundDrawable(TiUIHelper.java:557)
[ERROR][TiApplication(  872)] 	at org.appcelerator.titanium.view.TiUIView.handleBackgroundImage(TiUIView.java:920)
[ERROR][TiApplication(  872)] 	at org.appcelerator.titanium.view.TiUIView.processProperties(TiUIView.java:671)
[ERROR][TiApplication(  872)] 	at org.appcelerator.kroll.KrollProxy.handleMessage(KrollProxy.java:893)
[ERROR][TiApplication(  872)] 	at org.appcelerator.titanium.proxy.TiViewProxy.handleMessage(TiViewProxy.java:310)
[ERROR][TiApplication(  872)] 	at org.appcelerator.titanium.proxy.TiWindowProxy.handleMessage(TiWindowProxy.java:107)
[ERROR][TiApplication(  872)] 	at android.os.Handler.dispatchMessage(Handler.java:95)
[ERROR][TiApplication(  872)] 	at android.os.Looper.loop(Looper.java:137)
[ERROR][TiApplication(  872)] 	at android.app.ActivityThread.main(ActivityThread.java:4340)
[ERROR][TiApplication(  872)] 	at java.lang.reflect.Method.invokeNative(Native Method)
[ERROR][TiApplication(  872)] 	at java.lang.reflect.Method.invoke(Method.java:511)
[ERROR][TiApplication(  872)] 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
[ERROR][TiApplication(  872)] 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
[ERROR][TiApplication(  872)] 	at dalvik.system.NativeStart.main(Native Method)
[ERROR][AndroidRuntime(  872)] FATAL EXCEPTION: main
[ERROR][AndroidRuntime(  872)] java.lang.OutOfMemoryError
[ERROR][AndroidRuntime(  872)] 	at android.graphics.BitmapFactory.nativeDecodeStream(Native Method)
[ERROR][AndroidRuntime(  872)] 	at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:493)
[ERROR][AndroidRuntime(  872)] 	at android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:351)
[ERROR][AndroidRuntime(  872)] 	at android.graphics.drawable.Drawable.createFromResourceStream(Drawable.java:773)
[ERROR][AndroidRuntime(  872)] 	at android.graphics.drawable.Drawable.createFromStream(Drawable.java:733)
[ERROR][AndroidRuntime(  872)] 	at org.appcelerator.titanium.util.TiUIHelper.loadFastDevDrawable(TiUIHelper.java:806)
[ERROR][AndroidRuntime(  872)] 	at org.appcelerator.titanium.util.TiUIHelper.getResourceDrawable(TiUIHelper.java:818)
[ERROR][AndroidRuntime(  872)] 	at org.appcelerator.titanium.util.TiFileHelper.loadDrawable(TiFileHelper.java:279)
[ERROR][AndroidRuntime(  872)] 	at org.appcelerator.titanium.util.TiUIHelper.buildBackgroundDrawable(TiUIHelper.java:501)
[ERROR][AndroidRuntime(  872)] 	at org.appcelerator.titanium.util.TiUIHelper.buildBackgroundDrawable(TiUIHelper.java:557)
[ERROR][AndroidRuntime(  872)] 	at org.appcelerator.titanium.view.TiUIView.handleBackgroundImage(TiUIView.java:920)
[ERROR][AndroidRuntime(  872)] 	at org.appcelerator.titanium.view.TiUIView.processProperties(TiUIView.java:671)
[ERROR][AndroidRuntime(  872)] 	at org.appcelerator.kroll.KrollProxy.handleMessage(KrollProxy.java:893)
[ERROR][AndroidRuntime(  872)] 	at org.appcelerator.titanium.proxy.TiViewProxy.handleMessage(TiViewProxy.java:310)
[ERROR][AndroidRuntime(  872)] 	at org.appcelerator.titanium.proxy.TiWindowProxy.handleMessage(TiWindowProxy.java:107)
[ERROR][AndroidRuntime(  872)] 	at android.os.Handler.dispatchMessage(Handler.java:95)
[ERROR][AndroidRuntime(  872)] 	at android.os.Looper.loop(Looper.java:137)
[ERROR][AndroidRuntime(  872)] 	at android.app.ActivityThread.main(ActivityThread.java:4340)
[ERROR][AndroidRuntime(  872)] 	at java.lang.reflect.Method.invokeNative(Native Method)
[ERROR][AndroidRuntime(  872)] 	at java.lang.reflect.Method.invoke(Method.java:511)
[ERROR][AndroidRuntime(  872)] 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
[ERROR][AndroidRuntime(  872)] 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
[ERROR][AndroidRuntime(  872)] 	at dalvik.system.NativeStart.main(Native Method)
[WARN][ActivityManager(   79)]   Force finishing activity com.missouriwines.mowineapp/.MissouriWinesActivity

Further info

After disabling fastDev it seems to work as expected. Adding such property: - false

Comments

  1. Tony Lukasavage 2013-02-25

    This appears to be an Android platform issue. I'm moving it to TIMOB and assigning Ingo.
  2. Sunila 2013-05-07

    There is no sample code to reproduce the issue.
  3. Lee Morris 2017-03-16

    Closing ticket as the information that was requested was never provided.

JSON Source