javaandroidadbforceclose

java.lang.VerifyError - android app is not starting after moving development to another machine


I have been developing an app for weeks on a desktop computer. I have moved to develop on a different machine , so , I checked out the code = built it, all fine - install it via pressing play in eclipse and it fails with a force close.

Not great.

So - This is the stack trace : http://pastebin.com/tUBAK1Zq

I think this is to do with versions of the android sdk possibly - but the version I am running with is the same as on the desktop.

The line the app eventually throws that stack trace on is :

// Initialize a TabSpec for each tab and add it to the TabHost
spec = tabHost.newTabSpec("replaylist").setIndicator("Replay List",
    res.getDrawable(R.drawable.tabview_changeicon))
    .setContent(intent);

tabHost.addTab(spec);

Can somebody please help me get this problem fixed!


Solution

  • The problem in the end was due to an out of date android sdk manager i believe