Java Android Studio en basit kod bile çalışmıyor

MehmetAli001

Hectopat
Katılım
5 Şubat 2022
Mesajlar
6
Daha fazla  
Cinsiyet
Erkek
Merhaba arkadaşlar Kotlin programlama diline yeni başladım. Android Studio da yazdığım en basit kod bile çalışmıyor şöyle bir uyarı alıyorum. Bilgisi olan arkadaşlar yardımcı olurlarsa çok sevinirim.
Yazdığım kod şu şekilde:
fun main() {
frintln("merhaba dunya")
}
2 issues were found when checking aar metadata:

1. dependency 'androidx. Core:core:1.12.0-Alpha05' requires libraries and applications that.
Depend on it to compile against version 34 or later of the.
Android apıs.

:App is currently compiled against Android-33.

Also, the maximum recommended compile SDK version for Android gradle.
Plugin 8.0.2 is 33.

Recommended Action: Update this project's version of the Android gradle.
Plugin to One that supports 34, then Update this project to use.
Compilesdk of at least 34.

Note that updating a library or application's compilesdk (which
Allows newer apıs to be used) can be done separately from updating.
Targetsdk (which opts the App in to New runtime behavior) and.
Minsdk (which determines which devices the App can be installed.
On).

2. dependency 'androidx. Core: Core-ktx:1.12.0-Alpha05' requires libraries and applications that.
Depend on it to compile against version 34 or later of the.
Android apıs.

:App is currently compiled against Android-33.

Also, the maximum recommended compile SDK version for Android gradle.
Plugin 8.0.2 is 33.

Recommended Action: Update this project's version of the Android gradle.
Plugin to One that supports 34, then Update this project to use.
Compilesdk of at least 34.
 
Dependencylerin ile android build versiyonun tutmuyor. Android 34 veya sonrasına göre build etmen gerekecek yoksa kullandığın dependencyler çalışmayacak. Ya da bu dependencylerin Android 33 ve öncesi ile uyumlu versiyonunu bulman gerekiyor. Nasıl yapılır bilmiyorsan Kotlin dilinden önce android geliştirme ortamları hakkında, dependency nedir, gradle gibi build otomasyonu nedir vb. hakkında biraz araştırma yapmalısın öncelikle, kendin bulur ve anlarsan öğrenirsin.
 

Technopat Haberler

Geri
Yukarı