sdk v17 breaks admob: Error inflating class

Oh no, when will this end? Been trying to upgrade my app now for 4 hours… and still not there…

Latest error is:  Error inflating class

This is due to sdk v17 – you need to copy the admobs into the /libs folder of your project.

5 comments - What do you think?
Posted by admin - March 24, 2012 at 13:52

Categories: Android   Tags:

android Debug Certificate expired & Unknown Android Packaging Problem

I don’t know if this is good news or bad… good news is that i have been programming android for over 1 year now. Bad news is that your debug certificate expires and then prevents any compilation. Nothing appears in the error window. However you can see it in the problems window.

To solve the problem, check here:

Be the first to comment - What do you think?
Posted by admin - March 24, 2012 at 13:39

Categories: Android   Tags:

updating android sdk & “sdk manager failed to install”

Updating from v15 to v17, I just hit problem after problem with updating the sdk.

In the end the way I fixed it was:

1. run sdk manager with admin permissions

2. delete sdk v15 first, then install sdk v17

Check out: for more possible solutions (mine was comment 16)

Be the first to comment - What do you think?
Posted by admin - March 24, 2012 at 13:27

Categories: Android   Tags:

admobs, adsense, google

I clearly missed something… google updated the adsense stuff, so I’ve now lost all my ads on my blog and need to recreate them.

Meantime I wanted to update the admobs code in my Finngo app for android… it’s taken me about 1 hour to find the links, but I think the new admobs api is here: and of course you need to download it from here:

One nice surprise – windows 7 is supported!

Be the first to comment - What do you think?
Posted by admin - March 24, 2012 at 12:37

Categories: Android   Tags:

Finngo – “multi-platform”

I would like to get Finngo onto iPad and Nokia. Before I’ve got the code written, I thought I would do a quick web version, so that I can carry on using those platforms to translate Finnish. In case you need this “multi-platform” version of Finngo, here it is:

Be the first to comment - What do you think?
Posted by admin - August 9, 2011 at 21:02

Categories: Feeling At Home in New Places, Finland, FinnGo   Tags:


The new adsense jar (GoogleAdMobAdsSdk-4.1.1) was released for mobile developers around late July 2011. Unfortunately it seems to contain a few errors –!topic/google-admob-ads-sdk/Ys6CsvTez3I – so I am sticking with the previous version for now. To be fair, google thinking is always around pushing stuff out in beta and seeing how users take to it, so I don’t think we can criticise them for this. They also now seem to be much more active in replying / fixing issues than admobs was.

Keywords to find this: “GoogleAdMobAdsSdk-4.1.1 vs GoogleAdMobAdsSdk-4.1.0”, “GoogleAdMobAdsSdk-4.1.1 does not work”.

Be the first to comment - What do you think?
Posted by admin - July 31, 2011 at 15:22

Categories: Android, Tech   Tags:


Spent the last few weekends doing some Android applications for my HTC Desire. I thought my first app would be something to help me learn Finnish. It’s called FinnGo (Finnish Lingo). I am also using it to help me learn Android.

For learning languages, I find that translating headlines is usually pretty good… they are a few lines which you can usually guess. I usually read these on my mobile phone when I am in bed or sitting in the armchair – either way, the wife gets quite annoyed when I ask her to help me translate some of the phrases. Hence the application. Google translate is excellent – although it struggles with Finnish – but it’s always a nightmare trying to set up the URLs.

For the application itself, I have made many learnings..

  1. sdk. Use eclipse… and then it’s a doddle… you don’t even need a device as they have emulators running within eclipse.
  2. market. 25USD to have the honour to upload… you soon start to work out that google is not just making money out of ads 🙂
  3. admob. Bought by google, but still seems to be the main ad engine… although for a select few they are starting to serve adsense ads.
  4. adsense on mobile. You thought getting adsense account for web was hard… try mobile – lucky for us, if you already have adsense due to a blog or website, then getting a mobile account is quite easy as you can reuse your existing one!
  5. web views. really hard… I will add the link here that helped me…
  6. progress bar. exceptionally hard. trick is to use webchromeclient attached to your webview and the onprogress method. Best to use the inbuilt progress spinner on the title bar. problem is that UI updates are not always done on events like clicking buttons (to load web pages for example) – hence the need for webchromeclient.
  7. UI design. eclipse toolset is good for java programming, but still struggles with UI design (not quite as easy as VisualStudio for example).
  8. packaging. use google’s own pages for this… estimate about half a day to get your head around this and…
  9. icons. wow I did not realize these would be so complex.
  10. upload. Once you upload you probably want to install the market version… make sure you uninstall your own test version first… they do not work in parallel (and the error is not very reassuring… might make you want to unpublish if you read it)…

4 comments - What do you think?
Posted by admin - March 13, 2011 at 22:48

Categories: Android, FinnGo, Mobile Living, Tech   Tags:

« Previous Page