How I can use Native code android library with the flutter application

As per my research, I have created a plugin to use android native code with flutter applications.

but I am not getting any idea where I have to put android native code files into the plugin and also not able to add android dependencies into the project android project of the plugin.

Example: We have a framework of Bluetooth connection and I want to use it with the flutter application.

Kindly share an example if anyone has tried it and provide me the reference link or suggestion.

Thanks,

@hasmukh.bhadani the following two guides will help you

If they help you hit like button😊
Happy fluttering😎

Thank you for your reply.

I have tried with crating channel between android code and flutter code. But I am not able to get dependencies of android classes and not able to sync the Gradle after added dependencies manually into the app. Gradle file.

Let me know if you have any solution regarding this.

Thanks in advance

Please follow the below document for use library :