ScummVM logo Forum Index - ScummVM website - Contact us - Buy Supported Games: GOG.com Rules - Search - Register - Login curved edge
Folder Forum Index > Android Port > ScummVM2.0.0 crash upon start [reproducable] Goto page 1, 2  Next
ScummVM2.0.0 crash upon start [reproducable]
  Author    Thread Reply to topic
Timiditas



Joined: 18 Oct 2012
Posts: 28
ScummVM2.0.0 crash upon start [reproducable] 

Heya, the Android port stopped working for me.
Its crashing as soon as it shows the external configuration button.
Logcat uploaded to the following Google Drive folder:
https://drive.google.com/open?id=1_IrWcD2w0P4s2cJnhiKfBeFxu3wsnihN

ScummVM 2.0.0 (from Play Store)

Galaxy Tab 3
SM-T111
Android 4.2.2 (Samsung Stock Rom, TWRP, SuperSU)
Baseband T111XXXUAOC2

Kernel
3.4.5-2825369
se.infra@SWDB2804 #2

Build JDQ39.T111XXUAOC2

 Reply with quote  
Post Wed Jan 10, 2018 9:35 am 
 View user's profile Send private message
Timiditas



Joined: 18 Oct 2012
Posts: 28
 

Just tested android_arm-master-bc29219b (2.1.0git223) is starting up fine

The Soundfont option in Midi settings doesn't seem to have any effect, contrary to the Windows port, which loads and uses all of my soundfonts ok.
"Internal synthesis" is something different than Fluidsynth?

 Reply with quote  
Post Wed Jan 10, 2018 9:41 am 
 View user's profile Send private message
dafioram



Joined: 24 Sep 2016
Posts: 33
 

The android version on the playstore is android-sdl 2.0, it is the best android version in my opinion. It is different from the android version from the buildbot (which is not sdl).

The non-sdl version doesn't work on non-rooted devices and doesn't allow the virtual keyboard to be opened on android devices without an menu button.

Everything below is about the sdl version.

The error in your cat log is for not being able to find "libapplication.so".

01-10 10:19:42.868 E/AndroidRuntime( 4869): FATAL EXCEPTION: Thread-412
01-10 10:19:42.868 E/AndroidRuntime( 4869): java.lang.UnsatisfiedLinkError: Cannot load library: find_library(linker.cpp:889): "/data/app-lib/org.scummvm.scummvm-1/libapplication.so" failed to load previously

I am also able to reproduce this on my 4.2 android tablet, but not on my 4.4.2 phone (or 7.0 phone), so I would see if upgrading your device to at least 4.4.2 solves it.

The NDK and android API used in 2.0 is a later version than the one used in 1.9.1 so this probably only allows later version of android to work with 2.0.

 Reply with quote  
Post Wed Jan 10, 2018 4:18 pm 
 View user's profile Send private message
Timiditas



Joined: 18 Oct 2012
Posts: 28
 

There is no official update from Samsung anymore.
I made quite some bad experiences with drastically reduced battery life with custom roms in the past. I will not touch this device any further. Guess I'll have to stick to that buildbot version then and keep the apk secure.

 Reply with quote  
Post Thu Jan 11, 2018 3:34 pm 
 View user's profile Send private message
Mister Floppy



Joined: 19 Nov 2005
Posts: 3
 

I'm in the same boat as Timiditas, I can't "upgrade" my Android smartphone higher than v4.1.1 ("Jellybean") anymore and am experiencing these crashes, too Sad

I've just tested it with the latest "master" buildbot version from january 13th, 2018, without crashing, so I'm hoping the developers won't let us "old" users standing in the rain?

Unfortunately, it is very annoying that the Google playstore permanently reports that there is a "newer" version, which is the one that, at the moment, seems to be incompatible with our smartphones' OS...

 Reply with quote  
Post Sun Jan 14, 2018 4:54 am 
 View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger ICQ Number
stephan92



Joined: 23 Jan 2018
Posts: 11
Re: ScummVM2.0.0 crash upon start [reproducable] 

Hi,
I've got the same issue : Scummvm crashes immediately from the begining.
My tablette ; Acer Iconia Tab
Android v4.1.1 with a Kernel 3.1.10 (non rooted)
I have downgraded the version 1.90 which works properly.
If that could help, tell me how to provide more concrete information.
Thank you.
Cheers

 Reply with quote  
Post Thu Jan 25, 2018 9:02 pm 
 View user's profile Send private message
mim2011



Joined: 22 Feb 2018
Posts: 7
 

The problem is on the android_sdl framework that is used for this port. There is a library, curl, that cause problems with Android 4.3 and before. I have managed to buid scummvm without libcurl and it is working on 4.2.2 (Asus Memo Pad HD 7). The instructions are in the

scummvm/dist/androidsdl

folder,

I changed only the file

scummvm/dists/androidsdl/scummvm/AndroidAppSettings.cfg

on the line removed curl:

code:
CompiledLibraries="mad vorbis flac ogg jpeg png theora freetype faad sdl_net"





and

scummvm/dists/androidsdl/scummvm/AndroidBuild.sh
code:

       $ANDROIDSDL/project/jni/application/setEnvironment-$1.sh sh -c "cd scummvm/bin-$1 && env LIBS='-lflac -lvorbis -logg -lmad -lz -lgcc -ltheora -lpng -lfreetype -lfaad -lgnustl_static' ../configure --host=androidsdl-$1 --enable-zlib --enable-vorbis --enable-mad --enable-flac --enable-png --enable-theoradec --enable-sdlnet --enable-vkeybd --disable-libcurl --enable-release --enable-all-engines --enable-mt32emu --disable-readline --disable-nasm --disable-timidity --disable-fluidsynth --datadir=. "



my options for configure, including --disable-libcurl and a missing dot before ./configure

Blade Runner looks great on a 7'' tablet Smile
 Reply with quote  
Post Thu Feb 22, 2018 8:21 am 
 View user's profile Send private message
dafioram



Joined: 24 Sep 2016
Posts: 33
 

mim2011,

Thats really great that you found a fix would you be willing to push a PR with this change to https://github.com/scummvm/scummvm?

If you have the build environment setup would you be willing to talk to the devs at #scummvm on irc.freenode.net and send them an updated apk? The arm or arm7a are probably the most common. They would probably want the version to based off of 2.0.0 + your fix (so it wouldn't include games current unreleased like blade runner).

 Reply with quote  
Post Thu Feb 22, 2018 9:20 pm 
 View user's profile Send private message
mim2011



Joined: 22 Feb 2018
Posts: 7
 

Until the scummvm team will provide an official build that works with older androids i can offer you an unofficial one:

https://file.io/cJhjw9

It is 2.0 build without the curl library for arm 32/64 and x86 32/64. It is working fine on Android 4.2 and 5.1.

All the credits goes to original developers / porters, especially to Lubomyr

 Reply with quote  
Post Mon Feb 26, 2018 8:11 pm 
 View user's profile Send private message
stephan92



Joined: 23 Jan 2018
Posts: 11
 

I would be please to try your version but the link seems to be dead.
Waiting for a new link or for a beta version
Thanks

 Reply with quote  
Post Tue Feb 27, 2018 9:14 pm 
 View user's profile Send private message
mim2011



Joined: 22 Feb 2018
Posts: 7
 

yeah sorry, i should not ignore such a description "Ephemeral file sharing" Smile

I uploaded again on dropbox. I hope it is better now:

https://www.dropbox.com/s/8admvh19rkpa1d2/app-release.apk?dl=0

have fun

 Reply with quote  
Post Wed Feb 28, 2018 7:50 am 
 View user's profile Send private message
stephan92



Joined: 23 Jan 2018
Posts: 11
 

Hi,
I just have downloaded the file and perform a very quick test with 3 or 4 LucasArts games and it's works.
This is great.

But is it normal that non-LucasArts games do not work anymore ?
I only have tried with Elvira, Kyrandia and Broken Sword. I will try the other games this week end.

Anyway the original purpose of Scummmv is back Smile

Thanks

 Reply with quote  
Post Fri Mar 02, 2018 9:24 pm 
 View user's profile Send private message
mim2011



Joined: 22 Feb 2018
Posts: 7
 

Hi stephan92

I checked again and I can not reproduce your problem. I was able to start Kyrandia 1 and 2, Discworld and Riven.

 Reply with quote  
Post Sat Mar 03, 2018 9:50 am 
 View user's profile Send private message
stephan92



Joined: 23 Jan 2018
Posts: 11
 

Hi mim2011

As I wrote, I have perform some tests this week-end with your provided version. My private games collection is composed of 57 PC games and 7 AMIGA games.
To sumarize, your provided version ... WORKS PERFECTLY !!!!
All games seems to work (at least start and are playable for the first minutes).

The three games that didn't work had some missing files, or some corrupted files. After a new importation, the issues were fixed.

The SCUMMVM projet has some GREAT SOFTWARE DEVELOPPERS for sure!!!

Thank you for all.

 Reply with quote  
Post Mon Mar 05, 2018 10:29 pm 
 View user's profile Send private message
stf-06



Joined: 25 Aug 2006
Posts: 2
 

Thank you so much Mim2011!!! I was desperate when I realized 2.0.0 wouldn't run on my phone! I hope your patch will be included in next releases, I can't imagine a life without ScummVM ;o)

 Reply with quote  
Post Sat Mar 17, 2018 12:26 pm 
 View user's profile Send private message
  Display posts from previous:      
Reply to topic

Forum Jump:
 
Goto page 1, 2  Next


Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Powered by phpBB © 2001, 2006 phpBB Group
Forum design by ScummVM team, icons by raina
curved edge   curved edge