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

Getting a different constructor on DexPathList$Element

I'm trying to figure out why when I ask for constructors on dalvik.system.DexPathList$Element, I only see one for Element(File, File, DexFile) but I'm expecting: public Element(File file, ZipFile zipFile, DexFile dexFile)…
ajma
  • 12,106
  • 12
  • 71
  • 90
0
votes
2 answers

Unable to execute dex error for android project in eclipse

Hi I am developing small android application using eclipse tool. I am including two jar files into my project support version-4 and another is my library jar file. When I ran my application it run successfully but i tried to use it gives me some…
nilkash
  • 7,408
  • 32
  • 99
  • 176
0
votes
1 answer

Android APK cannot be installed on device

//cannot install apk on my mobile, it throws me the following error when i push the app from adb D/PackageParser( 1336): Scanning package: /system/app/Contacts.apk I/PackageManager( 1336): /system/app/Contacts.apk changed; collecting…
srp
  • 521
  • 11
  • 22
0
votes
1 answer

Tool to extract the header from .dex file

Is there a tool to extract the header of Android .dex files? I am looking for a pedump like tool .dex file. Thanks
Naruto Uzumaki
  • 958
  • 4
  • 17
  • 37
0
votes
1 answer

What context should I use when sending an Intent to an activity in a separate DEX file?

I have an android activity located in a separate dex file that I want to launch from my android app. I get an exception after starting the intent. Didn't find class "com.example.testproject.SampleActivity" on path:…
ehfdub
  • 63
  • 6
0
votes
1 answer

Dex file in Android does it matter it's exported or not?

I have an Android project and it depends on one jar file. In order for the app to run, I need to export the jar to APK. The jar will be dexed and classes in the jar will be packaged up into the apk. Now I want to move this jar to framework: meaning…
Lily
  • 5,872
  • 19
  • 56
  • 75
0
votes
1 answer

Dexing manually for Netbeans project

I have a NB7 Android project. Unfortunally Pre-dexing stops with heap out of memory. Is there a way to run Pre-dexing manually from command-line for Android SDK R21 to control memory assignment better ?
PeterMmm
  • 24,152
  • 13
  • 73
  • 111
0
votes
2 answers

Unable to execute DX - IntelliJ Idea (Android + Maven)

after I import the project from git, it succesfully download all libraries. But when I tried to rebuild project, it throws this error, that I didn't find anywhere on the internet. Android Dex: [name_of_project] Unable to execute DX Android Dex:…
user997777
  • 569
  • 1
  • 7
  • 19
0
votes
1 answer

Build path issue with CSipSimple

I know that this is a popular question in stackoverflow but I couldn't find a good solution for this issue. I'm developing a SIP app for android and I'm using the CSipSimple project as a library (this project is also using actionbarsherlock as a…
onizukaek
  • 1,082
  • 1
  • 14
  • 38
0
votes
3 answers

LibGDX classes not being found

My program is crashing with a 03-05 02:21:57.127: E/dalvikvm(12583): Could not find class 'com.deerandcatgames.spikeJumper.GUI.OuyaTable$1', referenced from method com.deerandcatgames.spikeJumper.GUI.OuyaTable. Whenever I run it on android,…
KatGaea
  • 996
  • 1
  • 12
  • 31
0
votes
1 answer

Can Dalvik convert anonymous inner classes to dex format?

I am trying to build dex file from xmlbeans-2.6.0.jar and xmlbeans-2.3.0.jar.I am getting following error [2013-02-14 14:57:08 - SOSTestProject] Dx warning: Ignoring InnerClasses attribute for an anonymous inner…
Samrat
  • 161
  • 2
  • 16
0
votes
3 answers

Nullpointer exception on activity launch

I have an error in the perfectly running app before. The snapshot shown here came after i cleaned the project. The android code is perfectly right to my best knowledge. package com.tmresponseportal; import android.app.Activity; import…
Shachi
  • 1,858
  • 3
  • 23
  • 41
0
votes
1 answer

What is the full chain list of formats that Android .java file is getting through?

I just noticed the .smali file, which the .dex file is compiled to. I want to be able to track over all the transformations that my .java file is going through. First, I want to know what are all the transformation that executed from creation of the…
Bush
  • 2,433
  • 5
  • 34
  • 57
0
votes
2 answers

Unpacking android apk without changing the last modified date of files

I have published an android app in last year. Latest version of the apk is 3.2 (last modified date is 26th May 2012) whereas I have the source code only for 2.8 version (last modified on 15 May 2012). I am not sure what changes I have made in the…
sharmi
  • 115
  • 2
  • 8
0
votes
2 answers

Are there any tools to remove unnecessary references from a dalvik DEX file?

I have a project to deal with some existing dex files. One of the requirements is to strip all unnecessary information and reduce their size. If you try to build a simple "hello world" app by using Eclipse plugin and just following the wizard (the…
Earth Engine
  • 10,048
  • 5
  • 48
  • 78