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

Built APK has a weird name

Discussion in 'Unity Build Automation' started by liortal, Nov 21, 2016.

  1. liortal

    liortal

    Joined:
    Oct 17, 2012
    Posts:
    3,562
    We have a build configuration in UCB that uses Unity 5.3.6.p8.

    I just realized that the APK name has a weird name.
    Our build config is named "Android ARM 5.3.6p8"

    The APK is called: orgname-projname-android-arm-5-3-6p8-88-Android_ARM_5.3.6p7.apk

    Can anyone explain why this suffix is added? the build used to work with 5.3.6p7, but it now uses p8.
     
  2. dannyd

    dannyd

    Unity Technologies

    Joined:
    Jun 3, 2014
    Posts:
    785
    Ya it's a little confusing (and could probably use some updating on our end).

    The way the naming works is: orgid - projectid - buildtargetid - executablename.
    • orgid: identifier of the organization
    • projectid: identifier of the project
    • buildtargetid: identifier of the build target
    • executablename: hidden for most platforms and by default matches the buildtargetid when the build target was first created
    For the platforms where executablename is hidden, the name doesn't change when the build target is renamed (and I'll look into updating this behavior). In the meantime, if you want me to update yours specifically so it's less confusing just let me know.
     
  3. Thibault_Lesaunier

    Thibault_Lesaunier

    Joined:
    Feb 8, 2018
    Posts:
    7
    Hi community,

    I'm on a AR project and I wish to know the destination path streamingAssets on my Android phone.

    So, I put a text GUI in my scene to know the name with Application.dataPath. Sound good for the moment.

    The problem is that each build, the name is different with a random part.

    Application.dataPath gives me :

    /data/app/com.mycompany.myproductName-RANDOM_PART==/base.apk

    Very weird. How can I fix that and have a fixed path ? (I need this path for my plugins).

    Thanks.