I created two Android Studio applications. One of them is aar library. I used this aar library in second application. I added aar library by using File->New->New Module->Import
Have you tried closing the tab of your decompiled file on Android Studio first, update the versionName on the AAR project, rebuild AAR, transfer, and then see it gets updated?