raulhaag / MiMangaNu

*ES - Lector de Manga online / offline, gratuito y de código abierto. *EN - Manga reader online / offline, free and open source. *FR - Lecteur de manga en ligne / hors ligne, gratuit et open source. *DE - Eine App um Manga zu lesen. Man kann damit Manga online und offline lesen. Es ist kostenlos und quelloffen. *IT - Manga lettore online / offline, gratuito e open source. *RU - В России Манга читает вас. Попробуйте MiMangaNu прямо сейчас.
277 stars 73 forks source link

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

Open licaon-kter opened 4 years ago

licaon-kter commented 4 years ago
        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 commented 4 years ago

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 commented 4 years ago

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

raulhaag commented 4 years ago

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

raulhaag commented 4 years ago

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 commented 4 years ago

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

raulhaag commented 4 years ago

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

raulhaag commented 4 years ago

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 commented 4 years ago

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

licaon-kter commented 4 years ago

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

raulhaag commented 4 years ago

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 commented 4 years ago

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

licaon-kter commented 4 years ago

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 commented 4 years ago

ok then i go to use the fork againg

licaon-kter commented 4 years ago

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

TacoTheDank commented 4 years ago

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

Don't have a clue tbh

raulhaag commented 4 years ago

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?