NativeScript / NativeScript/android

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

Offen
#1,648 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Vorherrschende Sprache
C++
Sterne
563
Forks
144
Ø Merge
10 Std. 46 Min.
Gemergte PRs (30 T.)
14

Beschreibung

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?

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Beginne mit dem gemeldeten Fehler in platforms/android/app/build.gradle in Zeile 33 und überprüfe dann die Versionen der NativeScript- und Android-Komponenten anhand von tns info oder package.json. Reproduziere den Fehler sowohl im alten Projekt als auch in einem neuen Hello World-Projekt. Als erledigt gilt die Aufgabe, wenn der Android-Build das application plugin auflöst und erfolgreich abgeschlossen wird.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
android
Bereich
build-system, mobile-dev
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
28/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.