Skip to content
This repository has been archived by the owner on Oct 25, 2021. It is now read-only.

can't create aar file #794

Open
lkhore opened this issue Sep 7, 2021 · 0 comments
Open

can't create aar file #794

lkhore opened this issue Sep 7, 2021 · 0 comments
Labels
Milestone

Comments

@lkhore
Copy link

lkhore commented Sep 7, 2021

Steps to Reproduce

  1. mono Embeddinator-4000.exe -gen=Java -platform=Android -c DeviceDriver.dll

Expected Behavior

Actual Behavior

Environment

VS Community 2019 ver 16.11.2
Microsoft Visual Studio Professional 2019 (2)
Version 16.11.2
VisualStudio.16.Release/16.11.2+31624.102
Xamarin 16.11.000.174 (d16-11@e8f56f1)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.
Xamarin Designer 16.11.0.17 (remotes/origin/11e0001f0b17269345e80b58fb3adf1ba4efe2cd@11e0001f0)
Visual Studio extension to enable Xamarin Designer tools in Visual Studio.
Xamarin Templates 16.10.5 (355b57a)
Templates for building iOS, Android, and Windows apps with Xamarin and Xamarin.Forms.
Xamarin.Android SDK 11.4.0.5 (d16-11/7776c9f)
Xamarin.Android Reference Assemblies and MSBuild support.
Mono: c633fe9
Java.Interop: xamarin/java.interop/d16-11@48766c0
ProGuard: Guardsquare/proguard@912d149
SQLite: xamarin/sqlite@85460d3
Xamarin.Android Tools: xamarin/xamarin-android-tools/d16-11@683f375
Xamarin.iOS and Xamarin.Mac SDK 14.20.0.25 (3b53e529b)
Xamarin.iOS and Xamarin.Mac Reference Assemblies and MSBuild support.

Build Logs

mono Embeddinator-4000.exe -gen=Java -platform=Android -c DeviceDriver.dll
Parsing assemblies...
Parsed 'DeviceDriver.dll'
Processing assemblies...
Generating binding code...
Generated: DeviceDriver.h
Generated: DeviceDriver.c
Generated: mscorlib.h
Generated: mscorlib.c
Generated: System.h
Generated: System.c
Generated: System.IO.Ports.h
Generated: System.IO.Ports.c
Generated: c-support.c
Generated: c-support.h
Generated: embeddinator.h
Generated: glib.c
Generated: glib.h
Generated: mono-support.c
Generated: mono-support.h
Generated: mono_embeddinator.c
Generated: mono_embeddinator.h
Compiling binding code...
ld: error: unable to find library -lmonosgen-2.0
ld: error: unable to find library -lmono-android.release
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Failed to compile generated code.

@chamons chamons added the android label Sep 8, 2021
@chamons chamons added this to the Future milestone Sep 9, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants