Skip to content
This repository was archived by the owner on Mar 19, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,5 @@
<uses-permission android:name="android.permission.USE_CREDENTIALS" />
<uses-permission android:name="android.permission.AUTHENTICATE_ACCOUNTS" />

<uses-sdk
android:minSdkVersion="14"
android:targetSdkVersion="26" />

</manifest>

7 changes: 6 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.2'
classpath 'com.android.tools.build:gradle:3.2.1'
}
}

Expand All @@ -27,6 +27,11 @@ dependencies {
android {
compileSdkVersion 26

defaultConfig {
minSdkVersion 14

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why have you moved the minSdkVersion and not the compileSdkVersion? Is there any difference between setting this in build.gradle or in AndroidManifest.xml?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

most recent Android Studio complain about having this values in AndroidManifest.xml It's a relict form Eclipse, which is not more supported since ~ 2016.09
It should be located in 'build.gradle'

It's related to #180 which removes Eclipse (or did it as I created the PR long time ago)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see, can you move also the targetSdkVersion here?

targetSdkVersion 26
}

sourceSets {
main {
manifest.srcFile 'AndroidManifest.xml'
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.2-all.zip
3 changes: 0 additions & 3 deletions sample_client/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,6 @@
android:versionName="1.0">

<uses-permission android:name="android.permission.INTERNET"/>
<uses-sdk
android:minSdkVersion="14"

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's deleted !

android:targetSdkVersion="26"/>
<application
android:icon="@drawable/ic_launcher"
android:label="@string/app_name">
Expand Down
5 changes: 5 additions & 0 deletions sample_client/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ dependencies {
android {
compileSdkVersion 26

defaultConfig {
minSdkVersion 14
targetSdkVersion 26
}

sourceSets {
main {
manifest.srcFile 'AndroidManifest.xml'
Expand Down