Linked Questions
28 questions linked to/from Android Studio - UNEXPECTED TOP-LEVEL EXCEPTION:
120 votes
19 answers
103k views
Using ViewPagerIndicator library with Android Studio and Gradle
I'm trying to use Jake Wharton's ViewPagerIndicator library, but I'm unable to get it working with my Gradle project in Android Studio. I add it as a dependency like so: dependencies { /...
58 votes
1 answer
60k views
gradle - library duplicates in dependencies
I have an Android project with gradle. The problem is: In project view I see few versions of support-v4 libraries, for example support-v4-21.0.3 and support-v4-22.2.0. But in build.gradle I don't ...
10 votes
8 answers
12k views
Execution failed for task ':app:dexDebug' Android Studio
The application was able to execute before updating my android studio,this is the error I am getting: Error:Execution failed for task ':app:dexDebug'. > com.android.ide.common.process....
6 votes
3 answers
14k views
Gradle build failure when trying to use Facebook SDK
I am trying to use the Facebook SDK in a project in Android Studio. I am following step 3 of this tutorial. When I try to Run the app, I get a "Gradle: Execution failed for task ':FacebookApp:dexDebug'...
3 votes
2 answers
3k views
Execution failed for task ':tweetLanes:dexDebug'
I am using Android Studio to run this code, get the error: *Error:Execution failed for task ':tweetLanes:dexDebug'. com.android.ide.common.process.ProcessException: org.gradle.process.internal....
3 votes
1 answer
3k views
UNEXPECTED TOP-LEVEL EXCEPTION: Multiple dex files define
I've added a third lib to my android project. And when I pack it by ant, some errors occur: [dx] UNEXPECTED TOP-LEVEL EXCEPTION: [dx] com.android.dex.DexException: Multiple dex files define ...
9 votes
2 answers
12k views
Gradle Execution failed for task ':app:dexDebug' with new Android Studio Project
I newly installed Android started a new default project. Everytime I try to start the app this error occurs: Error:Execution failed for task ':app:dexDebug'. com.android.ide.common.internal....
2 votes
1 answer
3k views
Can't add both Google Play Services and Appcompat-v7 dependencies
I am trying to clean up and update the libraries on a project. As part of this I moved from using the classic library folder dependency to one through gradle, for Google Play Services. I started ...
2 votes
1 answer
2k views
Android Testing: Multiple dex files define Lorg/hamcrest/Description;
I encounter the following runtime errors when doing the instrumentation test. Unknown source file : UNEXPECTED TOP-LEVEL EXCEPTION: Unknown source file : com.android.dex.DexException: Multiple dex ...
-1 votes
1 answer
2k views
Android Studio - Could not find com.parse.bolts:bolts-android:1.2.0
I am trying to incluide FaceBook Sdk 4.2 in my app. When I import this module , it´s all rigth, but when my app run the following occurs: Error:A problem occurred configuring project ':Glam Main'. &...
0 votes
1 answer
2k views
android studio . Error:Execution failed for task ':app:dexDebug'
This project in github https://github.com/RoyWallace/Instagram It's a android studio project,I run this project meet difficult.It can't run in mobliephone. this is bulid.gradle(Project :Instagram-...
-1 votes
1 answer
1k views
Including iTextG in an Android Project using Android Studio
I'm getting the following error when including iTextG in Android Studio, com.android.dex.DexException: Multiple dex files define Lcom/itextpdf/awt/geom/AffineTransform; at com.android.dx.merge....
1 vote
1 answer
1k views
Android Unexpected Top-Level Exception and Verify Error
I'm trying to put together an Android application which uses a library that uses IKVM, and so I need to include mscorlib.jar. The problem is this. When I add the mscorlib.jar as a module dependency (...
-4 votes
1 answer
1k views
Error in android studio java
please help us.. we cant find whats wrong.. Error:Android Dex: [DDSK] UNEXPECTED TOP-LEVEL EXCEPTION: Error:Android Dex: [DDSK] at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener....
2 votes
1 answer
586 views
About error: UNEXPECTED TOP-LEVEL EXCEPTION in android
I have a couple of days with this problem and I've read a lot about it ... but I can not fix it. After updating android studio, I jump the following error: UNEXPECTED TOP-LEVEL EXCEPTION now I know ...