Update SDK to Platform Gingerbread 2.3: Conversion to Dalvik Format Failed
2 min read
2 min read
Today I took the chance (and a bit of free time) to upgrade to the latest Android SDK release, namely Gingerbread. Experience has shown that you better back up your Eclipse as well as currently installed Android SDK folder, especially if you're working on an important project (which I consider my Master thesis project to be kind of ;)).
...SDK Manager] Warning: Ignoring platform '.DS_Store', not a folder.Well this was solved quickly. Apparently for some reason OSX added the .DS_Store folder (which is a hidden one) to the platforms folder of the Android SDK. A quick
rm -rf .DS_Store
fixed the issue.Conversion to Dalvik format failed: Unable to execute dex: nullApparently the problem was related to the fact that my Android project referenced another Java project containing shared classes. Removing and re-attaching the reference didn't solve the problem. Neither did a clean in Eclipse.