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
1 answer

Gradle build error -com.android.ide.common.internal.loggederrorexception failed to run command

apply plugin: 'com.android.application' android { compileSdkVersion 21 buildToolsVersion "21.1.2" defaultConfig { applicationId "paxcel.com.acceleromtermapping" minSdkVersion 10 targetSdkVersion 21 …
0
votes
2 answers

Unable to execute dex: Multiple dex files define Lcom/google/android/gms/analytics

I got error while executing my android application. what's the actual problem of this. anyone know post it.
0
votes
1 answer

How to disable dex logging in Gradle Android?

Usually I turn on --info to see proguardRelease's output or to see why a certain task did or didn't execute. When I run assembleRelease with --info I get a huge spam from dexRelease containing thousands of lines like: processing archive…
TWiStErRob
  • 44,762
  • 26
  • 170
  • 254
0
votes
1 answer

Completely disassemble APK files using my own installed Android application

I have been searching around the web for some days and I have not found any known way/tool/library to disassemble APK file into source code from my app. My goal is to get readable java files from the APK file only by using programmed functions of my…
0
votes
0 answers

Dex error after opening project on a different computer

I have copyied my android-studio project to another computer and installed a fresh copy of android-studio. Then I opend my project and when trying to run got this error: * What went wrong: Execution failed for task ':app:preDexDebug'. >…
Tadej Vengust
  • 1,351
  • 4
  • 18
  • 35
0
votes
1 answer

Android - Unexpected Top Level Exception on Twitter Integration

My project is completely fine until I tried to implement Twitter Sharing. I've been followed this step by step guide until I have my API KEY. But when I was trying to run my app, I got this error: Error:Execution failed for task…
Harry
  • 568
  • 1
  • 5
  • 20
0
votes
1 answer

adb logact is not showing onStop callbacks

my phone is already rooted, and to make sure I have also tried in emulator. The thing is I can see the onPause, onResume callback but I cannot see the onStop callbacks. Are there anything to enable or disable in logcat for it? I am exactly…
P basak
  • 4,874
  • 11
  • 40
  • 63
0
votes
0 answers

INSTALL_FAILED_DEXOPT when installing on particular device

When attempting to install an app on my Sony Xperia Z3 using adb, I get the following output: 3090 KB/s (2508014 bytes in 0.792s) pkg: /data/local/tmp/MyApp_release.apk Failure [INSTALL_FAILED_DEXOPT] I have previously installed exactly the…
HexAndBugs
  • 5,549
  • 2
  • 27
  • 36
0
votes
0 answers

Android Studio dexDebug problems

So I have this project which uses some libraries on Github. When I try to compile it the process always stops at dexDebug with something like UNEXPECTED TOP-LEVEL EXCEPTION: java.lang.IllegalArgumentException: already added:…
Kise
  • 2,823
  • 1
  • 24
  • 43
0
votes
0 answers

hash returns different values to the same file input - Java

I hashes .dex files in java and the output is different between the code in my machine and the same code with the same file in other machine.There is also a difference with online hash generators. I've tried changing the encoding but that's not the…
gil
  • 53
  • 6
0
votes
1 answer

Eclipse: Multiple dex files define Landroid/support/v4/accessibilityservice/AccessibilityServiceInfoCompat$AccessibilityServiceInfoVersionImpl

A similar question has been asked for Android Studio. But I am an eclipse user. I am including the Facebook SDK in my project. After adding the SDK, when I run the program, I get the error Multiple dex files define…
Katedral Pillon
  • 14,534
  • 25
  • 99
  • 199
0
votes
1 answer

i am getting this error always Unable to execute dex: method ID not in [0, 0xffff]: 65536

When i am trying to compile my code i am getting this error always "Conversion to Dalvik format failed: Unable to execute dex: method ID not in [0, 0xffff]: 65536", but i don't know what is this error actually i am not able to generate my APK. In my…
0
votes
3 answers

Resources$NotFoundException when using multidex on kitkat

I have this app which requires multidex and it is working fine on lollipop but when I run it under kitkat it gives me a Resources$NotFoundException My gradle config is: defaultConfig { targetSdkVersion 21 minSdkVersion 15 …
casolorz
  • 8,486
  • 19
  • 93
  • 200
0
votes
2 answers

Android Studio error, multiple dex files

I am unable to build my project, it is returning me one error. There are no errors in the files themselves, only upon a build. This is the following error: Error:Execution failed for task ':app:dexDebug'. >…
user2757842
  • 651
  • 1
  • 11
  • 24
0
votes
1 answer

Android multiple dex files defined

I was wondering is there a way of avoid multiple dex error ? I am using a library, I need some of its old classes from an older version and some of its new from a newer version. So when I add both jars then I get a multiple dex error. I know the…