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

Android Dex file format issue with ULEB128 and class_def_item

I'm exploring the Android file format and I'm running into something that doesn't look right but also isn't mentioned in the documentation. I've got a sample app that I was tracing through just to pull out all the fields and etc. I started tracing…
Fewmitz
  • 487
  • 1
  • 5
  • 21
0
votes
1 answer

Can't launch app with Sherlock action bar

I have this problem when trying to launch my app, it's strange because yesterday it was working fine. 01-18 12:19:40.192: E/AndroidRuntime(1530): FATAL EXCEPTION: main 01-18 12:19:40.192: E/AndroidRuntime(1530): java.lang.RuntimeException: Unable…
Alejandro Cumpa
  • 2,118
  • 1
  • 24
  • 45
0
votes
3 answers

Conversion to Dalvik format failed: Unable to execute dex: Multiple dex files are defined

I'm getting an error at runtime stating: "DraggableGridViewSample] Conversion to Dalvik format failed: Unable to execute dex: Multiple dex files define Lcom/animoto/android/views/DraggableGridView$1;" How might this be avoided? I've tried removing…
user3123280
  • 27
  • 1
  • 4
  • 12
0
votes
1 answer

Dynamically load a class from a dex file in Android APIs below 14?

Is there any way to dynamically load a class from a dex file inside a jar in Android APIs below 14?
Hugo Alonso
  • 6,684
  • 2
  • 34
  • 65
0
votes
1 answer

Parser dex file for bytecode retrive

I'm trying to parse a file dex, I have written the Java code to get information about: List item header string_ids type_ids proto_ids field_ids method_ids class_defs simply with the byte shift based on the size of the individual fields. Now I want…
invictus1306
  • 587
  • 1
  • 4
  • 19
0
votes
1 answer

Dexify Pax Web Jetty Bundle for Android

My current project needs jar files/bundles to be dexified (compile to dex file) and I came accross dexifying the pax-web-jetty-bundle-3.0.2.jar but when I executed the dx command to create a classes.dex for the jar file, the command gives me this…
Nyahaha Wakoko
  • 51
  • 1
  • 1
  • 8
0
votes
0 answers

Remote loading of Android class

I am developing and Android app which is divided between 2 (or more) devices. One should be the server which the client should ask it to perform a process on data. Both process and data should be sent from client to server. I wonder how to…
0
votes
1 answer

Why doesn't console android java application work without ODEX file, at the same time when GUI application works good?

I wrote two simple java programs for Android 4.1.2. 1) Console program: public class console_hello_world { console_hello_world() { System.out.println("Init!"); } protected static int method() { …
Lucky Man
  • 1,488
  • 3
  • 19
  • 41
0
votes
1 answer

Multiple dex files error with signpost and gdata jars

My app requires both signpost-core-1.2.1.2.jar and one of Google's libraries gdata-core-1.0.jar. But the signpost jar has some of the classes packaged in the gdata-core package. So, my app project is not building. Here is the error: Unable to…
ddd
  • 359
  • 2
  • 5
  • 19
0
votes
1 answer

android startactivity from jar by DexClassLoader

I put the jar file into the sd card, jar files have been processed by dx. In the jar inside a activity, how to start activity in the jar file?
0
votes
4 answers

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

I implemented today Mobario SDK to my app and when I wanted to run this app this occurs in console: [2013-09-15 16:37:05 - AppName] Conversion to Dalvik format failed: Unable to execute dex: Multiple dex files define…
jean d'arme
  • 4,033
  • 6
  • 35
  • 70
0
votes
1 answer

dexifying 18.5 MB "android-4.1.1_r1.jar" gives " java.lang.OutOfMemoryError: Java heap space"

I am trying to launch OSGI framework and to start few bundles on Android. One of these bundles is android API bundle which is an 18.5 MB jar. I read that in order to start the bundles on android, all the bundles should be first dexified. So I tried…
Traveling Salesman
  • 2,209
  • 11
  • 46
  • 83
0
votes
0 answers

MultipartEntity entity

after update Android SDK 22.0.5 I can not compile my project. I get the error message: Dex Loader] Unable to execute dex: Multiple dex files define Lorg/apache/http/auth/AUTH; If I delete the Libarys mime4j apache-core-0.7.2.jar,…
Bobert
  • 226
  • 4
  • 16
0
votes
1 answer

Unable to execute dex: Multiple dex files define Lcom/mopub/mobileads/AdFetcher$FetchStatus;

Ever since the update that I've downloaded in the ADT, I can't test my apps. My console keeps giving me this error: Unable to execute dex: Multiple dex files define Lcom/mopub/mobileads/AdFetcher$FetchStatus; It implies that my mopub library isn't…
0
votes
0 answers

Mockito and DexLibs with Android on "real device" fails with ExceptionInitializer

just wanted to clarify my understanding of the error I get is correct please... java.lang.ExceptionInInitializerError at org.mockito.internal.creation.jmock.ClassImposterizer.createProxyClass(ClassImposterizer.java:85) at…
MikeB
  • 577
  • 5
  • 15