A problem occurred configuring root project 'background_http'. Failed to build plugin @nativescript/background-http :

Aberta
#601 0 comentários 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
25/100
Tipo de issue
Bug
Clareza
Precisa de esclarecimento
Status de atividade
Estagnada
Stack de tecnologia
android
Domínio
build-system, mobile

Direção de pesquisa

Comece revisando os arquivos anexados app.gradle.txt, build.gradle e package.json junto com a saída do build do Android. Reproduza o build de @nativescript/background-http e investigue as falhas relatadas de namespace e generateReleaseBuildConfig. A tarefa estará concluída quando o plugin for compilado com sucesso usando a configuração de projeto informada.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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

package.json
app.gradle.txt

Linguagem predominante
TypeScript
Estrelas
206
Forks
123
Merge médio
2d 1h
PRs com merge (30d)
1

Guia de contribuição

Abrir o guia de contribuição

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de NativeScript/plugins

Todas as issues de NativeScript/plugins

Issues semelhantes

Mais issues de TypeScript

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.