Support for android studio

- add builg.gradle files
- modify AndroidManifest for <application> tags
- remove deprecated methods resulting in build issues