When starting/running your first 'Hello World' Applications - you may get a error message:
Conversion to Dalvik format failed with error 1
This means "Attempt to include a core VM class in something other than a core library.
It is likely that you have attempted to include the core library from a desktop virtual machine into an application, which will most assuredly not work."
To fix (In Eclipse):
- Right-click on your 'Hello World' Package in the Package Explorer.
- Select - Properties
- A window should appear, in the left list - select 'Android'
- In the Project Build Target - ensure an option is selected (e.g. Android 1.5)
- Even if already ticked - press 'Apply' button then 'OK'
- The Problem "should" now disappear.
Good Luck
No comments:
Post a Comment