fixed Android Studio preview error, updated gradle version