Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by unity_0c_XV8OvptKpNw · Apr 09, 2019 at 11:46 AM · android buildandroid-manifestunity4

How to import multiple unity android modules in to an Single Android Application in Android Studio ?

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 .

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Firestorm200 · Nov 25, 2019 at 08:42 PM 0
Share

Did you manage to solve this issue i am having it and using Unity 2019.3.0b12 ?

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by unity_0c_XV8OvptKpNw · Apr 09, 2019 at 01:51 PM

I use this link to integrate unity module in Android App

https://medium.com/@davidbeloosesky/embedded-unity-within-android-app-7061f4f473a

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image pushpendra_colour · May 26, 2020 at 04:15 PM 0
Share

Hi, I am getting the same issue. When clicking on any button then only the first unity module is opening. I have tried a lot of ways to solve this issue. But still I did not get the proper solution. Could you please let me know how you achieve this. I will be very thankful to you!

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

107 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

com.android.tools.r8 compilation error please help 0 Answers

Exporting Google Android project from Unity 4 to Android Studio issue 0 Answers

Androidmanifest.xml problem 0 Answers

Android app opens "App Info" instead of launching app 0 Answers

OBSOLETE - Providing Android resources in Assets/Plugins/Android/res is deprecated, please move your resources to an Android Library 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges