Posts

Showing posts with the label Eclipse

Unable to execute dex: Multiple dex files define

This is probably because the same jar is included more than once in your project.  If so, ensure that your project only includes it once (that it doesn't appear in referenced library projects, or build paths, etc).

Delete Unwanted Workspaces in Eclipse

Image
Its possible to remove the workspace in eclipse without much complications. The options are available under Preferences->General->Startup and Shutdown->Workspaces. Note that this does not actually delete the files from the system, it simply removes it from the list of suggested workspaces. It changes the org.eclipse.ui.ide.prefs file within Eclipse. See the screen shot below for your reference.

Common Android development problems and their solution

Image
1. Common Android development problems and their solution Things are not always working as they should during your Android development. This section gives an overview over typical problems and how to solve them. 1.1. Clean Project Several users report that they get the following errors: Project ... is missing required source folder: 'gen' The project could not be built until build path errors are resolved. Unable to open class file R.java. ...

Java Debugging with Eclipse

Image
1. Overview 1.1. What is debugging? Debugging allows you to run a program interactively while watching the source code and the variables during the execution. Via breakpoints in the source code you specify where the execution of the program should stop. To stop the execution only if a field is read or modified, you can specify watchpoints . Breakpoints and watchpoints can be summarized as stop points . ...