I have added an external library to my project and becuase it has a @string/app_name tag in its values file it changes my whole app name. I cant edit this values file. And somehow android studio prefer to take the external library app_name resource. How can i fix it?
Solution:
as Nicholas Tee said:
Change the app name in your AndroidManifest.XML under tag.You should see android:label=@string/app_name resource. In your string.xml, create another tag, let's say @string/app_name_mine. Change the android:label=@string/app_name to android:label=@string/app_name_mine
I have also needed to add an:
tools:replace="label"
to my application tag.
Change the App Name Usually, when you change the project name, you wanna change the name of your app too. Go to the res folder > values > strings. xml and change the app_name to your new name. Done!
Change the app name in your AndroidManifest.XML
under <application>
tag.
You should see android:label=@string/app_name
resource.
In your string.xml
, create another tag, let's say @string/app_name_mine
.
Change the android:label=@string/app_name
to android:label=@string/app_name_mine
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With