Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

UnityException: Unable to package apk

Discussion in 'Vuforia' started by unity_GQvLMxYBm7KOKA, Jun 23, 2019.

  1. unity_GQvLMxYBm7KOKA

    unity_GQvLMxYBm7KOKA

    Joined:
    Jun 23, 2019
    Posts:
    1
    I am a Beginer trying to create AR Projects with unity and then switch platform to android on this process after specifying the SDK paths of both android studio and Java JDK when i try to build it throws the above error and i am not able to fix this issue .

    ERROR DISPLAYED - Unity library missing for the selected architecture armeabi-v7a (C:\Program Files\Unity\Hub\Editor\2018.4.2f1\Editor\Data\PlaybackEngines\AndroidPlayer\Variations\mono\Release\Libs\armeabi-v7a\libunity.so) !
    UnityEngine.GUIUtility:processEvent(Int32, IntPtr)
     
  2. Vit_r_iol

    Vit_r_iol

    Joined:
    Aug 9, 2019
    Posts:
    1
    I have the exact same problem, no solution yet!
     
  3. ivannamarcelle

    ivannamarcelle

    Joined:
    Nov 27, 2019
    Posts:
    1
    Any solution?
     
  4. Sika_MC

    Sika_MC

    Vuforia

    Joined:
    Jul 17, 2019
    Posts:
    96
    Hi,
    You also need the NDK path being specified. The best approach would be to navigate to the Unity hub -> Installs -> next to your version there are 3 points/ Select them -> Add Modules -> Click on Android support -> Select Android SDK&NDK tools.
    Thank you.
    Vuforia Engine Support
     
  5. toka1012

    toka1012

    Joined:
    Jun 13, 2019
    Posts:
    1
    Hello!
    Unfortunately that solution does not work for me, the only options that I see are "show in explorer" and "remove from hub". Is there another way to solve this problem?

    Thank you for your help!
     

    Attached Files:

  6. Sika_MC

    Sika_MC

    Vuforia

    Joined:
    Jul 17, 2019
    Posts:
    96
    Hi @toka1012

    If you don't have the 3 dots it means that you didn't install the Unity version via Hub. As an alternative you can manually install the requirements and than point them through Unity under Unity-> Preferences. https://docs.unity3d.com/Manual/android-sdksetup.html

    Thank you.
    Vuforia Engine Support
     
  7. r12ky_ui

    r12ky_ui

    Joined:
    Aug 26, 2020
    Posts:
    1
    Hi, i have same problem.. have you fixed it?