Skip to content
This repository has been archived by the owner on Jul 23, 2020. It is now read-only.

F-Droid can't build - unknown maven repos #713

Open
licaon-kter opened this issue Mar 4, 2020 · 16 comments
Open

F-Droid can't build - unknown maven repos #713

licaon-kter opened this issue Mar 4, 2020 · 16 comments

Comments

@licaon-kter
Copy link
Contributor

        maven { url 'https://github.com/suckgamony/RapidDecoder/raw/master/repository' }
        maven { url 'http://www.jabylon.org/maven/' }

Are those libs unavailable in a trusted repo or can't be build before building the app?

@raulhaag
Copy link
Owner

raulhaag commented Mar 6, 2020

The rapid decoder you can see the repository there and be used for mora than 3 year i think, the other was to change the js motor to rhino but not used until now (if i remember )

@raulhaag
Copy link
Owner

raulhaag commented Mar 6, 2020

pd: i go to remove the new one for now until it be necesary and see if it works

@raulhaag
Copy link
Owner

a also create a fork and updated the library and publish on https://jitpack.io/ a trusted repo

@raulhaag
Copy link
Owner

raulhaag commented Mar 24, 2020

F-droid still looking for https://github.com/suckgamony/RapidDecoder/raw/master/repository after all and it's not listed on dependecies, any idea?

@licaon-kter
Copy link
Contributor Author

Build 126 fails with: https://gist.github.com/licaon-kter/bf57a8821dc151dcd10ed48b03085fbf this is about that maven?

@raulhaag
Copy link
Owner

Seen like a anotation problems, when I have time I go to check

@raulhaag
Copy link
Owner

Hi @licaon-kter i added implementation 'androidx.annotation:annotation:1.1.0' to th modules, there is any way to test it on fdroid or emulater the fdroid behavior localy? sorry for late response but really im having a lot of work

@raulhaag
Copy link
Owner

@licaon-kter still happens the same error?
Is there any way to see the compilation errors online?

@licaon-kter
Copy link
Contributor Author

Did you get a chance to look at the log?
ar.rulosoft.mimanganu_129.log.gz

@raulhaag
Copy link
Owner

raulhaag commented Apr 26, 2020

HI @licaon-kter on version 1.129 i used the original repo and this error can be
/home/vagrant/build/ar.rulosoft.mimanganu/app/src/main/java/rapid/decoder/NullBitmapLoader.java:9: error: package android.support.annotation does not exist
import android.support.annotation.NonNull;
but in verion 1.128 i use this fork https://github.com/raulhaag/RapidDecoder updated to androidx https://f-droid.org/repo/ar.rulosoft.mimanganu_128.log.gz and the log still sayin

Task :app:compileFdroidReleaseJavaWithJavac
/home/vagrant/build/ar.rulosoft.mimanganu/app/src/main/java/rapid/decoder/NullBitmapLoader.java:9: error: package android.support.annotation does not exist
import android.support.annotation.NonNull;

but you can see
https://github.com/raulhaag/RapidDecoder/blob/master/library/src/main/java/rapid/decoder/NullBitmapLoader.java
imports androidx.support.x.x instead of android.support

i don't know if there a precofigured meta on the server that need changes or or any cache

@licaon-kter
Copy link
Contributor Author

@raulhaag no (gradle) cache, it's a fresh VM for every build.

@licaon-kter
Copy link
Contributor Author

but in verion 1.128 i use this fork https://github.com/raulhaag/RapidDecoder

Oh, right we use RapidDecoder as srclib, but this one: https://gitlab.com/fdroid/fdroiddata/-/blob/master/srclibs/RapidDecoder.txt aka upstream and not your fork

Fixed: https://gitlab.com/fdroid/fdroiddata/-/merge_requests/6677

@raulhaag
Copy link
Owner

ok then i go to use the fork againg

@licaon-kter
Copy link
Contributor Author

@licaon-kter licaon-kter reopened this May 8, 2020
@TacoTheDank
Copy link

Maybe add multidex to the dependency list? https://developer.android.com/studio/build/multidex

Don't have a clue tbh

@raulhaag
Copy link
Owner

raulhaag commented May 8, 2020

Now what https://gist.github.com/licaon-kter/5b6ab1c7d6d1aacc0406c3b37f2e246b :(

Sounds like srclib and gradle are created and added at same time, maybe deactivating srclib, can you try?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants