The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: Yona-TYT on May 08, 2024, 07:02:55 PM

Title: [Android] Paksets installer does not download anything
Post by: Yona-TYT on May 08, 2024, 07:02:55 PM


I know this is a known issue, but I'm wondering if there is any close solution for this, since it's a big deal on mobile devices.

Screenshot_2024-05-08-14-22-29-261_com.simutrans.jpg
Title: Re: [Android] Paksets installer does not download anything
Post by: Roboron on May 08, 2024, 08:54:18 PM
If this is the same issue that we discussed in the other thread, then as already mentioned it shall be fixed with a follow-up "truly stable" bugfix release.

However, I could not test the current nightly for Android because I can't install the APK (adb says INSTALL_PARSE_FAILED_NO_CERTIFICATES).

@prissi is the apk not signed? (this is a rhetoric question, I can see it is not signed in the pipeline). Can't we sign it? (This is not a rhetoric question).
Title: Re: [Android] Paksets installer does not download anything
Post by: Yona-TYT on May 09, 2024, 12:21:58 AM
Quote from: Roboron on May 08, 2024, 08:54:18 PMIf this is the same issue that we discussed in the other thread, then as already mentioned it shall be fixed with a follow-up "truly stable" bugfix release.

However, I could not test the current nightly for Android because I can't install the APK (adb says INSTALL_PARSE_FAILED_NO_CERTIFICATES).

@prissi is the apk not signed? (this is a rhetoric question, I can see it is not signed in the pipeline). Can't we sign it? (This is not a rhetoric question).

You're right, it works now with last night!.

Moving this to result.

Screenshot_2024-05-08-20-21-02-818_com.simutrans.jpg
Title: Re: [Android] Paksets installer does not download anything
Post by: prissi on May 09, 2024, 01:31:56 PM
We cannot sign simutrans, at least not with the same key that google is using. That only google can. After finding also the threading bug which will lead to crashes with more than 12 multi threads available, a new release 124.0.1 is due soon.
Title: Re: [Android] Paksets installer does not download anything
Post by: Yona-TYT on May 10, 2024, 01:07:29 AM
I'm very sorry to revive this, but it seems to have failed again.


Has anything changed in these last revisions?

I did the following: I uninstalled simutrans from my device, then I reinstalled the latest revision r11199, and now I'm trying to install some pakset but it doesn't work.

Screenshot_2024-05-09-21-02-21-157_com.simutrans-edit.jpg
Title: Re: [Android] Paksets installer does not download anything
Post by: prissi on May 10, 2024, 06:25:26 AM
Sometimes a mirror get a timeout. So maybe sourceforge was not behaving well. It should work if it worked after Yesterdays fix. If not, I will look at it again.
Title: Re: [Android] Paksets installer does not download anything
Post by: Yona-TYT on May 10, 2024, 11:53:16 PM
Quote from: prissi on May 10, 2024, 06:25:26 AMSometimes a mirror get a timeout. So maybe sourceforge was not behaving well. It should work if it worked after Yesterdays fix. If not, I will look at it again.
Almost a day later, it is still not working, it seems that something broke.
Title: Re: [Android] Paksets installer does not download anything
Post by: Roboron on May 11, 2024, 10:08:31 AM
Since strcasestr was re-implemented, that re-introduced this bug (I have been able to reproduce this as well).

I don't know what was wrong with that re-implementation, but when I first searched for this I found some implementations on stack overflow and since I'm a bad programmer I took one of them (https://stackoverflow.com/a/27304609) and put it in r11200. Now it works again.
Title: Re: [Android] Paksets installer does not download anything
Post by: Yona-TYT on May 11, 2024, 04:08:39 PM
Ok , this is working now 😁
Title: Re: [Android] Paksets installer does not download anything
Post by: prissi on May 12, 2024, 07:06:24 AM
I got mine also from stackoverflow ...