Update all plugins to android studio 1.0 build system. Use connection state interface