NativeScript / NativeScript/android

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

Đang mở
#1,648 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Ngôn ngữ chính
C++
Star
563
Fork
144
Merge trung bình
10 giờ 46 phút
Pull request đã merge (30 ngày)
14

Mô tả

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?

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Bắt đầu với lỗi đã được báo cáo trong platforms/android/app/build.gradle ở dòng 33, sau đó kiểm tra các phiên bản thành phần NativeScript và Android từ tns info hoặc package.json. Tái hiện lỗi trong cả dự án cũ và một dự án Hello World mới. Được xem là hoàn tất khi bản build Android phân giải application plugin và hoàn thành thành công.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
android
Lĩnh vực
build-system, mobile-dev
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
28/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.