In Android native app there are Two Buttons , On click on button 1 it should navigate to Unity_Module_1 and Click on button 2 it should navigate to Unity_module_2.
When i import One Unity module and click on button 1 it navigates properly and launched.
When two modules are imported ,
ERROR : More than one file was found with OS independent path 'lib/armeabi-v7a/libmain.so files
I fixed the issue by adding the below line of code in App build.gradle
packagingOptions {
// exclude 'project.properties'
exclude 'lib/armeabi-v7a/libmain.so'
exclude 'lib/armeabi-v7a/libmono.so'
exclude 'lib/armeabi-v7a/libunity.so'
}
Once after fixing the issue , after gradle sync , when i click
Button 1 it navigate to Unity 1 module ,
Button 2 it also navigating to Unity 1 module and sometimes its getting hanged or crashed.
Can someone help me with this integration , need to know weather it is possible .