woheller69 / gpscockpit

Android GPS dashboard and head-up display
GNU Affero General Public License v3.0
190 stars 11 forks source link

F-Droid won't install #29

Closed Noitarud closed 1 year ago

Noitarud commented 1 year ago

Gives "not installed" error.

I did have it (I presume had very old version) in but today removed it, since apk is not supplied by author in Git but did find v1.3 in one of its issues, installed, F droid then sees it as installed, uninstalled in F droid, tried install again and same error. Not sure when/what I installed initially (log?). Android 10

woheller69 commented 1 year ago

App from F-Droid installs fine. The debug versions from GitHub are signed with different key. You need to uninstall first. Maybe reboot your device

Noitarud commented 1 year ago

Id send a video but Github has stopped taking uploads from my browser. All FD shows is a little message at the bottom "app not installed". Your Git hub versions have only •"source code (zip)" or •"source code(tar.gz)" i do not know what to do with these, and i do not know how to obtain your apk or your debug apks from your Git hub unless you upload them alongside the source files for users to download them here as most other developers do in their projects, if they are there I cannot see them (each one says two assets, the files already said). The only way i can use your app right now is through issue nine which has a debug zip uploaded. If you had all the apks uploaded i would be able to tell you which version cannot install (if i keep persuing you on this).

In the case of DuckDuckGo, i have two apks from them, •Duckduckgo-5.145.5-play-release.apk •Com.duckduckgo.mobile.android_51454000.apk When i install from GhostCommander, The Play one failed with a message in the middle of screen saying the same message as yours…

woheller69 commented 1 year ago

just remove .zip from my apks on Github

Noitarud commented 1 year ago

Okay, i downloaded a few zips, and (to be sure) I first tried gpscockpit-1.7.zip renamed to gpscockpit-1.7.apk acquired from the link that says "Source code(zip) May 17, 2022" and the message I get is "there was a problem while parsing the package". I still think its not the same…

woheller69 commented 1 year ago

have you ckecked in Android settings if the app is really uninstalled?

And maybe try another app for installing, e.g. TotalCommander

Noitarud commented 1 year ago

in Ghost commander, issue nine's apk has the GPS app's icon (as all the other app's apks i have, have their icons from their developers) but the source code zips i downloaded and renamed have a green droid on a page (1.7 & 2.0 & 2.5).

(Reinstalled working apk) Settings/apps/see all apps/Gps cockpit/…

Noitarud commented 1 year ago

(The buttons were jumping around, i was checking steps) …uninstall/do you want to uninstall this app?/OK The app is then disappeared from list.

woheller69 commented 1 year ago

does it work now?

woheller69 commented 1 year ago

maybe you need to update repositories in the F-Droid app. Does F-Droid show version 2.5?

Noitarud commented 1 year ago

The renamed source zip does the same thing. It is true APKs are zip files, but the content is different.

Debug apk folders root dir: Kotlin, META-INF, res Debug apk files of root dir: AndroidManifest.xml, build-data.properties, classes.dex, classes2.dex, resources.arsc

Source zip has only folder "gpscockpit-1.7" in its root dir, listing contents: Source zip folders in only dir: app, fastlane, gradle Source zip files of only dir: .gitignore build.gradle gradle.properties gradlew gradlew.bat LICENCE README.md settings.gradle

I will sign out now

Noitarud commented 1 year ago

No. Fdroid shows: v2.1 (suggested) added on 1/12/22 v2.0 added on 29/9/22 v1.9 added on 26/7/22

Hmm i'll try the non-v2.1 versions…

woheller69 commented 1 year ago

then you need to update the F-droid repos

woheller69 commented 1 year ago

these old versions are already deleted on F-Droid, they only keep the last 3 versions, so min 2.3

Noitarud commented 1 year ago

Well done, thanks