Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Unity 4.5 Android AAR Support

Discussion in 'Android' started by Deleted User, Dec 1, 2014.

  1. Deleted User

    Deleted User

    Guest

    does Unity 4.5 support AAR libraries? or any of the patch releases? I want separated resources, and most threads say converting to jar, which is not what I am looking for. currently I have all the resources setup in Unity but I want to reuse android code/res on another Unity project and rather trying to merge android library changes back and forth, I am looking into making AAR library to make things simpler.
    I am looking into Android Studio but doesn't have much documentation on Unity.
    thanks.
     
  2. bitter

    bitter

    Unity Technologies

    Joined:
    Jan 11, 2012
    Posts:
    530
    Not yet. However this is something we would like to add in the future. That said, perhaps you could create a script that automatically unpacks the AAR library into a subfolder of Assets/Plugins/Android. That should work™. If you also have class dependencies you may have to copy classes.jar into either libs or the bin directory of your newly unpacked library project.
     
  3. rumaniel

    rumaniel

    Joined:
    Jun 3, 2015
    Posts:
    5
    I can check that Unity5 supports AAR.

    Is there any plan for Unity4.x supports AAR?

    Thanks.
     
  4. pweeks

    pweeks

    Joined:
    Mar 29, 2011
    Posts:
    104
    i too would like aar support for 4.x...any update from dec1 2014? thats 6 months ago

    thanks