ScummVM on Motorola Droid issue

Subforum for discussion and help with ScummVM's Android port

Moderator: ScummVM Team

crescentmage
Posts: 1
Joined: Sun Nov 08, 2009 3:56 am

ScummVM on Motorola Droid issue

Post by crescentmage » Sun Nov 08, 2009 4:03 am

I installed ScummVM from the Android store, but i receive an error when I try to start it. I'm guessing it has to do with Android 2.0 compatibility and/or the new screen resolution.

Anyone else have similar issues or have a solution to get it working. Or perhaps know when we might expect a new version?

Thanks for the port by the way (I believe Gus did it?) I'm more of a Java coder than C++, so it's a bit out of my league.

User avatar
bobdevis
Posts: 563
Joined: Fri Jan 16, 2009 10:52 am

Post by bobdevis » Sun Nov 08, 2009 6:58 pm

It might help if you tell us what error you got.

kertong
Posts: 5
Joined: Tue Dec 20, 2005 5:01 am

Post by kertong » Mon Nov 09, 2009 6:42 pm

same issue here on my motorola droid - scummvm loads partway, then crashes silently back to the home screen. guessing it is also related to android 2.0.

Looking forward to an update! :)

Robbace
Posts: 2
Joined: Fri Nov 13, 2009 11:27 pm

Post by Robbace » Fri Nov 13, 2009 11:30 pm

kertong wrote:Looking forward to an update! :)
I second that. I look forward to a working Droid port.

Rob

Anneal
Posts: 1
Joined: Sat Nov 14, 2009 5:36 pm

Post by Anneal » Sat Nov 14, 2009 6:03 pm

The error is "The application ScummVM (process org.inodes.gus.scummvm) has stopped unexpectedly. Please try again. I emailed my Droids error log to the developers email listed in the market place I will also paste it here.

Code: Select all

11-14 11:43:43.186 W/InputManagerService( 1011): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@44a36060
11-14 11:43:43.225 W/BackupManagerService( 1011): dataChanged but no participant pkg='com.android.providers.settings' uid=10017
11-14 11:43:43.482 D/dalvikvm( 1011): GC freed 20057 objects / 1017736 bytes in 194ms
11-14 11:43:49.201 D/Twidgit ( 1368): TWIDGIT TICK
11-14 11:43:55.857 D/dalvikvm(27099): GC freed 3308 objects / 231008 bytes in 102ms
11-14 11:44:00.092 D/ForecastProvider( 1349): query() with uri=content://com.androidapps.widget.weather2/appwidgets/27
11-14 11:44:00.139 D/ForecastProvider( 1349): query() with uri=content://com.androidapps.widget.weather2/appwidgets/27
11-14 11:44:00.186 D/dalvikvm( 1349): GC freed 1256 objects / 640968 bytes in 45ms
11-14 11:44:00.201 D/ForecastProvider( 1349): query() with uri=content://com.androidapps.widget.weather2/forecasts/27
11-14 11:44:05.178 D/dalvikvm( 1484): GC freed 53 objects / 2832 bytes in 87ms
11-14 11:44:11.584 D/dalvikvm( 1142): GC freed 903 objects / 62256 bytes in 78ms
11-14 11:44:16.600 D/dalvikvm( 1346): GC freed 1254 objects / 83608 bytes in 96ms
11-14 11:44:21.256 I/ActivityManager( 1011): Starting activity: Intent { act=android.intent.action.MAIN flg=0x10000000 cmp=org.inodes.gus.scummvm/.ScummVMActivity }
11-14 11:44:21.389 W/UsageStats( 1011): Failed to persist new stats
11-14 11:44:21.404 I/ActivityManager( 1011): Start proc org.inodes.gus.scummvm for activity org.inodes.gus.scummvm/.ScummVMActivity: pid=27414 uid=10052 gids={1015}
11-14 11:44:21.451 I/dalvikvm(27414): Debugger thread not active, ignoring DDM send (t=0x41504e4d l=38)
11-14 11:44:21.467 I/WindowManager( 1011): Setting rotation to 1, animFlags=0
11-14 11:44:21.506 I/ActivityManager( 1011): Config changed: { scale=1.0 imsi=310/4 loc=en_US touch=3 keys=2/1/2 nav=2/2 orien=2 layout=34}
11-14 11:44:21.818 D/UpdateService( 1356): rotation
11-14 11:44:21.873 W/Service ( 1356): setForeground: ignoring old API call on org.koxx.pure_messenger.UpdateService
11-14 11:44:21.873 D/UpdateService( 1356): Requested UPDATE_ALL action
11-14 11:44:21.873 D/UpdateService( 1356): new reqMessageNumber = 0 / msgCount = 0
11-14 11:44:21.889 I/dalvikvm(27414): Debugger thread not active, ignoring DDM send (t=0x41504e4d l=48)
11-14 11:44:21.967 D/UpdateService( 1356): Processing thread started
11-14 11:44:21.967 D/UpdateService( 1356): launch thread
11-14 11:44:21.982 I/ActivityManager( 1011): Starting activity: Intent { cmp=org.inodes.gus.scummvm/.Unpacker (has extras) }
11-14 11:44:21.990 W/UsageStats( 1011): Failed to persist new stats
11-14 11:44:22.084 W/UsageStats( 1011): Failed to persist new stats
11-14 11:44:22.107 D/dalvikvm(27414): Trying to load lib /data/data/org.inodes.gus.scummvm/cache/libscummvm.so 0x4472b238
11-14 11:44:22.154 D/UpdateService( 1356): 62 : delta since last forecast update is 2.0970344E7 min / update_period is 180.0 min
11-14 11:44:22.162 I/dalvikvm(27414): Unable to dlopen(/data/data/org.inodes.gus.scummvm/cache/libscummvm.so): Cannot load library: link_image[1698]:   986 could not load needed library 'libcorecg.so' for 'libscummvm.so' (load_library[1039]: Library 'libcorecg.so' not found)
11-14 11&#58;44&#58;22.162 W/dalvikvm&#40;27414&#41;&#58; Exception Ljava/lang/UnsatisfiedLinkError; thrown during Lorg/inodes/gus/scummvm/ScummVM;.<clinit>
11-14 11&#58;44&#58;22.170 W/dalvikvm&#40;27414&#41;&#58; threadid=13&#58; thread exiting with uncaught exception &#40;group=0x4001b180&#41;
11-14 11&#58;44&#58;22.170 E/AndroidRuntime&#40;27414&#41;&#58; Uncaught handler&#58; thread ScummVM exiting due to uncaught exception
11-14 11&#58;44&#58;22.193 E/AndroidRuntime&#40;27414&#41;&#58; java.lang.ExceptionInInitializerError
11-14 11&#58;44&#58;22.193 E/AndroidRuntime&#40;27414&#41;&#58; at org.inodes.gus.scummvm.ScummVMApplication.runScummVM&#40;ScummVMApplication.java&#58;78&#41;
11-14 11&#58;44&#58;22.193 E/AndroidRuntime&#40;27414&#41;&#58; at org.inodes.gus.scummvm.ScummVMApplication.access$000&#40;ScummVMApplication.java&#58;16&#41;
11-14 11&#58;44&#58;22.193 E/AndroidRuntime&#40;27414&#41;&#58; at org.inodes.gus.scummvm.ScummVMApplication$1.run&#40;ScummVMApplication.java&#58;51&#41;
11-14 11&#58;44&#58;22.193 E/AndroidRuntime&#40;27414&#41;&#58; at java.lang.Thread.run&#40;Thread.java&#58;1096&#41;
11-14 11&#58;44&#58;22.193 E/AndroidRuntime&#40;27414&#41;&#58; Caused by&#58; java.lang.UnsatisfiedLinkError&#58; Library /data/data/org.inodes.gus.scummvm/cache/libscummvm.so not found
11-14 11&#58;44&#58;22.193 E/AndroidRuntime&#40;27414&#41;&#58; at java.lang.Runtime.load&#40;Runtime.java&#58;437&#41;
11-14 11&#58;44&#58;22.193 E/AndroidRuntime&#40;27414&#41;&#58; at java.lang.System.load&#40;System.java&#58;536&#41;
11-14 11&#58;44&#58;22.193 E/AndroidRuntime&#40;27414&#41;&#58; at org.inodes.gus.scummvm.ScummVM.<clinit>&#40;ScummVM.java&#58;77&#41;
11-14 11&#58;44&#58;22.193 E/AndroidRuntime&#40;27414&#41;&#58; ... 4 more
11-14 11&#58;44&#58;22.357 D/UpdateService&#40; 1356&#41;&#58; 62 &#58; should update
11-14 11&#58;44&#58;22.498 I/ActivityManager&#40; 1011&#41;&#58; Displayed activity org.inodes.gus.scummvm/.ScummVMActivity&#58; 1101 ms &#40;total 1101 ms&#41;
11-14 11&#58;44&#58;22.498 W/UsageStats&#40; 1011&#41;&#58; Failed to persist new stats
11-14 11&#58;44&#58;22.521 W/IInputConnectionWrapper&#40; 8072&#41;&#58; showStatusIcon on inactive InputConnection
11-14 11&#58;44&#58;22.740 I/Process &#40; 1011&#41;&#58; Sending signal. PID&#58; 27414 SIG&#58; 3
11-14 11&#58;44&#58;22.740 I/dalvikvm&#40;27414&#41;&#58; threadid=7&#58; reacting to signal 3
11-14 11&#58;44&#58;22.826 I/dalvikvm&#40;27414&#41;&#58; Wrote stack trace to '/data/anr/traces.txt'
11-14 11&#58;44&#58;23.053 I/ActivityManager&#40; 1011&#41;&#58; Process android.process.media &#40;pid 27362&#41; has died.
11-14 11&#58;44&#58;23.061 D/dalvikvm&#40; 1356&#41;&#58; GC freed 446 objects / 89424 bytes in 344ms
11-14 11&#58;44&#58;23.264 D/UpdateService&#40; 1356&#41;&#58; >>>> Requesting next update at 1258231462000, in 179.0 min <<<<
11-14 11&#58;44&#58;24.154 D/dalvikvm&#40; 1011&#41;&#58; GC freed 8694 objects / 393992 bytes in 135ms
11-14 11&#58;44&#58;25.553 I/Process &#40;27414&#41;&#58; Sending signal. PID&#58; 27414 SIG&#58; 9
11-14 11&#58;44&#58;25.560 I/WindowManager&#40; 1011&#41;&#58; WIN DEATH&#58; Window&#123;448726c0 org.inodes.gus.scummvm/org.inodes.gus.scummvm.ScummVMActivity paused=false&#125;
11-14 11&#58;44&#58;25.568 I/ActivityManager&#40; 1011&#41;&#58; Process org.inodes.gus.scummvm &#40;pid 27414&#41; has died.
11-14 11&#58;44&#58;25.592 I/WindowManager&#40; 1011&#41;&#58; WIN DEATH&#58; Window&#123;4489bb80 SurfaceView paused=false&#125;
11-14 11&#58;44&#58;25.600 I/WindowManager&#40; 1011&#41;&#58; Setting rotation to 0, animFlags=0
11-14 11&#58;44&#58;25.631 I/ActivityManager&#40; 1011&#41;&#58; Config changed&#58; &#123; scale=1.0 imsi=310/4 loc=en_US touch=3 keys=2/1/2 nav=2/2 orien=1 layout=34&#125;
11-14 11&#58;44&#58;25.732 D/UpdateService&#40; 1356&#41;&#58; rotation
11-14 11&#58;44&#58;25.771 W/UsageStats&#40; 1011&#41;&#58; Unexpected resume of com.android.vending while already resumed in org.inodes.gus.scummvm
11-14 11&#58;44&#58;25.787 W/Service &#40; 1356&#41;&#58; setForeground&#58; ignoring old API call on org.koxx.pure_messenger.UpdateService
11-14 11&#58;44&#58;25.787 D/UpdateService&#40; 1356&#41;&#58; Requested UPDATE_ALL action
11-14 11&#58;44&#58;25.795 D/UpdateService&#40; 1356&#41;&#58; new reqMessageNumber = 0 / msgCount = 0
11-14 11&#58;44&#58;25.842 D/UpdateService&#40; 1356&#41;&#58; Processing thread started
11-14 11&#58;44&#58;25.842 D/UpdateService&#40; 1356&#41;&#58; launch thread
11-14 11&#58;44&#58;25.842 D/UpdateService&#40; 1356&#41;&#58; 62 &#58; delta since last forecast update is 2.0970344E7 min / update_period is 180.0 min
11-14 11&#58;44&#58;25.904 D/UpdateService&#40; 1356&#41;&#58; 62 &#58; should update
11-14 11&#58;44&#58;26.084 W/InputManagerService&#40; 1011&#41;&#58; Got RemoteException sending setActive&#40;false&#41; notification to pid 27414 uid 10052
11-14 11&#58;44&#58;26.146 D/dalvikvm&#40; 1356&#41;&#58; GC freed 771 objects / 274280 bytes in 167ms
11-14 11&#58;44&#58;26.326 D/UpdateService&#40; 1356&#41;&#58; >>>> Requesting next update at 1258231465000, in 179.0 min <<<<
11-14 11&#58;44&#58;26.420 D/dalvikvm&#40; 1066&#41;&#58; GC freed 7904 objects / 354720 bytes in 109ms
11-14 11&#58;44&#58;27.928 D/dalvikvm&#40; 1011&#41;&#58; GC freed 3256 objects / 147968 bytes in 159ms
11-14 11&#58;44&#58;32.084 W/Process &#40; 1011&#41;&#58; Unable to open /proc/27414/status
11-14 11&#58;44&#58;32.100 I/ActivityManager&#40; 1011&#41;&#58; Start proc com.android.settings for broadcast com.android.settings/.widget.SettingsAppWidgetProvider&#58; pid=27428 uid=1000 gids=&#123;3003, 3002, 3001&#125;

gus
ScummVM Porter
Posts: 77
Joined: Fri Feb 13, 2009 5:44 pm

Post by gus » Thu Nov 19, 2009 8:07 am

Yep, ScummVM doesn't work on Android 2.0 yet.

(They rearranged some native libraries. I haven't looked into what's required to support it yet)

Martech
Posts: 1
Joined: Tue Dec 29, 2009 1:49 pm

Post by Martech » Tue Dec 29, 2009 1:52 pm

Is there any way to support you in making the necessary changes? I have only little experience in android programming, but if it's "only" library changes, that should be doable?

vindolin
Posts: 2
Joined: Fri Jan 08, 2010 4:01 pm

Post by vindolin » Fri Jan 08, 2010 4:07 pm

Whats the status gus?
Milestone without scummvm is only half the fun :cry:
Any donate links to speed up the work? :wink:

gus
ScummVM Porter
Posts: 77
Joined: Fri Feb 13, 2009 5:44 pm

Post by gus » Sat Jan 09, 2010 8:24 am

vindolin wrote:Whats the status gus?
Milestone without scummvm is only half the fun :cry:
Any donate links to speed up the work? :wink:
Never thought of donate links ...

At the moment I'm trying to clean up the build process so I can get the Android port made official and merged in with the main ScummVM code base.

I'm stalling on the 2.0 problems until Google releases the 2.0 Android code, NDK, etc (makes it much easier for me to investigate the differences). Yeah I know.

Tortri
Posts: 2
Joined: Sat Jan 09, 2010 10:55 pm

Post by Tortri » Sat Jan 09, 2010 10:59 pm

Can't wait to see how the games look on my Nexus One... too bad it'll be a little while before it's out, but worth the long wait. I'd donate for such blood, sweat, time and lack of personal hygiene(jk) put into this program!

Tortri
Posts: 2
Joined: Sat Jan 09, 2010 10:55 pm

Post by Tortri » Tue Jan 12, 2010 2:34 am


Dan Forever
Posts: 8
Joined: Sat Sep 16, 2006 11:28 pm

Post by Dan Forever » Sat Jan 16, 2010 3:26 pm

Unfortunately Tortri, it's the 2.0 NDK that gus needs, not the 2.1 SDK.

I wonder if google will release a 2.1 NDK and skip 2.0/2.0.1 entirely (which is annoying for us Milestone/Droid users :/)

gus - have you tried much with using the 1.6 NDK using the 2.0 emulator? All the information I find on the internet leads me to believe it should just work what with all this fancy talk of forwards compatibleness and whatnot.

Y311oEye
Posts: 5
Joined: Mon Feb 08, 2010 7:11 pm

Post by Y311oEye » Mon Feb 08, 2010 7:12 pm

Any new progress on this? I would love to have the old point and clicks on my Moto Droid.

natethomas
Posts: 1
Joined: Wed Feb 10, 2010 10:06 pm

Post by natethomas » Wed Feb 10, 2010 10:08 pm

Looks like the code for 2.0 might not be necessary. Droids are set to be updated to 2.1 sometime this week.

Y311oEye
Posts: 5
Joined: Mon Feb 08, 2010 7:11 pm

Post by Y311oEye » Thu Feb 11, 2010 4:24 am

natethomas wrote:Looks like the code for 2.0 might not be necessary. Droids are set to be updated to 2.1 sometime this week.
Is ScummVM already prepped for 2.1?

Post Reply