Pradeep Sharma
Feb 23, 2023

In my android/build.gradle file I change this:

buildscript {

ext {

// ...

kotlin_version = '1.6.10' // <- add this line

}

dependencies {

// ...

classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" // <- add this line

// ...

}

}

and I also add increased the memory in android/gradle.properties:

org.gradle.jvmargs=-Xmx2048m -XX:MaxMetaspaceSize=512m

With this, I was able to run and work again.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Pradeep Sharma
Pradeep Sharma

Written by Pradeep Sharma

React Native, JavaScript, TypeScript

No responses yet

Write a response