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

Error:Execution failed for task ':app:transformClassesWithDexForDebug' after adding poi-ooxml:3.7 library

I want to read a XLSX file, so I am using org.apache.poi:poi-ooxml:3.7 Now I have done everything, no errors so far, but when I am running the application, Android Studio is giving me a weird error Error:Execution failed for task…
zackygaurav
  • 4,369
  • 5
  • 26
  • 40
0
votes
1 answer

Android Studio Gradle error “Multiple dex files define…”

My Project was working fine, until I added the volley library. Then, it started giving me an error like this: Error:Execution failed for task ':app:packageAllDebugClassesForMultiDex'.> java.util.zip.ZipException: duplicate entry:…
0
votes
1 answer

Android Instrumentation Test Case

I would like to test an activity from an other apk, and this test extends ActivityInstrumentationTestCase2 (http://developer.android.com/reference/android/test/ActivityInstrumentationTestCase2.html) because I will need to get the Activity and…
vmagrez
  • 69
  • 2
  • 11
0
votes
1 answer

Using DexClassLoader in Android to load multple .APK files as plugins

I'm developing a framework/application in Android (5.0+) that needs to be able to install additional "plugins"/apps silently without user interaction. I started looking into the DALVIK/ART DexClassLoader to implement this functionality. At first it…
Schtibb
  • 151
  • 2
  • 8
0
votes
1 answer

How to include a modified third-party library in Android?

In my Android project I'm using barcodescanner. I need to customize the size of the framing rectangle displayed when targeting a qr code and I noticed that the only way to achieve this is to modify a class in the library. Now I'm wondering, what is…
Giordano
  • 1,401
  • 15
  • 26
0
votes
2 answers

Android gradle app:DexDebug error Parse.com

I have build an android app and i have this error when trying to compile my app Error:Execution failed for task ':app:dexDebug'.>com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command…
Joey121
  • 35
  • 7
0
votes
1 answer

Android Studio : Gradle Executin Failed with dexDebug Error

I have faced the following dexDebug error. i cannot fix this. Error:Execution failed for task ':sampleApplication:dexDebug'. com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command…
Nanda Gopal
  • 2,519
  • 1
  • 17
  • 25
0
votes
1 answer

NoClassDefFound error after adding JARs to Android project

I've been looking around the internet for hours now on how to solve this issue. There are many people who posted this on StackOverflow and many other websites but none of the solutions worked for me. I think that many of them are outdated. Here is…
vedi0boy
  • 1,030
  • 4
  • 11
  • 32
0
votes
2 answers

SignalR Library: UNEXPECTED TOP-LEVEL EXCEPTION

I am trying to work with the SignarR client library created by folks at Microsoft. But when I try to run the [signalr-clent-test-integration-android] and load it in either simulator or the device I get the following error. based on the research I…
Vincy
  • 1,078
  • 1
  • 9
  • 16
0
votes
0 answers

Android executing wrong method in module/library

Reaching out for help since I have been beating my head against a wall on an issue I have never seen before. I have a standard fragment activity, using espresso for testing. I have a static manager in an associated module library linked to by the…
David
  • 31
  • 2
0
votes
1 answer

Execution failed for task : app:dexDebug

When I am running my android project I got the following error:: Error:Execution failed for task ':app:dexDebug'. com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Program …
Deepak Rattan
  • 1,279
  • 7
  • 21
  • 47
0
votes
1 answer

Android convert Class in dex to anonymous name

When I decompiled my apk using dex2jar-2.0 I could get my original code only. But for some popular APK, when I followed the same steps I got Class names like A, B, AB etc How to make my apk also secure like those apks Please suggest me
Sharanabasu Angadi
  • 4,304
  • 8
  • 43
  • 67
0
votes
1 answer

How to use dexdump in ubuntu

I was trying to use on dex tools to look on high level overview of classes and methods on android dex file (classes.dex) But i found the following error when i use dexdump dexdump -d classes.dex | less dexdump: command not found Can someone help…
H.Mel
  • 41
  • 6
0
votes
2 answers

About dexdump source code

There are some codes in dexdump located in file DexClass.c DexClassData* dexReadAndVerifyClassData(const u1** pData, const u1* pLimit) { ...... size_t resultSize = sizeof(DexClassData) + (header.staticFieldsSize * sizeof(DexField)) + …
zombie
  • 13
  • 1
  • 7
0
votes
1 answer

MobileFirst Platform 7.1 Android Dex Loader Unable to execute dex: method ID not in

We are using the MobileFirst Platform 7.1 to build our Android app. once we import the google play services lib into the project and we try to build it we get the error like this. [2015-11-19 14:34:46 - Dex Loader] Unable to execute dex: method ID…
Wei
  • 51
  • 7