"No package name found"

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

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

Đánh giá

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

Hướng nghiên cứu

Bắt đầu bằng cách xem xét commit 6439f6858110fe79b7f9260b91f84dfd6e0e904d và việc phân tích tên package cho node_modules/react-native-navigation/lib/android/app/build.gradle cùng AndroidManifest.xml của nó. Tái hiện với React Native Navigation 7.40.1 và React Native 0.70.15; hoàn thành khi bản build không còn báo “No package name found.”

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

Mô tả

needs triage type: accepted/bug
What happened?

After upgrading react-native-navigation from 7.39.2 to 7.40.1, builds with React Native 0.70.x (or older?) fail:

error Failed to build the app: No package name found. We couldn't parse the namespace from neither your build.gradle[.kts] file at node_modules/react-native-navigation/lib/android/app/build.gradle nor your package in the AndroidManifest at node_modules/react-native-navigation/lib/android/app/src/main/AndroidManifest.xml.

This breaking change appears to have been introduced in https://github.com/wix/react-native-navigation/commit/6439f6858110fe79b7f9260b91f84dfd6e0e904d.

What was the expected behaviour?

No response

Was it tested on latest react-native-navigation?
  • I have tested this issue on the latest react-native-navigation release and it still reproduces.
Help us reproduce this issue!

No response

In what environment did this happen?

React Native Navigation version: 7.40.1
React Native version: 0.70.15
Node version: 18.19.0

Ngôn ngữ chính
MDX
Star
13.2k
Fork
2.6k
Merge trung bình
3 giờ 21 phút
Pull request đã merge (30 ngày)
5

Chuẩn bị môi trường

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.

Issue khác của wix/react-native-navigation

Tất cả issue của wix/react-native-navigation

Issue tương tự

Thêm issue về Build System

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.