Problem in ubuntu, cant build android app

/build.gradle’ line: 10

  • What went wrong: A problem occurred evaluating project ‘:GradleApplication’. Cause: org/gradle/internal/reflect/Instantiator Cause: org.gradle.internal.reflect.Instantiator

How to fix this? please help

It will be kind of hard to debug your issue without seeing your code. Would you mind making it available? Also try to run the task with the -s flag to retrieve the stack trace.

Thanx, I fixed this, I think problem was with “sudo” PATH setting or some conflicts

in my 10 line was: apply plugin “android”