Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EnRoute_Api_MAUI_2.108.264.zip Lacks Required Android Libraries #50

Open
phunkeler opened this issue Apr 30, 2024 · 0 comments
Open

EnRoute_Api_MAUI_2.108.264.zip Lacks Required Android Libraries #50

phunkeler opened this issue Apr 30, 2024 · 0 comments

Comments

@phunkeler
Copy link

phunkeler commented Apr 30, 2024

Description:

Referencing the EnRouteApi.Android.MAUI.dll via a <Reference> tag in a MAUI app causes builds to fail for the Android target. I suspect this relates to the fact that:

In .NET, Java code is no longer embedded in the .dll -- MS

which differs from Xamarin.Android, and requires the .jar/.aar to be located next to the .dll.

However, I expected the SDK for MAUI, that I downloaded from here, to include all of the necessary artifacts needed to integrate Glympse EnRoute functionality into a MAUI app (targeting Android & iOS) -- which may or may not be a common use-case for other consumers.

Steps to Reproduce:

  1. Clone the enroute-maui-app repo
  2. Build it's master branch
  3. Notice build errors
  4. Switch to the fix branch
  5. Build
  6. Notice successful build

Link to public reproduction project repository:

Version with bug:

Affected Platform(s):

  • Android

Did you find any workaround?:

  • Yes, download the SDK for Android and place all of it's .aar's in the same folder as EnRouteApi.Android.MAUI.dll

Relevant log output:

CommonSource_ListenerWrapper.java(8,39): javac.exe error JAVAC0000:  error: package com.glympse.android.toolbox.listener does not exist
CommonSource_ListenerWrapper.java(9,27): javac.exe error JAVAC0000:  error: package com.glympse.android.core does not exist
EventSink_ListenerWrapper.java(8,26): javac.exe error JAVAC0000:  error: package com.glympse.android.api does not exist
EventSink_ListenerWrapper.java(9,27): javac.exe error JAVAC0000:  error: package com.glympse.android.core does not exist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant