-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Cannot select xapk file in file explorer #125
Comments
It is supposed to be able to open XAPK files. The Android file picker actually doesn't allow specifying extensions to open, only MIME type which can be different to extension. APKCombo or whereever you get the XAPK from actually put no (empty) MIME type for the file. And the problem is that on older Android versions (at least Android 8, I'm not sure), the Android file picker doesn't like files with no MIME type (on newer versions, it will treat them as the default MIME type application/octet-stream). And whatever app you use to rename the file set the MIME type to ZIP when you renamed it. Now if I set the file picker to allow selecting any file regardless of MIME type, we could select it but this is a bad idea (Since on newer file types the MIME type for XAPK will be octet-stream I have used this and already some people try to select wrong file types) and actually there will be an error after opening it because it tries to check MIME type again when opening the file. If storage permission is allowed that can be fixed, but then 2 bad things have to be combined. |
@corentin-c |
Choosing the .xapk or .zip file manually via my file Explorer (Amaze) and opening it with this app creates this error : java.lang.IllegalArgumentException: column '_data' does not exist. Available columns: []android.database.AbstractCursor.getColumnIndexOrThrow(AbstractCursor.java:358) SDK 31 Thsi error doesn't happen when I choose the .zip file from the file picker inside the app. |
Hello,
Thank you for this cool app !
When I tried to select the .xapk file in the file explorer it was greyed out and I could not click on it. After renaming the file from .xapk to .zip it worked great, maybe allowing to choose the .xapk files directly in the file explorer could make things easier.
The text was updated successfully, but these errors were encountered: