🙂 İNSANLARIN EN HAYIRLISI INSANLARA FAYDALI OLANDIR 🙂

Ramazan HABER / FLUTTER / android app build gradle properties bulunamadı hatası ve GradleException

1-) FLUTTER - android app build gradle properties bulunamadı hatası ve GradleException

 

ext.kotlin_version = '1.9.0' yaparsan çözülebilir

 

 

distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-all.zip

 

 

buildscript {
    
ext.kotlin_version = '1.7.10'
    
repositories {
        
google()
        mavenCentral()
    
}

    
dependencies {
        
classpath 'com.android.tools.build:gradle:7.4.2'
        
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
        
classpath 'com.google.gms:google-services:4.3.15'
    
}
}

 

 

 

 

 

 

 

This issue is due to not pointing to correct Android API Platform

Solution :

In the Android Studio File > Project Structure

  1. Now a window pops up
  2. Within that select Project Settings/Project
  3. Make sure Project SDK is set to latest platform as mentioned in the pic below
  4.  

enter image description here

  1. Next select Project Settings/Modules sub tab
  2. There select the lastest Android SDK as you did in step-3

enter image description here

  1. Finally replace the GradleException() with FileNotFoundException() as mentioned below

enter image description here

 

kaynak : https://stackoverflow.com/questions/56938436/first-flutter-app-error-cannot-resolve-symbol-properties

 

 2023 Kasım 23 Perşembe
 442