How to fix typemaps.x86_64.ll Xamarin.Android.Common.targets(

Rinat Sibogatov 0 Reputation points
2024-05-22T11:37:21.8733333+00:00

Hi.

When compiling a project to a virtual android device, an error occurs. It works fine on a physical device.

I have used many virutal devices, Api 30-34, x86-64, nowhere works.

I installed the Android SDK through Rider.

Applications in Android Studio are perfectly built and run on virtual devices.

Target _GenerateEmptyAndroidRemapNativeCode:

Skipping target "_GenerateEmptyAndroidRemapNativeCode" because all output files are up-to-date with respect to the input files.

Target _GeneratePackageManagerJava:

Touching "obj\Debug\net8.0-android\stamp\_GeneratePackageManagerJava.stamp".

Target _GenerateAndroidAssetsDir:

Skipping target "_GenerateAndroidAssetsDir" because all output files are up-to-date with respect to the input files.

Target _PrepareCreateBaseApk:

Skipping target "_PrepareCreateBaseApk" because all output files are up-to-date with respect to the input files.

Target _CreateBaseApk:

Skipping target "_CreateBaseApk" because all output files are up-to-date with respect to the input files.

Target _CompileJava:

Skipping target "_CompileJava" because all output files are up-to-date with respect to the input files.

Target _CompileNativeAssemblySources:

[llc.EXE stderr] C:\Program Files\dotnet\packs\Microsoft.Android.Sdk.Windows\34.0.95\tools\binutils\bin\llc.exe: error: C:\Program Files\dotnet\packs\Microsoft.Android.Sdk.Windows\34.0.95\tools\binutils\bin\llc.exe: typemaps.x86_64.ll: error: Could not open input file: no such file or directory

1>Xamarin.Android.Common.targets(2063,3): Error XA3006 : Could not compile native assembly file: typemaps.x86_64.ll

stderr | C:\Program Files\dotnet\packs\Microsoft.Android.Sdk.Windows\34.0.95\tools\binutils\bin\llc.exe: error: C:\Program Files\dotnet\packs\Microsoft.Android.Sdk.Windows\34.0.95\tools\binutils\bin\llc.exe: typemaps.x86_64.ll: error: Could not open input file: no such file or directory

JetBrains Rider 2024.1.2

Build #RD-241.15989.179, built on May 6, 2024

Licensed to gurgles tumbles

You have a perpetual fallback license for this version.

Subscription is active until September 14, 2026.

Runtime version: 17.0.10+1-b1207.14 amd64

VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.

Windows 10.0

.NET Core v8.0.1 x64 (Server GC)

GC: G1 Young Generation, G1 Old Generation

Memory: 4066M

Cores: 16

Registry:

ide.experimental.ui=true

ide.new.project.model.index.case.sensitivity=true

Non-Bundled Plugins:

com.jetbrains.rider.android (241.15989.179)

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,312 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,525 questions
{count} votes