Questions tagged [dex]

.dex files are compiled Android application code files.

Android programs are compiled into .dex (Dalvik Executable) files, which are in turn zipped into a single .apk file on the device. .dex files can be created by automatically translating compiled applications written in the Java programming language.

867 questions
0
votes
2 answers

dexDebug error when building with gradle

I have 3 modules that im building. A (an android library with no dependencies) B (an android library with dependency on A) C (an android application with dependency on B and A) first, i want to declare in C only about B and have A…
Gur
  • 111
  • 8
0
votes
1 answer

Android dexdump not found under platform-tools

I'm trying to run dexdump command.. in many old posts, it mentioned that it's under sdk/platform-tools/ but I can't find it in my android sdk. Where is it now?
xialin
  • 7,686
  • 9
  • 35
  • 66
0
votes
2 answers

Not able to add GooglePlayServices (GCM) in Android Studio (Version 1.3.1)

I'm trying to add google play services for GCM in my app but couldn't achieve it. What went wrong: Execution failed for task ':app:dexDebug'. com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process…
Santhosh
  • 4,956
  • 12
  • 62
  • 90
0
votes
2 answers

Adding AppCompat v7 to gradle creates a multipledex error while compiling

I added the AppCombatActivity v7 23. Which generated a few errors and I sorted them out. However while running the application, I am getting a multiple dex error - com.android.dex.DexException: Multiple dex files define …
Sanved
  • 921
  • 13
  • 19
0
votes
1 answer

gradle compile UNEXPECTED TOP-LEVEL EXCEPTION

My working build.graddle: apply plugin: 'com.android.application' android { compileSdkVersion 23 buildToolsVersion "19.1.0" defaultConfig { applicationId "com.squiri.squiri" minSdkVersion 15 …
Maximus
  • 471
  • 1
  • 10
  • 25
0
votes
1 answer

Moving classes to multidex in existing APK

I am trying to move some frameworks from classes.dex to classes2.dex (MultiDex) from an existing APK. To do so I use smali. It seem it works for some apps and for some not: D/dalvikvm( 1401): GC_CONCURRENT freed 258K, 24% free 13896K/18268K, paused…
joe-jeff
  • 324
  • 1
  • 9
  • 27
0
votes
2 answers

Android, Gradle : RetroLambda not working

I am working on an Android application and I came up with RetroLambda tool, with which I can use Lambda expressions in Android app(So much win!!). Unfortunately it is not working. I am posting my Gradle files for app and overall. Kindly let me know…
We are Borg
  • 5,117
  • 17
  • 102
  • 225
0
votes
1 answer

App crashes when running under the Guest Login in Android Lollipop

I was running the app under Guest Login and the App is crashing at launcher screen. And the app is fine under the Normal Login I referred this link ,link2 but no solution found. Crash Report java.lang.RuntimeException: Unable to start activity…
0
votes
1 answer

Unable to execute dex: method ID not in [0, 0xffff]:65536 in eclipse

am getting the error given below after adding google-play-services library into my project " [2015-08-26 07:59:37 - Dex Loader] Unable to execute dex: method ID not in [0, 0xffff]: 65536 [2015-08-26 07:59:37 - my-application] Conversion to Dalvik…
user2635614
0
votes
1 answer

Android: Dex Issue(UNEXPECTED TOP-LEVEL EXCEPTION:)

My app is showing error while compiling when i use these 3 jar files: Activation.jar mail.jar additionnal.jar I Need these jar files to send email without user intervention. I am getting following error: UNEXPECTED TOP-LEVEL EXCEPTION: …
ojas
  • 2,150
  • 5
  • 22
  • 37
0
votes
1 answer

function of 'build/intermediates/pre-dexed' floder

I want to know what's the function of the floder 'build/intermediates/pre-dexed' and files in this floder is shown as eventbus-2.4.0-c730f263d42e2a79f1620ebab7abdc09655820f2 , how the value "c730f....20f2" is generated ,I guess it's a SHA1…
0
votes
1 answer

Conversion to Dalvik format failed: Unable to execute dex: field ID not in [0, 0xffff]: 65536

For my project method count is 55K. Clearly less than 65k limit. When I try to run app in eclipse/studio I am getting Conversion to Dalvik format failed: Unable to execute dex: field ID not in [0, 0xffff]: 65536 I have 5-6 libraries included in…
R World
  • 766
  • 9
  • 26
0
votes
1 answer

how to limit the first dex size while building android app by using multi-dex

First,I face this problem: Conversion to Dalvik format failed:Unable toexecute dex: method ID not in [0, 0xffff]: 65536 so,I try to division the dex provided by Google.refer Building Apps with Over 65K Methods And I unPack the apk,it really …
danny
  • 1
0
votes
1 answer

Load .class file in android to use as a local class

We have to dynamically load a .class file into Android. The .class file is generated serverside and depends on user input in another software. Let me give you an example on what we're trying to achieve here. Let's say we want to load this class…
Mazen
  • 203
  • 2
  • 15
0
votes
1 answer

Multiple dex files define android/support/annotation/AnimRes

When I`m tring to run my app, I receive the following error: app:compileDebugNdk UP-TO-DATE :app:compileDebugSources :app:preDexDebug :app:dexDebug UNEXPECTED TOP-LEVEL EXCEPTION: com.android.dex.DexException: Multiple dex files define…
user1106234
  • 223
  • 4
  • 15