Runtime: Enabling Android ARM64 for .NET Core

Created on 7 Mar 2017  路  9Comments  路  Source: dotnet/runtime

This issue will be a list of tasks necessary to enable Android ARM64 for .NET Core, in the style of Enabling Linux ARM32 for .NET Core. Please assign the arm64, os-android and os-unsupported labels, if appropriate.

References

Common

  • [ ] Refactor/merge build-android-rootfs.sh for core-setup if necessary. Use updated build-android-rootfs.sh for arm64 and arm (PR dotnet/corefx#16819)
  • [ ] Add necessary files and directories to support android cross-build
  • [ ] Fix build-android-rootfs.sh so that it pulls latest package version.

CoreCLR

  • [x] Update CoreCLR to generate Android-specific (?) nuget packages of CoreCLR (ref: dotnet/coreclr#8421, PR dotnet/coreclr#10286)

CoreFX

  • [x] Add RID for Android (PR dotnet/corefx#16729)
  • [ ] Update CoreFX to generate Android-specific (?) nuget packages of CoreFX

core-setup

  • [ ] Add support for Android arm, arm64 RIDs (ref dotnet/core-setup#254)
  • [ ] Add support for Android arm64 build from sources

Porting To New Platform References

  • dotnet/coreclr#917 (specifically this comment)
  • dotnet/corefx#6770
  • dotnet/corefx#15503
  • dotnet/coreclr#6056
  • dotnet/core-setup#254

cc @qmfrederik

arch-arm64 area-Infrastructure os-android

Most helpful comment

UPDATE: CoreCLR .nuget package PR merged. Moving to CoreFX .nuget package builds

All 9 comments

UPDATE: CoreCLR .nuget package PR merged. Moving to CoreFX .nuget package builds

It looks like a lot of it is done, can someone update this?

I would like to see an update for this issue, please?

@marek-safar @steveisok can you please update this issue based on the work that your team has done in the last months?

I think we can close this issue as most of the infrastructure tasks have been completed. The plan is for .NET6 to officially support Android but the foundational pieces are all already in and we do run on Android dotnet/runtime PR changes today.

@marek-safar Just to be sure, does this include support for running .NET console apps (e.g. via adb shell or Termux) on Android?

This issue does not cover .NET SDK or CLI integration and that part is planned for .NET6.

This issue was opened (at the time) with Android CLI integration in mind.

That scenario worked at one point in time. You could dotnet publish a Hello World console app which targeted android-arm64 and run it via adb shell.

If the issue has been recycled to track something else, it may be worth to mention that in a comment or the description.

What I meant by CLI integration is smoother dev experience when targeting Android. You can do dotnet publish and manual adb shell today but that's not where we would like to land.

Was this page helpful?
0 / 5 - 0 ratings