A problem occurred configuring root project 'background_http'. Failed to build plugin @nativescript/background-http :
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 25/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- android
- 領域
- build-system, mobile
調査の方向性
まず、添付された app.gradle.txt、build.gradle、package.json を Android ビルド出力と併せて確認します。@nativescript/background-http のビルドを再現し、報告されている namespace および generateReleaseBuildConfig の失敗を調査します。報告されたプロジェクト設定でプラグインのビルドが正常に成功すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
I got this issue while generating build
build.gradle and package.json has been attached
- What went wrong:
A problem occurred configuring root project 'background_http'.
Failed to notify project evaluation listener.
Could not create an instance of type com.android.build.api.variant.impl.LibraryVariantBuilderImpl.
> Namespace not specified. Specify a namespace in the module's build file. See https://d.android.com/r/tools/upgrade-assistant/set-namespace for information about setting the namespace.
If you've specified the package attribute in the source AndroidManifest.xml, you can use the AGP Upgrade Assistant to migrate to the namespace value in the build file. Refer to https://d.android.com/r/tools/upgrade-assistant/agp-upgrade-assistant for general information about using the AGP Upgrade Assistant.
Could not get unknown property 'generateReleaseBuildConfig' for root project 'background_http' of type org.gradle.api.Project.
- Try:
Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
Get more help at https://help.gradle.org.
BUILD FAILED in 25s
Failed to build plugin @nativescript/background-http :
Error: Command gradlew.bat failed with exit code 1
- 主要言語
- TypeScript
- スター
- 206
- フォーク
- 123
- 平均マージ
- 2日 1時間
- マージ済み PR(30日)
- 1
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
NativeScript/plugins のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
NativeScript/plugins#680 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
NativeScript/plugins#671 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
NativeScript/plugins#640 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
NativeScript/plugins#668 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
NativeScript/plugins#665 · コメント 1 件 ·
NativeScript/plugins の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
-
check:passed streams:add
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100