No. You can use same license for dev, staging and production site. Those sites have to be subdomain named dev or staging. eg. staging.example.com, dev.example.com
If it matches after that also shows that error, please remove license key from Front End PM PRO > Settings > Licenses and save changes and then again input license key and again save changes.