dkanada / openapk

Manage Apps on Android
GNU General Public License v3.0
67 stars 12 forks source link

Cannot share or extract a specific app #8

Open KeronCyst opened 7 years ago

KeronCyst commented 7 years ago

The stock broker app. Is anyone able to figure out why? This makes OpenAPK useless to me until it can do so. It gives an error message that simply says "Unable to extract this APK." Why? Apkshare on F-Droid can share it just fine.

dkanada commented 7 years ago

I just pushed an update that should fix this issue, let me know if you still can't extract any apps. Should be on F-Droid in the next few days or you can build from source if you want it before then.

KeronCyst commented 7 years ago

I'm hardly a coder and can't build apps but I just now tried sharing Robinhood's APK again with OpenAPK 1.1.3 and still got "Upload was unsuccessful: Unable to schedule 1 file for upload." from Google Drive.

dkanada commented 7 years ago

Could you try manually refreshing the list and then saving it locally instead? If that doesn't work then if you know how to get the log from Android Studio could you post whatever error it is giving? It should be extracting now, there were some issues updating the values but I fixed them in a commit recently. There could definitely still be an issue, just trying to narrow it down so I can fix it.

KeronCyst commented 7 years ago

Refresh by pulling it down from the top? I tried that and got the same error:

image

I don't know how to operate Android Studio. I'd be happy to follow a step-by-step guide to get the log, but all I'm literally doing is:

  1. download Robinhood - Free Stock Trading from the Google Play Store
  2. find it in OpenAPK and press either "Share" or "Extract"
dkanada commented 7 years ago

If your device is rooted try using either aLogcat ROOT or SysLog on F-Droid to view the logs, I think both have an export option. You will need to trigger the error in OpenAPK and then go into the logging app and either copy the relevant error message or just export the entire log to upload it here. If your phone is not rooted it will be a much longer process to get the logs, let me know if you wanna try it. I downloaded robinhood and didn't have any issues sharing or extracting it, so without a log there isn't much I can do. It might be a good idea to show the error messages in the app when an issue occurs, I will look into that for a future update.

dkanada commented 7 years ago

Found a good article for capturing logs just in case you wanted a non-root version.

KeronCyst commented 7 years ago

Thanks! It does look like a good article, but I've actually been planning to root this device soon for other reasons, so I'll try to get to it to do the easier process (I hope a 4 GB micro-SD will be enough, haha; it's been a while since I last rooted anything).

dkanada commented 7 years ago

I just ran into this issue with a different app. I couldn't find anything wrong in the logs either, so I am going to push an update with a few changes that hopefully fixes some of these issues and also increases the logging verbosity so I can figure out the issue.

KeronCyst commented 7 years ago

I finally rooted my phone and it seems to be fine now, using the latest version on F-Droid as of today! I'm not sure of what had happened earlier but it works with no problem. Awesome!

dkanada commented 7 years ago

I am pretty sure I didn't fix the issue =p I am having the same intermittent error message on some apps. It's hard to reproduce but I think it still exists so I am keeping this ticket open for now until I can look into it further.

KeronCyst commented 7 years ago

I could not extract Coffee Meets Bagel today (just tried). How do I check SysLog on F-Droid? I'm rooted now!

dkanada commented 7 years ago

I found out a bit ago that the app doesn't log any errors related to this issue as far as I can tell which sucks. I think I found the cause of the issue though so I am looking into it.

dkanada commented 7 years ago

If you are on the latest version from F-Droid can you tell me if dialogs in the app are showing up with no text? For some reason in the last few updates the dialog library I am using has stopped detecting the app theme.

KeronCyst commented 7 years ago

I'm not sure of what you mean by "dialogs." May I see a screenshot or two of an example?

dkanada commented 7 years ago

I found the issue with the dialogs so it should be fixed now. I have also basically rewritten the entire app in the last week or so for upcoming features so maybe this issue will finally be fixed.