Error while building app on android
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 30/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, kotlin
- Lĩnh vực
- build-system, mobile
Hướng nghiên cứu
Start by reviewing the Android build configuration that sets compileSdkVersion and ext.kotlin_version, then inspect BlueMS/src/main/java/com/st/BlueMS/demos/HighSpeedDataLog/tagging/HSDTaggingViewModel.kt around line 167. Reproduce the build with the reported dependency versions and resolve the SDK and Kotlin compatibility errors without leaving the maxBy reference unresolved.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Hi, I am trying to build and install this source code on android but getting below error.
The minCompileSdk (31) specified in a
dependency's AAR metadata (META-INF/com/android/build/gradle/aar-metadata.properties)
is greater than this module's compileSdkVersion (android-29).
If I change compileSdkVersion to 31, then getting kotlin version mismatch errro
/.gradle/caches/transforms-3/0453560b92b97629cdc21df2bfebd566/transformed/jetified-core-ktx-1.9.0-alpha02-api.jar!/META-INF/core-ktx_release.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.1.16.
and if I change ext.kotlin_version = '1.6.0' getting this error
/STBlueMS_Android/BlueMS/src/main/java/com/st/BlueMS/demos/HighSpeedDataLog/tagging/HSDTaggingViewModel.kt: (167, 45): Unresolved reference: maxBy
/STBlueMS_Android/BlueMS/src/main/java/com/st/BlueMS/demos/HighSpeedDataLog/tagging/HSDTaggingViewModel.kt: (167, 53): Unresolved reference: it
- Ngôn ngữ chính
- Kotlin
- Star
- 132
- Fork
- 73
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của STMicroelectronics/STBLESensor_Android
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 20/100
-
How to Perform Node Emulator? Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
STMicroelectronics/STBLESensor_Android#21 · 1 bình luận ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
STMicroelectronics/STBLESensor_Android#17 · 6 bình luận ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
STMicroelectronics/STBLESensor_Android#15 · 1 bình luận ·
Tất cả issue của STMicroelectronics/STBLESensor_Android
Issue tương tự
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
-
index-request triaged
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Anthonyy232/Paperize#614 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
bitcoindevkit/bdk-ffi#1125 ·
-
🌑 nextgen
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
CCBlueX/LiquidBounce#9214 · 1 bình luận ·