migrating to android studio.  Fixing library problems.