can not add this jar file to .net android?

mc 5,206 Reputation points
2025-04-24T07:50:52.9366667+00:00

this is jar file which to search BLE

I can use it in android but can not use it in .net-android

WCHBLELibrary.log

you can rename this file to jar

I create in android binding project and add it. and get dll file and add it to .net-android.

If I call the method there will be error.

you can try the code:

WCHBluetoothManager.Instance.Init(Application);

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,084 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.