I've developed Android for a while now, using WIN7 64bit and Eclipse. Since I've tried to install the new ADT (1.5), I get a very weird phenomena. My build doesn't complete, and doesn't generate the APK file, nor the dex files. the class files are created, but nothing else.
Also, there is no warning or error neither at the output or the Eclipse log.
The problem didn't occur immediately, but only after 1 or 2 good builds. Even if I create a simple project, the same thing happens.
I didn't find anything useful on the net. I've re-downloaded Eclipse, the SDK, ADT, and started all over again, and got the JRE7 compatibility issue (function ... must override). I guess I got a Java SE update, and lost the old JRE. So I've downloaded JRE6, changed the compliance issue, and set it and the environment, and got back to square 1 :)
The build process starts, reaches 50% or 75%, suddenly stops, and no apk or dex files are created. Even for new empty helloWorld projects.
Can someone please help? I have no idea how to proceed.
Thanks
If you want to locate the APK files in your Android phones, you can find the APK for user-installed apps under /data/app/directory while the preinstalled ones are located in /system/app folder and you can access them by using ES File Explorer.
The classes. dex file is a Dalvik Executable file that all Android applications must have. This file contains the Java libraries that the application uses. When you deploy an application for Android, RAD Studio includes a classes. dex file that contains the RAD Studio built-in Java libraries.
Dalvik is a part of Google Android OS and is used for running compatible applications. DEX files can either be generated manually or automatically via the compilation of Java programs.
"With the new ADT plugins, it is the default behavior (to speed up build time) to not generate the .apk on every build..." as said in groups.google:
See http://groups.google.com/group/android-developers/browse_thread/thread/769628c57caa51ad/4cb2c6589995a9a5?pli=1
You can enable automatic dex/apk building in the Eclipse settings: Window -> Preferences -> Android -> Build -> [] Skip packaging and dexing...
// I tried to reinstall everything before finding this solution....
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With