I want to upload my app to Google play store. After uploading the signed aab file in play console, I got this error:
You need to use a different package name because "com.example" is restricted.
So, I went to my android studio project and renamed my package. Now I constantly keep on getting the error:
error: package R does not exist
I changed the package name in my manifest file, and also tried cleaning and rebuilding the project. But it's not working. How do I resolve this issue?
If I use com.example.electric_viewing.R then it works. Why?