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

368
Views
cannot start android on intellij

I am new to android development. I am trying to start a "hello world" project for an android app following the google android fundamentals course.

I believe i have the android plugin correctly installed. I keep getting the

error: Failed to resolve: org.jetbrains.kotlin:kotlin-stdlib-jre7:1.3.21

The code in my hello world app is:

buildscript {
ext.kotlin_version = '1.3.21'
repositories {
    google()
    jcenter()
    }
    dependencies {
    classpath 'com.android.tools.build:gradle:3.1.0'
    //classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.21"
    classpath "org.jetbrains.kotlin:kotlin-stdlib:1.3.21"
    //classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"

    // NOTE: Do not place your application dependencies here; they belong
    // in the individual module build.gradle files
    }
}

allprojects {
    repositories {
    google()
    jcenter()
    }
}

task clean(type: Delete) {
delete rootProject.buildDir
over 4 years ago · Santiago Trujillo
2 answers
Answer question

0

You need to replace jre by jdk as suggested by EpicPandaForce:

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

0

Replace jre by jdk.

Previous:

implementation"org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version"

After Replace:

implementation"org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
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!