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

Android java unable to load class

hi am unable to load class in my android app , i can load basic class but when i Initialize context in that class then am not able to load it public class main { // Initalize context Context mContext; public main(Context mContext){ …
-1
votes
1 answer

How to fix unable to execute dex multiple dex files define lcom google android vending licensing?

My project was working fine before added com.google.android.vending.licensing package. I also added all the libaray as required.but i am getting the above issue unable to execute dex multiple dex files define lcom google android vending…
Jagdish
  • 2,418
  • 4
  • 25
  • 51
-1
votes
1 answer

why jd-gui lost some info when decompile a .class file?

I have decompiled a class by jd-gui below, but I am unable to understand how the "linearLayout" is being initialized and why linearLayout.startAnimation(animationset) should be invoked, the LockScreen member "linearLayout" is not referred to any…
fla888
  • 67
  • 1
  • 8
-2
votes
1 answer

Int switch error when inject code generator with switch case in java code

Caused by: java.lang.AssertionError at com.android.tools.r8.ir.code.IntSwitch.valid(IntSwitch.java:67) at com.android.tools.r8.ir.code.IntSwitch.(IntSwitch.java:35) at…
-2
votes
1 answer

Build failed with bytecode error in Android Studio

I have this error: I have enabled multidex but still it gives me multidex files define issues. compile fileTree(include: ['*.jar'], dir: 'libs') // Navigation Drawer Library compile('com.mikepenz:materialdrawer:5.3.0@aar') { …
PRATEEK BHARDWAJ
  • 2,364
  • 2
  • 21
  • 35
-2
votes
1 answer

Dex overflow exception .. using play services android

I know there is certain limit of functions for app. I'm using play services and using resources from it like color resources etc compile 'com.google.android.gms:play-services:11.0.2 what specific api should I compile with like compile…
-2
votes
1 answer

How to solve the issue Unable to execute dex

I am using eclipse. When i am adding facebook library give error "Unable to execute dex: method ID not in [0, 0xffff]: 65536 Conversion to Dalvik format failed: Unable to execute dex: method ID not in [0, 0xffff]: 65536" How to fix this issue.
-2
votes
1 answer

UNEXPECTED TOP_LEVEL EXCEPTION Multiple dex files define Landroid/support/annotation/AnimRes

After I've added the new library to my project, I started to get this error: Error:Execution failed for task ':app:dexDebug'. com.android.ide.common.internal.LoggedErrorException: Failed to run command: …
Denis Yakovenko
  • 3,241
  • 6
  • 48
  • 82
-2
votes
1 answer

Difference between no of methods when counting the methods in a jar file by "Metrics" Plugin and the jar's .dex file?

I was trying to get the number of methods in a jar file. I used "meterics" plugin of eclipse and cyvis script. But both of them gave different answers. Then I converted the jar file to its dex equivalent and extracted the number of methods from…
Mragank
  • 1
  • 1
-3
votes
1 answer

What is 64K method counts limit for an Android application and their graph of connection

I have seen this error in Android app and have seen many posts on stackoverflow like Link but have not got exactly the meaning of 64K method counts limit of an Android application What exactly this limit means , is it the User defined methods or…
Yatin
  • 2,969
  • 9
  • 34
  • 68
-3
votes
1 answer

load jar/dex dynamically from an android app

Hi I am using an android app (Scheme Droid) based on jscheme, but if you're not familiar with it, maybe you are familiar with Clojure. In any case those provide access to the virtual machine (jvm, dalvik). On a computer (any arch or OS) I can…
user2587965
1 2 3
57
58