Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bump Android platform-tools to fix adb server version mismatch with P. #1858

Merged
merged 1 commit into from
Jun 20, 2018

Conversation

atsushieno
Copy link
Contributor

If you are running Android O or above as the Android target to test
run-apk-tests, it will fail because of adb server version mismatch
(39 vs. 40). It is a typical adb issue e.g.:

https://sqa.stackexchange.com/questions/20524/how-to-resolve-adb-server-version-32-doesnt-match-this-client-36-killin

We need newer adb to fix this issue.

If you are running Android O or above as the Android target to test
`run-apk-tests`, it will fail because of adb server version mismatch
(39 vs. 40). It is a typical adb issue e.g.:

https://sqa.stackexchange.com/questions/20524/how-to-resolve-adb-server-version-32-doesnt-match-this-client-36-killin

We need newer adb to fix this issue.
@atsushieno atsushieno requested a review from jonpryor as a code owner June 20, 2018 06:03
@jonpryor jonpryor merged commit d80a5c1 into dotnet:master Jun 20, 2018
jonpryor pushed a commit that referenced this pull request Jul 20, 2018
Context: mono/mono#9473 (comment)
Context: #1858

Before [mono/mono:master@52dccf8c][m52dc]
([mono:2018-02@077307fc][m0773]), mono would hardcode the
`platform-tools` version to be installed, meaning if xamarin-android
*wanted* to install a newer `platform-tools` version (#1858),
*we couldn't*, because mono controlled that.

Altering the `platform-tools` version would require altering and
bumping mono.

In [mono/mono:master@52dccf8c][m52dc], mono now allows
xamarin-android to explicitly specify the `platform-tools` version
to install, by overriding the `$(ANDROID_PLATFORM_TOOLS_VERSION)`
make variable.

Introduce a new `$(XAPlatformToolsVersion)` MSBuild property to
control mono's `$(ANDROID_PLATFORM_TOOLS_VERSION)` value, allowing
xamarin-android to control and update this value in the future.

[m52dc]: mono/mono@52dccf8
[m0773]: mono/mono@077307f
jonpryor pushed a commit that referenced this pull request Aug 3, 2018
Context: mono/mono#9473 (comment)
Context: #1858

Before [mono/mono:master@52dccf8c][m52dc]
([mono:2018-02@077307fc][m0773]), mono would hardcode the
`platform-tools` version to be installed, meaning if xamarin-android
*wanted* to install a newer `platform-tools` version (#1858),
*we couldn't*, because mono controlled that.

Altering the `platform-tools` version would require altering and
bumping mono.

In [mono/mono:master@52dccf8c][m52dc], mono now allows
xamarin-android to explicitly specify the `platform-tools` version
to install, by overriding the `$(ANDROID_PLATFORM_TOOLS_VERSION)`
make variable.

Introduce a new `$(XAPlatformToolsVersion)` MSBuild property to
control mono's `$(ANDROID_PLATFORM_TOOLS_VERSION)` value, allowing
xamarin-android to control and update this value in the future.

[m52dc]: mono/mono@52dccf8
[m0773]: mono/mono@077307f
jonpryor pushed a commit to jonpryor/xamarin-android that referenced this pull request Sep 11, 2018
If you are running Android O or above as the Android target to test
`make run-apk-tests`, it will fail because of an `adb` server version
mismatch (39 vs. 40).  This is a common `adb` issue e.g.:

https://sqa.stackexchange.com/questions/20524/how-to-resolve-adb-server-version-32-doesnt-match-this-client-36-killin

Bump to Android platform-tools r28 so that we have an updated `adb`,
which will avoid the version mismatch error.
@github-actions github-actions bot locked and limited conversation to collaborators Feb 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants