Issues with solutions on fragment chapters in ADT 22


If you’ve tried to run the solutions using ADT 22, you’ve noticed that they don’t work. Oh no!

Don’t worry - the code in the book is still fine. The only thing that has changed is that ADT 22’s build process works differently than it did in ADT 21. Unfortunately, that means that it breaks builds on projects configured using older versions of ADT.

We’ll have updated solutions up early next week, but until then, here’s the fix: right click your project, select properties, select Java Build Path, and then under Order and Export, check the box next to “Android Private Libraries”.


Aaand they’re up! Updated solutions are now posted: