Why these bugs occur why?
You might want to show us your import codes?
import com.example.myapp.R;
In my main activity should I import com. Kingapp. Love. R:
Maybe a screenshot of your applicationId inside build gradle and another one of your imports can help more; because the way you typed ur import doesn’t seem correct.
If ur package is com.Kingapp.Love then ur import must be
import com.Kingapp.Love.R;
without any spaces
import com.law.wedevelop.R;
This is a library error. Try reducing the library to 26 or even 25
Always ignore these R errors if there are other errors in ur projects.
Show me your full build gradle (the one with dependencies)
Instead of 27.+
Try 25.+ or 26.+
Here is a full guide.
Try the 25.+
Set your targetSdk to 25
remove the google ads dependency or just type // at the beginning of the line.
Extra step: Refresh Maven libraries in Settings > Build and Run
As a side note from my experience using AIDE: Not all libraries and dependencies are supported, and if I try to build a project from Github with the 27.+ nothing works hard as I try.
I always go for the 25.+ support libraries.
OK. Dear can you send whatsapp number
I’m not a pro dev! I’m just a noob and I went through the problem you encountered thats why I tried to help.