• Register
0 votes
101 views

Problem :

Facing following error related to class path
error:could not determine the class-path for interface com.android.builder.model.androidproject.
6 5 3
6,930 points

Please log in or register to answer this question.

1 Answer

0 votes

Solution :

Recently i have faced the same problem.

Change the classpath in build.gradle file to

classpath 'com.android.tools.build:gradle:2.3.0'

Now go to gradle-wrapper.properties, and change its distributionUrl

distributionUrl=http://services.gradle.org/distributions/gradle-3.3-all.zip

and lastly rebuild the project. 

It resolved my issue.

9 7 4
38,600 points

Related questions

0 votes
1 answer 129 views
129 views
Problem: I have recently started working on Android Project. I have managed to gain only basic knowledge related to Android Programming with the help of online tutorials. After trying to import my Eclipse project into the android Studio then I had ... (); public static SetContentView setContentView; public static Activity activity; public static Context context; public static boolean wait = true;
asked Jul 15, 2020 Raphael Pacheco 4.9k points
0 votes
1 answer 7 views
7 views
Problem: Why I got the error > Exception in thread main java.lang.error unresolved compilation problem in eclipse
asked Apr 26 ummeshani 10.8k points
0 votes
1 answer 5 views
5 views
Problem: Task :processDebugResources Failed to execute aapt com.android.ide.common.process.ProcessException: Failed to execute aapt at com.android.builder.core.AndroidBuilder.processResources(AndroidBuilder.java:796) at com.android.build.gradle.tasks.ProcessAndroidResources.invokeAaptForSplit( ... AAPT2 logs be saved? While migrating to gradle-plugin-3.0.0, I am getting this exception.
asked Apr 25 sumaiya simi 43.9k points
0 votes
1 answer 12 views
12 views
Problem: I get the following error while running tns run android: Error: java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.v2.Aapt2Exception: AAPT2 error: check logs for details FAILURE: Build failed with an exception. * What went ... > Error: java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.v2.Aapt2Exception: AAPT2 error: check logs for details
asked Apr 22 nabin shrestha 4.3k points
0 votes
1 answer 3 views
3 views
Problem: I tried to enable/disable multiDexEnabled in my build.gradle but nothing helped.Any suggestions.
asked Apr 26 Humaira ahmed 50.7k points
0 votes
1 answer 5 views
5 views
Problem: I made: In "Settings"->"Android SDK"->"SDK Tools" Google Play services is checked and installed v.46 Removed folder /.gradle "Clean Project" "Rebuild Project Error is: Error:Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'. > ... plugin: 'com.google.gms.google-services' testCompile 'junit:junit:4.12' } apply plugin: 'com.google.gms.google-services'
asked Apr 26 anika11 32.2k points
0 votes
1 answer 9 views
9 views
Problem: After updating my dependency versions in AndroidStudio3.1, I started getting the following error: Information:Gradle tasks [:app:assembleDebug] Error:com.android.builder.dexing.DexArchiveBuilderException: Failed to process C:\Users\Blabla\.gradle\caches\modules-2\files-2.1\com. ... my "multiDexEnabled true" and 'compile 'com.android.support:multidex:1.0.2' is added. What else can I do?
asked Apr 25 Humaira ahmed 50.7k points
0 votes
1 answer 15 views
15 views
Problem: Don't know how to solve this error> com.android.builder.dexing.dexarchivemergerexception: unable to merge dex
asked Mar 19 Azlan2020 2.4k points
0 votes
1 answer 44 views
44 views
Problem: Getting this error > com.android.builder.testing.api.deviceexception: no connected devices!
asked Mar 19 Azlan2020 2.4k points
0 votes
1 answer 110 views
110 views
Problem : I have the Android Studio Beta. I have created the new project with compiling my old modules but when I tried launching my app it did not launch and it gave me the below message: Error:Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'. com ... merge dex But I am unable to know how to fix above error. I researched on this for hours but with no success.
asked Jan 31, 2020 jwilliam 3.9k points