gsantner / markor

Text editor - Notes & ToDo (for Android) - Markdown, todo.txt, plaintext, math, ..
https://github.com/gsantner/markor/discussions/2269
Other
3.84k stars 368 forks source link

v2.13.0: Issue with APK from GitHub not installing on Android Motorola #2465

Closed Breakout-X closed 3 days ago

Breakout-X commented 2 weeks ago

⚠️ This issue respects the following points: ⚠️

Description

The app won't install. The error is "Something Went Wrong - App not installed".

I tried searching for similar issues and could not find one.

Steps to reproduce

  1. Open GitHub Releases
  2. Click on the APK (successfully downloads without virus warning, indicating that it's safe)
  3. Attempt to install APK

Information

Android version: 13/0 (It says version 13 and version 0) Device: Android Motorola App Version: v2.13.0

Source

GitHub Releases

Format / File type

Something else (-> Additional info)

Additional info / Log

The previous version works fine, but the latest won't install. Markor is a good app, but it won't update for whatever reason.

gsantner commented 2 weeks ago

It installed just fine here, I use the GitHub one myself too. Are you sure you previously installed from here and not F-Droid i.e.?

Breakout-X commented 2 weeks ago

It installed just fine here, I use the GitHub one myself too. Are you sure you previously installed from here and not F-Droid i.e.?

Yes I am sure. I got it from this link with this id: “net.gsantner.markor-v155-2.13.0-flavorDefault-release.apk”.

I tried installing it 3 times before creating this issue. I’ll try again right now.

Breakout-X commented 2 weeks ago

It installed just fine here, I use the GitHub one myself too. Are you sure you previously installed from here and not F-Droid i.e.?

Here's a screenshot (ignore the blurred text), I had to use Google Photos to edit this: Screenshot_20241030-125713~2

gsantner commented 2 weeks ago

I keep it open, maybe someone else has the issue too.

What you can try is installing from computer with abd install -r

Breakout-X commented 2 weeks ago

I keep it open, maybe someone else has the issue too.

What you can try is installing from computer with abd install -r

Does abd require administrative permissions? Although I do work with NodeJS, I am currently not the admin of my computer, and it took a year to get permission for simply just NodeJS. Soon, I will be admin, but I am currently not right now.

Also, thanks for your help. 😃

gsantner commented 2 weeks ago

I don't think so, its a archive download and should be portable with user rights usable.

Breakout-X commented 2 weeks ago

I don't think so, its a archive download and should be portable with user rights usable.

Oh, so like how Git-Bash was distributed? That works. Where can I download it from?

Breakout-X commented 2 weeks ago

I don't think so, its a archive download and should be portable with user rights usable.

By the way, I tried installing Marder and it worked.

https://github.com/user-attachments/assets/12056076-3004-40c8-89cc-958ea092493d

Breakout-X commented 2 weeks ago

I don't think so, its a archive download and should be portable with user rights usable.

Since I have APK Explorer and Editor, would you be okay if I checked your code in the APKs to see if there's any key difference that might be causing the issue?

(I'm asking for your permission to respect your ownership of the app because APK Explorer and Editor allows me to modify apps)

If your app is built with JavaScript or NodeJS in some way, I could definitely help with it somewhat.

kevjonesin commented 2 weeks ago

I'm also experiencing an issue trying (failing) to run Markor on a Motorola Android device.

In my case the app installs then fails immediately upon receiving file permissions at the end of the introduction sequence. It then subsequently fails any attempts to relaunch.

I started by attempting a first time install via F-Droid (just found the app today while scrolling there). Tried multiple uninstall/reinstalls but still fails after intro & permission request granting.

Have since also tried the "Marder" test version APK linked above and it too fails in the same fashion.

I'm on a Moto G Stylus running Android 12.

Screenshot_20241101-084848-348.png

gsantner commented 2 weeks ago

I don't have a Motorola device and can't reproduce the installation issue.

If somebody has interest or know a bit how to compile android apps with Andtoid Studio feel free to, you might discover somethimg.

The permission stuff is/should be complete unrelated to Breakout-X's topic (offtopic).

Breakout-X commented 2 weeks ago

I don't have a Motorola device and can't reproduce the installation issue.

If somebody has interest or know a bit how to compile android apps with Andtoid Studio feel free to, you might discover somethimg.

The permission stuff is/should be complete unrelated to Breakout-X's topic (offtopic).

I'll use APK Explorer and Editor on my phone as I don't have Android Studio on my PC, and my NodeJS APK Editor is a work-in-progress. However, if I ever get Android Studio, I'll let you know what happens from there.

EDIT: Found a version of Android Studio that's supported on my phone (unfortunately the one from the official site is not, but the APKPure version is), so I'll also try to use that to find the issue.

EDIT: Nevermind. The app just told me I need Windows in order to proceed. No wonder the official version had no APK, probably because there was no need for an APK that basically tells you that you wasted your time as it's just a tutorial telling you what to do on a Windows, but this ain't Windows.

pudah commented 5 days ago

I have a Motorola device on Android 12. I usually install Markor via F-droid. I've had version 2.13 installed for a few days now without incident.

I tried to duplicate this issue.

I uninstalled the F-droid version. Downloaded net.gsantner.markor-v155-2.13.0-flavorDefault-release.apk from here on github. I installed it successfully. No errors during install. No errors granting file permission. No errors on launching the app. No errors in quick test of normal app use.

gsantner commented 5 days ago

Thanks for testing. Not sure whats wrong at those few users with the issue.

gsantner commented 3 days ago

Closing, it seems not like there is a general issue with the download.

Can only recommend to try installation from other source / uninstall / reinstall.

My recommended installation source is as I always say - F-Droid.

Breakout-X commented 1 day ago

Closing, it seems not like there is a general issue with the download.

Can only recommend to try installation from other source / uninstall / reinstall.

My recommended installation source is as I always say - F-Droid.

Okay. I'll try reinstalling from F-Droid. Also, what exactly is the difference between Markor and Marder? Marder seems to work perfectly fine

gsantner commented 1 day ago

Marder is a testbuild/debug build.

Breakout-X commented 1 day ago

Marder is a testbuild/debug build.

Is that the only difference? If it is, I'll keep using Marder for now

Breakout-X commented 6 hours ago

Marder is a testbuild/debug build.

I did install from F-Droid and although it threw an error the first attempt to install, the second attempt worked. I noticed that the GitHub version and the F-Droid are 1 MB different although they are the exact same version. Whatever is in the 1 MB is probably what's preventing me from downloading the GitHub version.