Update sdk version to Android O
This commit is contained in:
parent
5cc70e2b48
commit
fb74ab8377
6 changed files with 13 additions and 13 deletions
|
@ -7,7 +7,7 @@
|
|||
|
||||
<uses-sdk
|
||||
android:minSdkVersion="16"
|
||||
android:targetSdkVersion="25"/>
|
||||
android:targetSdkVersion="26"/>
|
||||
|
||||
<!-- Permissions for Push Notification -->
|
||||
<!-- <uses-permission android:name="org.linphone.permission.C2D_MESSAGE"/> GCM permission -->
|
||||
|
|
|
@ -84,8 +84,8 @@ excludePackage.add('**/LICENSE.txt')
|
|||
|
||||
android {
|
||||
defaultConfig {
|
||||
compileSdkVersion 23
|
||||
buildToolsVersion "25.0.2"
|
||||
compileSdkVersion 26
|
||||
buildToolsVersion "26.0.0"
|
||||
applicationId getPackageName()
|
||||
multiDexEnabled true
|
||||
|
||||
|
@ -169,7 +169,7 @@ android {
|
|||
// Grant permissions
|
||||
android.applicationVariants.all { variant ->
|
||||
def applicationId = getPackageName()
|
||||
def adb = android.getAdbExe().toString()
|
||||
def adb = android.getAdbExecutable().toString()
|
||||
def variantName = variant.name.capitalize()
|
||||
def grantPermissionTask = tasks.create("grant${variantName}Permissions").doLast({
|
||||
"${adb} devices".execute().text.eachLine {
|
||||
|
@ -185,7 +185,7 @@ android.applicationVariants.all { variant ->
|
|||
|
||||
task runApplication() {
|
||||
def result = exec {
|
||||
executable = android.getAdbExe().toString()
|
||||
executable = android.getAdbExecutable().toString()
|
||||
ignoreExitValue true
|
||||
args = ['shell', 'monkey', '-p', getPackageName(), '-c', 'android.intent.category.LAUNCHER', '1']
|
||||
}
|
||||
|
|
|
@ -46,8 +46,8 @@ excludePackage.add('**/LICENSE.txt')
|
|||
|
||||
android {
|
||||
defaultConfig {
|
||||
compileSdkVersion 23
|
||||
buildToolsVersion "25.0.2"
|
||||
compileSdkVersion 26
|
||||
buildToolsVersion "26.0.0"
|
||||
multiDexEnabled true
|
||||
}
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
<uses-sdk
|
||||
android:minSdkVersion="16"
|
||||
android:targetSdkVersion="23" />
|
||||
android:targetSdkVersion="26" />
|
||||
|
||||
<instrumentation
|
||||
android:targetPackage="org.linphone.tester"
|
||||
|
|
|
@ -40,8 +40,8 @@ dependencies {
|
|||
|
||||
android {
|
||||
defaultConfig {
|
||||
compileSdkVersion 23
|
||||
buildToolsVersion "25.0.2"
|
||||
compileSdkVersion 26
|
||||
buildToolsVersion "26.0.0"
|
||||
applicationId getPackageName()
|
||||
multiDexEnabled true
|
||||
}
|
||||
|
@ -104,7 +104,7 @@ android {
|
|||
android.applicationVariants.all { variant ->
|
||||
def applicationId = getPackageName()
|
||||
def applicationIdtest = "${getPackageName()}.test"
|
||||
def adb = android.getAdbExe().toString()
|
||||
def adb = android.getAdbExecutable().toString()
|
||||
def variantName = variant.name.capitalize()
|
||||
def grantPermissionTask = tasks.create("grant${variantName}Permissions") << {
|
||||
"${adb} devices".execute().text.eachLine {
|
||||
|
|
|
@ -70,8 +70,8 @@ excludePackage.add('**/LICENSE.txt')
|
|||
|
||||
android {
|
||||
defaultConfig {
|
||||
compileSdkVersion 23
|
||||
buildToolsVersion "25.0.2"
|
||||
compileSdkVersion 26
|
||||
buildToolsVersion "26.0.0"
|
||||
multiDexEnabled true
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue