yeriomin / YalpStore

Download apks from Google Play Store
GNU General Public License v2.0
2.39k stars 258 forks source link

Download arrives in 3 parts #561

Closed johanw666 closed 5 years ago

johanw666 commented 5 years ago

Expected behavior I download an upgrade for an ebook reader (https://play.google.com/store/apps/details?id=org.geometerplus.zlibrary.ui.android). I expect one apk file.

Actual behavior I get 3 apk files, one containing most stuff, one contailing the /lib files for my system and one containing some /res stuff.

Steps to reproduce

  1. Download https://play.google.com/store/apps/details?id=org.geometerplus.zlibrary.ui.android
  2. Check Download folder.

Your setup Sony Z3 compact, Android 6.0.1, Yalp 0.45 (System app). Delta updates deselected in the settings.

Edit: when I do the same on an Android 4.4.4 device I do get a single apk. Maybe this has something to do with the new app bundle functionality?

Whisprin commented 5 years ago

How do you get 3 APK files? I'm getting just one, which, when installed, just causes the app to crash.

johanw666 commented 5 years ago

I get 3 files with the apk extension. When I unzip them I see one with the Java parts of the program which I can install but crashes on start (probably because it misses the second one: one with the native libraries, and one called ...split.config.xhdpi.apk with some resources. After some study I found out this is indeed an apk bundle.

To prevent this behaviour one should fake an Android 4.4 device that does not support apk bundles (apk bundles only work on Android Runtime, which came with Android 5). Bus as some apk's might not exist for older Androids this might become a problem. These parts can be merged with bundletool but that requires the apk signing key. Perhaps it could be done with another key that would replace the original signing key?

Yet another way to tie people to Google Play. :-(

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Nirose commented 5 years ago

The same thing happened to me with spotify lite app. then asked for chroot installation on error message

tenchman commented 5 years ago

Same here with Komoot: https://play.google.com/store/apps/details?id=de.komoot.android

In some versions yalp asked for root/system permissions. After installing yalp as system app, yalp just crashed.

muelli commented 5 years ago

Is this the same issue as https://github.com/yeriomin/YalpStore/issues/565 ?

ghost commented 5 years ago

It is called app bundling or split apps. You can install it when you choose install method " using root"

thierrybo commented 5 years ago

I unrooted my device because my bank apps does not install on a rooted device, so other yalp install options can't just be 'alternatives'

johanw666 commented 5 years ago

I unrooted my device because my bank apps does not install on a rooted device, so other yalp install options can't just be 'alternatives'

Fortunately my bank has no problems with rooted devices, but otherwise there is still https://repo.xposed.info/module/com.devadvance.rootcloak2 and similar solutions for Magisk.

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

thierrybo commented 5 years ago

Dear bot. :-) It is not solved, sorry.

angela-d commented 5 years ago

The split apk issue wasn't present in 0.43, downgrade and give it a try: https://github.com/yeriomin/YalpStore/releases/tag/0.43

Aurora also is not subject to it: https://f-droid.org/en/packages/com.aurora.store/

Edit: 0.43 instead of 0.44; added new Aurora version.

thierrybo commented 5 years ago

downgraded to 0.44 and still the same issue.

thierrybo commented 5 years ago

but thanks for Aurora, with it I can update YT.

johanw666 commented 5 years ago

Otherwise you can make Yail tell Google your device runs Android 4.4 - which does not support split apk's. So if the app still supports 4.4 you could try that.

angela-d commented 5 years ago

@thierrybo My mistake - I'm running 0.43 -- not sure why I thought I was on 0.44: https://github.com/yeriomin/YalpStore/releases/tag/0.43

Anyway, since @yeriomin is MIA / lost interest / hopefully not injured or ill, Aurora is a nice alternative to Yalp with an active developer.

https://forum.xda-developers.com/android/apps-games/galaxy-playstore-alternative-t3739733 - A newer version looks to have been published on the 13th: https://f-droid.org/en/packages/com.aurora.store/

thierrybo commented 5 years ago

Thanks, I will switch to Aurora now.

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.