f-leoni / lyrics2

A flutter app to search songs' lyrics
GNU General Public License v3.0
17 stars 1 forks source link

F-Droid can't build #6

Closed licaon-kter closed 1 year ago

licaon-kter commented 1 year ago

dcd046de88f02ac2350a34919b72a66db5d36f60

💪 Building with sound null safety 💪

Running Gradle task 'assembleRelease'...                        
Note: /home/vagrant/build/it.zitzusoft.lyrics_2/.pub-cache/hosted/pub.dartlang.org/flutter_mailer-2.0.1/android/src/main/java/com/dataxad/flutter_mailer/FlutterMailerPlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
e: /home/vagrant/build/it.zitzusoft.lyrics_2/.pub-cache/hosted/pub.dartlang.org/flutter_acrcloud-0.1.6/android/src/main/kotlin/com/nrubintech/flutter_acrcloud/FlutterAcrcloudPlugin.kt: (10, 12): Unresolved reference: acrcloud
e: /home/vagrant/build/it.zitzusoft.lyrics_2/.pub-cache/hosted/pub.dartlang.org/flutter_acrcloud-0.1.6/android/src/main/kotlin/com/nrubintech/flutter_acrcloud/FlutterAcrcloudPlugin.kt: (11, 12): Unresolved reference: acrcloud
e: /home/vagrant/build/it.zitzusoft.lyrics_2/.pub-cache/hosted/pub.dartlang.org/flutter_acrcloud-0.1.6/android/src/main/kotlin/com/nrubintech/flutter_acrcloud/FlutterAcrcloudPlugin.kt: (12, 12): Unresolved reference: acrcloud
e: /home/vagrant/build/it.zitzusoft.lyrics_2/.pub-cache/hosted/pub.dartlang.org/flutter_acrcloud-0.1.6/android/src/main/kotlin/com/nrubintech/flutter_acrcloud/FlutterAcrcloudPlugin.kt: (13, 12): Unresolved reference: acrcloud
e: /home/vagrant/build/it.zitzusoft.lyrics_2/.pub-cache/hosted/pub.dartlang.org/flutter_acrcloud-0.1.6/android/src/main/kotlin/com/nrubintech/flutter_acrcloud/FlutterAcrcloudPlugin.kt: (42, 32): Unresolved reference: ACRCloudConfig
e: /home/vagrant/build/it.zitzusoft.lyrics_2/.pub-cache/hosted/pub.dartlang.org/flutter_acrcloud-0.1.6/android/src/main/kotlin/com/nrubintech/flutter_acrcloud/FlutterAcrcloudPlugin.kt: (43, 32): Unresolved reference: ACRCloudClient
e: /home/vagrant/build/it.zitzusoft.lyrics_2/.pub-cache/hosted/pub.dartlang.org/flutter_acrcloud-0.1.6/android/src/main/kotlin/com/nrubintech/flutter_acrcloud/FlutterAcrcloudPlugin.kt: (91, 14): Unresolved reference: ACRCloudConfig
e: /home/vagrant/build/it.zitzusoft.lyrics_2/.pub-cache/hosted/pub.dartlang.org/flutter_acrcloud-0.1.6/android/src/main/kotlin/com/nrubintech/flutter_acrcloud/FlutterAcrcloudPlugin.kt: (93, 12): Variable expected
e: /home/vagrant/build/it.zitzusoft.lyrics_2/.pub-cache/hosted/pub.dartlang.org/flutter_acrcloud-0.1.6/android/src/main/kotlin/com/nrubintech/flutter_acrcloud/FlutterAcrcloudPlugin.kt: (94, 12): Variable expected
e: /home/vagrant/build/it.zitzusoft.lyrics_2/.pub-cache/hosted/pub.dartlang.org/flutter_acrcloud-0.1.6/android/src/main/kotlin/com/nrubintech/flutter_acrcloud/FlutterAcrcloudPlugin.kt: (96, 12): Variable expected
e: /home/vagrant/build/it.zitzusoft.lyrics_2/.pub-cache/hosted/pub.dartlang.org/flutter_acrcloud-0.1.6/android/src/main/kotlin/com/nrubintech/flutter_acrcloud/FlutterAcrcloudPlugin.kt: (96, 29): Not enough information to infer type variable T
e: /home/vagrant/build/it.zitzusoft.lyrics_2/.pub-cache/hosted/pub.dartlang.org/flutter_acrcloud-0.1.6/android/src/main/kotlin/com/nrubintech/flutter_acrcloud/FlutterAcrcloudPlugin.kt: (97, 12): Variable expected
e: /home/vagrant/build/it.zitzusoft.lyrics_2/.pub-cache/hosted/pub.dartlang.org/flutter_acrcloud-0.1.6/android/src/main/kotlin/com/nrubintech/flutter_acrcloud/FlutterAcrcloudPlugin.kt: (97, 32): Not enough information to infer type variable T
e: /home/vagrant/build/it.zitzusoft.lyrics_2/.pub-cache/hosted/pub.dartlang.org/flutter_acrcloud-0.1.6/android/src/main/kotlin/com/nrubintech/flutter_acrcloud/FlutterAcrcloudPlugin.kt: (98, 12): Variable expected
e: /home/vagrant/build/it.zitzusoft.lyrics_2/.pub-cache/hosted/pub.dartlang.org/flutter_acrcloud-0.1.6/android/src/main/kotlin/com/nrubintech/flutter_acrcloud/FlutterAcrcloudPlugin.kt: (98, 24): Not enough information to infer type variable T
e: /home/vagrant/build/it.zitzusoft.lyrics_2/.pub-cache/hosted/pub.dartlang.org/flutter_acrcloud-0.1.6/android/src/main/kotlin/com/nrubintech/flutter_acrcloud/FlutterAcrcloudPlugin.kt: (100, 27): Variable expected
e: /home/vagrant/build/it.zitzusoft.lyrics_2/.pub-cache/hosted/pub.dartlang.org/flutter_acrcloud-0.1.6/android/src/main/kotlin/com/nrubintech/flutter_acrcloud/FlutterAcrcloudPlugin.kt: (101, 27): Variable expected
e: /home/vagrant/build/it.zitzusoft.lyrics_2/.pub-cache/hosted/pub.dartlang.org/flutter_acrcloud-0.1.6/android/src/main/kotlin/com/nrubintech/flutter_acrcloud/FlutterAcrcloudPlugin.kt: (102, 27): Variable expected
e: /home/vagrant/build/it.zitzusoft.lyrics_2/.pub-cache/hosted/pub.dartlang.org/flutter_acrcloud-0.1.6/android/src/main/kotlin/com/nrubintech/flutter_acrcloud/FlutterAcrcloudPlugin.kt: (103, 12): Variable expected
e: /home/vagrant/build/it.zitzusoft.lyrics_2/.pub-cache/hosted/pub.dartlang.org/flutter_acrcloud-0.1.6/android/src/main/kotlin/com/nrubintech/flutter_acrcloud/FlutterAcrcloudPlugin.kt: (103, 23): Unresolved reference: ACRCloudConfig
e: /home/vagrant/build/it.zitzusoft.lyrics_2/.pub-cache/hosted/pub.dartlang.org/flutter_acrcloud-0.1.6/android/src/main/kotlin/com/nrubintech/flutter_acrcloud/FlutterAcrcloudPlugin.kt: (105, 14): Unresolved reference: ACRCloudClient
e: /home/vagrant/build/it.zitzusoft.lyrics_2/.pub-cache/hosted/pub.dartlang.org/flutter_acrcloud-0.1.6/android/src/main/kotlin/com/nrubintech/flutter_acrcloud/FlutterAcrcloudPlugin.kt: (115, 37): Unresolved reference: IACRCloudListener
e: /home/vagrant/build/it.zitzusoft.lyrics_2/.pub-cache/hosted/pub.dartlang.org/flutter_acrcloud-0.1.6/android/src/main/kotlin/com/nrubintech/flutter_acrcloud/FlutterAcrcloudPlugin.kt: (116, 5): 'onResult' overrides nothing
e: /home/vagrant/build/it.zitzusoft.lyrics_2/.pub-cache/hosted/pub.dartlang.org/flutter_acrcloud-0.1.6/android/src/main/kotlin/com/nrubintech/flutter_acrcloud/FlutterAcrcloudPlugin.kt: (116, 35): Unresolved reference: ACRCloudResult
e: /home/vagrant/build/it.zitzusoft.lyrics_2/.pub-cache/hosted/pub.dartlang.org/flutter_acrcloud-0.1.6/android/src/main/kotlin/com/nrubintech/flutter_acrcloud/FlutterAcrcloudPlugin.kt: (122, 5): 'onVolumeChanged' overrides nothing

FAILURE: Build failed with an exception.

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

/LE: https://gitlab.com/fdroid/fdroiddata/-/commit/ff0cac7fcb65f4759a09114526feaa14dba16771

linsui commented 1 year ago
2023-01-15 14:37:51,103 INFO: Removing Java JAR file at .pub-cache/hosted/pub.dartlang.org/flutter_acrcloud-0.1.6/android/libs/acrcloud-universal-sdk-1.2.20.jar
2023-01-15 14:37:51,104 INFO: Removing shared library at .pub-cache/hosted/pub.dartlang.org/flutter_acrcloud-0.1.6/android/libs/armeabi-v7a/libACRCloudUniversalEngine.so
2023-01-15 14:37:51,104 INFO: Removing shared library at .pub-cache/hosted/pub.dartlang.org/flutter_acrcloud-0.1.6/android/libs/x86_64/libACRCloudUniversalEngine.so
2023-01-15 14:37:51,105 INFO: Removing shared library at .pub-cache/hosted/pub.dartlang.org/flutter_acrcloud-0.1.6/android/libs/armeabi/libACRCloudUniversalEngine.so
2023-01-15 14:37:51,105 INFO: Removing shared library at .pub-cache/hosted/pub.dartlang.org/flutter_acrcloud-0.1.6/android/libs/mips64/libACRCloudUniversalEngine.so
2023-01-15 14:37:51,106 INFO: Removing shared library at .pub-cache/hosted/pub.dartlang.org/flutter_acrcloud-0.1.6/android/libs/mips/libACRCloudUniversalEngine.so
2023-01-15 14:37:51,106 INFO: Removing shared library at .pub-cache/hosted/pub.dartlang.org/flutter_acrcloud-0.1.6/android/libs/x86/libACRCloudUniversalEngine.so
2023-01-15 14:37:51,107 INFO: Removing shared library at .pub-cache/hosted/pub.dartlang.org/flutter_acrcloud-0.1.6/android/libs/arm64-v8a/libACRCloudUniversalEngine.so

These libs are copied from https://github.com/acrcloud/ACRCloudUniversalSDK which is obviously not FOSS.

f-leoni commented 1 year ago

Yes, I messed up creating a tag. Now it should build again