ev-map / EVMap

Android app to find electric vehicle charging stations - compatible with community databases such as GoingElectric.de and OpenChargeMap.org.
https://ev-map.app/
MIT License
202 stars 55 forks source link

F-Droid can't build - Unresolved reference: fronyx_key #256

Closed licaon-kter closed 2 years ago

licaon-kter commented 2 years ago
...
> Task :app:processFossNormalReleaseResources
> Task :app:optimizeFossNormalReleaseResources
> Task :app:kaptGenerateStubsFossNormalReleaseKotlin

> Task :app:kaptFossNormalReleaseKotlin
/home/vagrant/build/net.vonforst.evmap/app/build/tmp/kapt3/stubs/fossNormalRelease/net/vonforst/evmap/storage/AppDatabase.java:8: warning: Schema export directory is not provided to the annotation processor so we cannot export the schema. You can either provide `room.schemaLocation` annotation processor argument OR set exportSchema to false.
public abstract class AppDatabase extends androidx.room.RoomDatabase {
                ^
/home/vagrant/build/net.vonforst.evmap/app/build/tmp/kapt3/stubs/fossNormalRelease/net/vonforst/evmap/ui/BindingAdaptersKt.java:171: warning: Application namespace for attribute app:valuesAttrChanged will be ignored.
    public static final void setRangeSliderListeners(@org.jetbrains.annotations.NotNull()
                             ^
/home/vagrant/build/net.vonforst.evmap/app/build/tmp/kapt3/stubs/fossNormalRelease/net/vonforst/evmap/ui/BindingAdaptersKt.java:183: warning: Application namespace for attribute app:tint will be ignored.
    public static final void setImageTintList(@org.jetbrains.annotations.NotNull()
                             ^
/home/vagrant/build/net.vonforst.evmap/app/build/tmp/kapt3/stubs/fossNormalRelease/net/vonforst/evmap/ui/BindingAdaptersKt.java:165: warning: Application namespace for attribute app:values will be ignored.
    public static final java.util.List<java.lang.Float> getRangeSliderValue(@org.jetbrains.annotations.NotNull()
                                                        ^
/home/vagrant/build/net.vonforst.evmap/app/build/tmp/kapt3/stubs/fossNormalRelease/net/vonforst/evmap/ui/BindingAdaptersKt.java:165: warning: Application namespace for attribute app:valuesAttrChanged will be ignored.
    public static final java.util.List<java.lang.Float> getRangeSliderValue(@org.jetbrains.annotations.NotNull()
                                                        ^

> Task :app:compileFossNormalReleaseKotlin
e: /home/vagrant/build/net.vonforst.evmap/app/src/main/java/net/vonforst/evmap/viewmodel/MapViewModel.kt: (216, 73): Unresolved reference: fronyx_key

> Task :app:compileFossNormalReleaseKotlin FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:compileFossNormalReleaseKotlin'.
> A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction
   > Compilation error. See log for more details

ref: https://monitor.f-droid.org/builds/log/net.vonforst.evmap/138#site-footer

johan12345 commented 2 years ago

Ah yes, thanks for the heads-up! I need to add the API key to the F-Droid configuration. Will send a PR over there.

johan12345 commented 2 years ago

The build should be fixed by https://gitlab.com/fdroid/fdroiddata/-/merge_requests/12071 🙂