Skip to content

Conversation

@jonpryor
Copy link
Contributor

A "funny thing" happened in PR Build #958: adb failed:

Target ReleaseAndroidTarget:
Task "Adb"
	...
	Tool /Users/builder/android-toolchain/sdk/platform-tools/adb execution started with arguments: -s emulator-5570 logcat -d
	...
Task "Adb" execution -- FAILED

I have no idea why adb is failing, but because it failed, the
emulator was never shutdown and killed.

Add ContinueOnError="True" to most of the tasks within the
ReleaseAndroidTarget target to ensure that the emulator is shutdown
and killed.

A "funny thing" happened in [PR Build dotnet#958][0]: `adb` failed:

	Target ReleaseAndroidTarget:
	Task "Adb"
		...
		Tool /Users/builder/android-toolchain/sdk/platform-tools/adb execution started with arguments: -s emulator-5570 logcat -d
		...
	Task "Adb" execution -- FAILED

I have no idea why `adb` is failing, but *because* it failed, the
emulator was never shutdown and killed.

Add `ContinueOnError="True"` to most of the tasks within the
`ReleaseAndroidTarget` target to ensure that the emulator is shutdown
and killed.

[0]: https://jenkins.mono-project.com/job/xamarin-android-pr-builder/958/
@jonpryor jonpryor merged commit 3fa9e9e into dotnet:master May 24, 2017
@github-actions github-actions bot locked and limited conversation to collaborators Feb 5, 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