I have downloaded a project from github and I'm trying to add some classes my own. When I add them I get this error:
org.gradel.api.tasks.TaskExecutionException: Execution failed for task ':app:compileDebugJavaWithJavac'.
<29 internal calls>
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:617)
Caused by: org.gradel.api.internal.tasks.compile.CompilationFailedException: Complilation failed; see the compiler error
output for details <11 internal calls>
at com.android.build.gradle.tasks.factory.AndroidJavaCompile.compile(AndroidJavaCompile.java:125) <12 internal calls>
... 32 more
Any ideas why is this happening?Sorry if it's stupid but I'm new to this!
Actually you have upgraded AS so you are not aware of new UI in latest ASv3.
You have clear errors inside JavaCompiler > C/projects/social-app-android
You have 5 errors, once you click that to expand you will be able to find the errors in classes.