Question

I hae recently started android app development and have to face a problem. I've developed a small app to increase or decrease a label's value by 1 each. It was successfully developed and was working but after I edit the app_name(sting) value from "strings.xml" but it generated the error than I select clean option from project menu but number of errors increase instead of decrease.

Please guide me about this issue guidance would be appreciated.

Was it helpful?

Solution

you R.java file will be automatically deleted on cleaning the project if any xml file in the project having error so first correct your errors in strings.xml file then clean the project . you must have changed.

<string name="app_name">your app name</string>

app_name here . if you have done so then again make it as it was or go in manifest file

<application>
...
android:label="@string/app_name"
</application>

also change here the name what you given in strings.xml file. hope you understands ...

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top