Q&A
kivy-launcherのapkを作成すべく、
Githubのkivy/kivy-launcherをforkし、派生ブランチのbuildozer.spec に、以下行を追加すると
Git Action のworkflows で実行する build が失敗します。
解決策をアドバイスいただけますでしょうか?
【追加行】
android.gradle_dependencies = "androidx.documentfile:documentfile:1.0.1" android.enable_androidx = True
【実行結果のエラーと予想される箇所の抜粋】20577行~
[DEBUG]: > Task :checkDebugAarMetadata FAILED [DEBUG]: [DEBUG]: FAILURE: Build failed with an exception. [DEBUG]: [DEBUG]: * What went wrong: [DEBUG]: Execution failed for task ':checkDebugAarMetadata'. [DEBUG]: > Could not resolve all files for configuration ':debugRuntimeClasspath'. [DEBUG]: > Could not find "androidx.documentfile:documentfile:1.0.1". [DEBUG]: Searched in the following locations: [DEBUG]: - https://dl.google.com/dl/android/maven2/"androidx/documentfile/documentfile/1.0.1"/documentfile-1.0.1".pom [DEBUG]: - https://jcenter.bintray.com/"androidx/documentfile/documentfile/1.0.1"/documentfile-1.0.1".pom [DEBUG]: - file:/github/workspace/.buildozer/android/platform/build-armeabi-v7a/dists/un_official_launcher/libs/documentfile-1.0.1".jar [DEBUG]: - file:/github/workspace/.buildozer/android/platform/build-armeabi-v7a/dists/un_official_launcher/libs/documentfile.jar [DEBUG]: Required by: [DEBUG]: project : [DEBUG]: [DEBUG]: * Try: [DEBUG]: > Run with --stacktrace option to get the stack trace. [DEBUG]: > Run with --info or --debug option to get more log output. [DEBUG]: > Run with --scan to get full insights. [DEBUG]: [DEBUG]: * Get more help at https://help.gradle.org [DEBUG]: [DEBUG]: Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0. [DEBUG]: [DEBUG]: You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins. [DEBUG]: [DEBUG]: See https://docs.gradle.org/7.4.1/userguide/command_line_interface.html#sec:command_line_warnings [DEBUG]: [DEBUG]: BUILD FAILED in 36s [DEBUG]: 3 actionable tasks: 3 executed
回答1件
下記のような回答は推奨されていません。
このような回答には修正を依頼しましょう。
2022/08/10 00:47