dotnet / dotnet/android

Fast Deploy issue on some Lollipop (5.1.1) devices

Open
#8,965 1 comment 0 reactions 2 assignees Claimed by @jonathanpeppers View on GitHub
Area: App+Library Build
Dominant language
C#
Stars
2.1k
Forks
579
Avg merge
1d 21h
Merged PRs (30d)
257

Description

### Android application type

.NET Android (net7.0-android, net8.0-android, etc.)

### Affected platform version

.NET 8.0.300

### Description

I obtained two old Android flip phones (Sharp SH-02K and KYOCERA 701KC). Both run Android 5.1.1. When deploying an app to either device, I hit an issue where when deploying, the tooling would throw "XA0010" saying it couldn't retrieve the Android ABI. I tried restarting the devices and the computer but nothing. I tried deploying on another computer but got the same error.

Talking about it with @dellis1972 and @grendello, the issue may be that several expected programs (ex. uniq, sort) are missing so expected commands to parse the props file fail. I've attached all the logs we talked about.

[msbuild.binlog.zip](https://github.com/xamarin/xamarin-android/files/15375930/msbuild.binlog.zip)
[output.log](https://github.com/xamarin/xamarin-android/files/15375921/output.log)
[packages.txt](https://github.com/xamarin/xamarin-android/files/15375923/packages.txt)
[adbprops.txt](https://github.com/xamarin/xamarin-android/files/15375924/adbprops.txt)

### Steps to Reproduce

1. Create a Xamarin.Android template app
2. Buy a 2014-era Japanese Flip Phone running Android Lollipop from a basement store in Akihabara.
3. Try to deploy the app to it.

### Did you find any workaround?

Disable Fast Deploy (Ex. `dotnet build -t:Install -p:EmbedAssembliesIntoApk=false`)

### Relevant log output

_No response_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.