Built APK has a weird name

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.

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.

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.