简体   繁体   中英

Integration of Android Native module with existing Xamarin Native Project

We have teams which are working on different different technologies. Currently struggling with integration of android native module (Developed in android native language) with existing Xamarin android project.

Actually I got one way that we can convert android native project as a library. This library can integrate to Xamarin project. I had gone through below links

  1. Convert existing project to library project in Android Studio

  2. https://developer.xamarin.com/guides/android/advanced_topics/using_native_libraries/ ( Integration of android library in xamarin project)

Is this the correct way or do we have any alternate way to achieve it?

Is this the correct way or do we have any alternate way to achieve it?

The document Using Native Libraries is talking about how to use .so file (native libraries) in Xamarin.Android , here is the example .

It is recommended that using Binding Java Library . You could convert your android native project to a .jar or .arr file, then you could refer to Binding a .JAR or Binding an .AAR .

If there is any problem when you trying binding Java Library, you could refer to Troubleshooting Bindings .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM