Execution Failed for task app compileDebugJavaWithJavac in Android Studio

0 votes

I am developing an Android App in Android Studio. Not quite sure what went wrong. I was successfully building a few days ago. Any help would be great.

Here is the error:

Error:Execution failed for task ':app:compileDebugJavaWithJavac'. 
> Compilation failed; see the compiler error output for details. 

* What went wrong: 
Execution failed for task ':app:compileDebugJavaWithJavac'. 
> Compilation failed; see the compiler error output for details.




Here is my build.gradle

apply plugin: 'com.android.application' 

android { 
compileSdkVersion 23 
buildToolsVersion "21.1.2" 

defaultConfig { 
                          multiDexEnabled true 
                          applicationId "com.tubbs.citychurchob" 
                          minSdkVersion 14 
                          targetSdkVersion 23 
                          versionCode 1 
                          versionName "1.0" 
} 


buildTypes { 
            release { 
              minifyEnabled false 
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 
  } 
} 
} 

dependencies { 
compile fileTree(dir: 'libs', include: ['*.jar']) 
compile fileTree(dir: 'libs', include: 'Parse-*.jar') 
compile 'com.android.support:appcompat-v7:23.1.0' 
compile 'com.android.support:cardview-v7:23.1.0' 
compile 'com.parse.bolts:bolts-android:1+' 
compile 'com.android.support:recyclerview-v7:23.1.0' 

}
Feb 17, 2022 in Java by Rahul
• 9,670 points
12,516 views

1 answer to this question.

0 votes

In Android Studio 3.1, you can see the errors details in the Build window.

Open up the Build tab. Despite them being somewhat hidden, you have to expand the Java compiler node. You will see the errors there.

enter image description here

But there is a better way to see the errors by clicking on the Toggle View button to get a better view of the error in which way you don't have to expand each node.

enter image description here

answered Feb 17, 2022 by Aditya
• 7,680 points

Related Questions In Java

0 votes
1 answer

To use JavaMail API for sending mails in Android without using the default/built-in App

ADD 3 jars found in the following ...READ MORE

answered Jun 6, 2018 in Java by sridhar
• 160 points
1,239 views
0 votes
1 answer

Sending Email in Android using JavaMail API without using the default/built-in app

Send e-mail in Android using the JavaMail ...READ MORE

answered Dec 4, 2018 in Java by Daisy
• 8,120 points
3,147 views
0 votes
1 answer

I am learning looping statements. Can you tell me how 'for-each' works in Java?

While programming we often write code that ...READ MORE

answered Apr 17, 2018 in Java by Rishabh
• 3,620 points
659 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
3,439 views
+2 votes
1 answer
0 votes
1 answer

nodemon command is not recognized in terminal for node js server

You need to install it globally npm install ...READ MORE

answered Feb 17, 2022 in Java by Aditya
• 7,680 points
6,723 views
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP