Sample code:
<permission
android:name="@string/permission_name"
android:protectionLevel="signature" >
</permission>
Error while building: missing name attribute in element .
But I don't want to duplicate permission name in my different applications. Is exist some way for fix it and contain permission in resources?
No, that's impossible. Take a look here. You can use resources to specify a label, but not the name: