apply plugin: 'com.android.application' android { compileSdkVersion 21 buildToolsVersion '30.0.2' namespace 'net.micode.notes' defaultConfig { applicationId "net.micode.notes" minSdkVersion 21 targetSdkVersion 8 } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt' } } } // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { repositories { jcenter() google() } dependencies { classpath 'com.android.tools.build:gradle:8.5.0' } } allprojects { repositories { jcenter() google() } } tasks.withType(JavaCompile){ options.encoding = "UTF-8" }