NativeScript / NativeScript/android

Plugin with id 'com.android.application' not found.

オープン
#1,648 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
C++
スター
563
フォーク
144
平均マージ
10時間 46分
マージ済み PR(30日)
14

説明

Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):
Update available for component nativescript. Your current version is 6.8.0 and the latest available version is 7.0.11.
‼ Update available for component tns-core-modules. Your current version is 6.5.8 and the latest available version is 6.5.21.
√ Component tns-android has 6.5.3 version and is up to date.

Describe the bug
Until about 1-2 months ago i can use nativescript without problem, today i try to build an old project and i receive this error:

  • Where:
    Build file '[cut]\platforms\android\app\build.gradle' line: 33

  • What went wrong:
    A problem occurred evaluating project ':app'.

Plugin with id 'com.android.application' not found.

So i tried to build an "hello world" project and i receive the same error. What happened? In these 2 months i start to coding in Native Android Studio. Is possible i changed something?

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

platforms/android/app/build.gradle の 33 行目で報告されている失敗から始め、次に tns info または package.json で NativeScript と Android のコンポーネントのバージョンを確認します。古いプロジェクトと新しい Hello World プロジェクトの両方でエラーを再現します。Android ビルドで application plugin が解決され、正常に完了すれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
android
領域
build-system, mobile-dev
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
28/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。