Error while building app on android
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 30/100
- Tipo di issue
- Bug
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- android, kotlin
- Ambito
- build-system, mobile
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Lingua principale
- Kotlin
- Stelle
- 132
- Fork
- 73
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di STMicroelectronics/STBLESensor_Android
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 20/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
STMicroelectronics/STBLESensor_Android#21 · 1 commento ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
STMicroelectronics/STBLESensor_Android#17 · 6 commenti ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
STMicroelectronics/STBLESensor_Android#15 · 1 commento ·
Tutte le issue di STMicroelectronics/STBLESensor_Android
Issue simili
-
Bug Java Platform: Java
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
getsentry/sentry-java#6138 · 1 commento ·
-
Icon Requests Apertasupported
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
LawnchairLauncher/lawnicons#4100 ·
-
cr:missing-repro cr:platform:android platform:android repro-provided
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
software-mansion/react-native-screens#4699 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
-
Good First Issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
ankidroid/Anki-Android#21942 ·