Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

1.8K
Views
Android Studio: no se pudo obtener la propiedad desconocida 'kotlin_version'

Después de la clonación de git desde aquí ,

Primero me enfrenté con este error:

 1: Task failed with an exception. ----------- * Where: Build file 'C:\...\voicegym\app\build.gradle' line: 3 * What went wrong: A problem occurred evaluating project ':app'. > Could not initialize class org.jetbrains.kotlin.gradle.internal.KotlinSourceSetProviderImplKt

siguiendo este consejo , los agregué a build.gradle (Project: voicegym)

 buildscript { ext.kotlinVersion = '1.3.72' // previously '1.2.60' ext.springBootVersion = '2.0.4.RELEASE' ext.anko_version='0.10.4' repositories { ... mavenCentral() } dependencies { classpath 'com.android.tools.build:gradle:4.1.1' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" } }

ahora tengo este error

 Build file 'C:\...\voicegym\build.gradle' line: 5 A problem occurred evaluating root project 'voicegym'. > Could not get unknown property 'kotlin_version' for object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.
over 4 years ago · Santiago Trujillo
3 answers
Answer question

0

después de experimentar, debería ser ext.kotlin_version=... en lugar de ext.kotlinVersion =...

 buildscript { ext.kotlin_version= '1.3.72' // previously '1.2.60' ext.springBootVersion = '2.0.4.RELEASE' ext.anko_version='0.10.4' repositories { ... mavenCentral() } dependencies { classpath 'com.android.tools.build:gradle:4.1.1' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" } }
over 4 years ago · Santiago Trujillo Report

0

Dentro del archivo android/build.gradle coloque el código debajo:

 buildscript { ext.kotlin_version = '1.5.31' repositories { google() mavenCentral() } dependencies { classpath 'com.android.tools.build:gradle:7.0.2' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" } }

Dentro del archivo app/build.gradle coloque el código debajo:

 dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" }
over 4 years ago · Santiago Trujillo Report

0

solo agrega ext.kotlin_version= "1.3.72" así

 buildscript { ext.kotlin_version = "1.3.72" repositories {

el error definitivamente se resolverá

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!