Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] crash after launch - "Failed to open APK" #699

Open
4 tasks done
tennox opened this issue Jan 31, 2025 · 7 comments
Open
4 tasks done

[Bug] crash after launch - "Failed to open APK" #699

tennox opened this issue Jan 31, 2025 · 7 comments

Comments

@tennox
Copy link

tennox commented Jan 31, 2025

Guidelines

  • I have searched the issue tracker for open and closed issues that are similar to the feature request I want to file, without success.
  • I'm on the latest version.
  • I'm not using a test build (alpha/beta/release-candidate).
  • This issue contains only one bug.

Describe the bug

Shortly after launch (sometimes split-second, sometimes many) - silent crash.

Found this in the logs:

Image

Here with some context:
Image

Expected Behavior

Neo Store's Version

1.0.6

Installation Source

Official F-Droid repo

Last Known Working Version

No response

Relevant information

  • Device: OnePlus 6t
  • Android Version: 10
  • ROM: (AOSP, CalyxOS, MIUI, GOS...)
  • Disabled battery optimization for Neo Store? y
  • What is your selected installer? Root probably
@machiav3lli
Copy link
Member

It seems to me that the "Failed to open APK" doesn't have to do with any crashes. What's more interesting is the error on SyncStateHandler. Could you please reproduce the crash and provide a full logcat with the app's id (com.machiav3lli.fdroid)

Also, to be clear, with silent crash you mean that NS did crash and not that it's only something to see in the logcat, right?

@tennox
Copy link
Author

tennox commented Feb 1, 2025

Yes, a full app crash - to home screen. Can use it 10 seconds if I'm lucky.

Here's the logcat:

logcat.txt

@machiav3lli
Copy link
Member

Some notes from the logcat:

  • PeopleSpaceWidgetMgr(2390): Sbn doesn't contain valid PeopleTileKey: null/0/com.machiav3lli.fdroid: not related but seems special.
  • Removed summary didn't match old notification: old=0|com.machiav3lli.fdroid|12345|null|10226, removed=0|com.machiav3lli.fdroid|12345|null|10226: Shouldn't be related, but notifications seem to be blocked.
  • Multiple workers are starting:
    • BatchSyncWorker followed by multiple SyncWorkers (this is the normal part)
    • InstallWorker, it shouldn't be running at parallel especially this seems to be checking for Neo Stores apk, which would imply that the app trying to install an update
  • No crashes/exceptions seems to be noted in the logcat

That said, my guess would be that NS is trying to install itself (and maybe successing?) resulting the app to try to restart… did you update from earlier version to 1.0.6 (I'd guess so considering you saying it's root installer)?

@tennox
Copy link
Author

tennox commented Feb 2, 2025

That said, my guess would be that NS is trying to install itself (and maybe successing?) resulting the app to try to restart… did you update from earlier version to 1.0.6 (I'd guess so considering you saying it's root installer)?

I think your hunch is right.
Saw some notification now: "Installed" (Neo Store),
also I switched to session installer to be sure.

Now it works again but I'm not sure what exactly fixed it.
I will report back if it occurs again, I guess?

Close the issue?

@tennox
Copy link
Author

tennox commented Feb 2, 2025

I just changed to Root installer and it immediately crashed 😅😬

@tennox
Copy link
Author

tennox commented Feb 2, 2025

Found more logs in logcat when I did not filter for machiav3lli. This time I changed to root installer and waited a few seconds:

logcat_machiav3lli.txt

@tennox
Copy link
Author

tennox commented Feb 3, 2025

And I'm actually still having crashes when the session installer is selected.

I think what 'fixed' it before was that I did not have internet.
When I turn internet off, I can 'use' the app.

I've tried turning off auto-sync ('never'), that seems to help..
Can't install apps though for some reason 😥 (install button kicks off download, but then nothing)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants