Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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 savantedroid · Jan 20, 2021 at 09:03 AM · android buildfailurearm

APK works but AAB doesn't. libmain.so not found

Hi everyone, I have a strange problem. I build my game with no errors and tried to upload to play store both with .aab (bundle) and .apk with same gradle settings (default from unity including armv7 and arm64) and everything. Apk version works fine but .aab version is giving below error at app launch on newer devices. Anybody has a solution for this?

Looks like arm64 library is not included but if that was the case why is the .apk is working?

alt text

image-from-ios.jpg (32.6 kB)
Comment
Add comment
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

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by alexds9 · Jan 25, 2021 at 12:36 PM

I'm experiencing the same error message on launch with newly published AAB to Google Play Store. I'm using Unity 2020.2.1f1. Scripting Backend: IL2CPP; API Compatibility Level: .Net 4.x; Target API Level: 29; Target Architectures: ARMv7 and ARM64. When loading APK locally everything is working fine. From the results of the pre-launch report, following devices fail with this error: OnePlus 3T (Android 9), Google Pixel 3 (Android 9). These devices working fine: Huawei P8 (Android 5), Galaxy S9 (Android 8), Nokia 1 (Android 8.1 ). @savantedroid Did you find a solution?

Comment
Add comment · Show 4 · 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 savantedroid · Jan 25, 2021 at 12:37 PM 0
Share

No solutions yet. I tried all available things online but I still don't know what the problem is.

avatar image alexds9 savantedroid · Jan 25, 2021 at 01:00 PM 0
Share

Ok, I'll update here if I'll find something.

avatar image alexds9 savantedroid · Jan 26, 2021 at 04:53 AM 0
Share

Link: https://forum.unity.com/threads/app-not-working-on-some-devices-failed-to-load-libmain-so.1031137/ I followed @namadeveloper1 advice to downgrade to 2020.1.17f1, had to clean and reinstall packages/plugins. Now AAB installed from Google Store is working as expected, no more "libmain.so" error on launch.

avatar image savantedroid alexds9 · Jan 26, 2021 at 08:01 AM 0
Share

Thanks mate.

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

114 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 avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

CommandInvokationFailure: Failed to re-package resources. 0 Answers

Multiple native crashes in Andriod Upload 0 Answers

Export to android: CommandInvokationFailure: Failed to build apk. 1 Answer

Text file didnt work in android phone,Textfile didnt work on android phone 0 Answers

Android build failing 2020.3.25f1 1 Answer


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