Hello everyone. Sometimes you will see a Dalvik failed to convert error 2. What is happening is that one Eclipse IDE ini file JVM setting in combination with using JVMs from Oracle 1.6.21 or later causes this conflict. The work around is to remove -XX:+AggressiveOpts from your ini file JVM settings.
Archive for March, 2011
Dalvik Fail to convert Error 2
Posted: March 28, 2011 in Android, Eclipse, JavaTags: Dalvik VM, Eclipse IDE
What you see above is a screenshot of MonkeyRecorder which is part of MonkeyRunner and unlike a different tool can be scripted in the IDE you use using python. The switch to some agile processes does not mean that you can suddenly complete a complex application in two weeks because some non-programmer says they need [...]
Here is what the WabashDashboard looks like: It was kept simple without use of grails-groovy, django, etc as wanted developers to be able to use it on laptops as well as desktops. I just used some effective iframes to make it real damn easy in operation. The last part of Wabash to add is the [...]
EMMA Report The Android Drinking Game
Posted: March 21, 2011 in Android, JavaTags: Apache Ant, Wabash
If you attempt to use the ant scripts in android sdk you will end up with a blank non-existent emma html report. Apparently you need to change the location of the coverage.em file in the emma report ask as its not in the test project folder. I now the iphone dev tools are worse but [...]
Most of the feature set is in including support for webkit projects, Native C, etc so that you can use an ant buildscript set with most of the stuff already in place. The last step is the dashboard and I have some interesting choices. I could choose Groovy Jetty, Grails, RoR, TurboGears, Django, Symfony, etc. [...]
The Wabash Dashboard: Its not very pretty yet and I have to polish some of the reports but both TDD and BDD within the same build system(Wabash) and even some analysis of javascript in the assets folder. You cannot really go fast agile unless your tools work along-side the development workflow. In my case since [...]
Robolectric Eclipse IDE setup
Posted: March 14, 2011 in Android, JavaTags: Eclipse IDE, robolectric
PivotalLabs Eclipse IDE instructions for using Robolectric is wrong. It is wrong in that you are not able to run junit tests from the Eclipse IDE as the Eclipse workspace and Eclipse IDE combination will not recognize linked-source individual files and files such as the AndroidManifest are required for robolectric to operate correctly during the [...]
Okay someone did Node.js on android by using root. So who wants to volunteer to do an application-intent app to add node.js to android?
If you are wondering how to get the build script in the Android Test Project to reference the parent project classes properly look in this bug report as the ant script code fix is posted in the bug report. It assumes that you have the parent project as root and the android test project as [...]
Usually when people refer to IDE performance tunning such s Eclipse they only talk of changing the Eclipse .ini file. If you are lucky to be using Eclipse under Linux there is one more setting that helps. That is change the priority form zero to about negative 5(-5) which tells the Linux OS to give [...]


