You are not allowed to share your license unless the other person is a part of your family.
When you share your license with a friend or anyone else, the license will be blocked and don't work anymore.
And to make it work that you can use the license on your phone and on an emulator as example u just need to put the same license.pm file into your internal storage.