First of all, this is my first app development.
All these while I am building my app based on
compileSdkVersion 26
buildToolsVersion "26.0.1"
defaultConfig {
minSdkVersion 23
targetSdkVersion 25
}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
testCompile 'junit:junit:4.12'
compile 'com.android.support:recyclerview-v7:26.0.0-alpha1'
compile 'com.android.support:design:26.0.0-alpha1'
compile 'com.android.support:appcompat-v7:26.0.0-alpha1'
compile 'com.android.support:support-v4:26.0.0-alpha1'
}
Everything was perfect. No error.
Errors starts occurring when I decided to change sdk to 19.
compileSdkVersion 'Google Inc.:Google APIs:19'
buildToolsVersion "26.0.1"
defaultConfig {
applicationId "vinnito.plando"
minSdkVersion 19
targetSdkVersion 19
Errors that I got after changing SDK version
The reason I want to change it to 19 is because of my phone Note 2 which I wish to use as tool to debug my app. I know there are emulators available but I do really want to run the app in an actual device.
I wanted to add dependencies for SDK 19 but i cant find any. All of them are SDK 26. In my SDK Manager, i downloaded SDK 19 and above already though..
Anyone knows how can i make this sourcecode able to run in SDK 19 without major change of code or i have no choice?
Thanks in advance.