Professor_DK icon indicating copy to clipboard operation
Professor_DK copied to clipboard

R is in red in the entire code

Open vasoolibhai opened this issue 7 years ago • 2 comments

At, the start I connected my app with firebase by adding codes in grandle and adding json file in projects-> app. Now, the problem is that whenever I make a new empty R goes on red before adding any activity everything is fone what is going wrong plz help. What i think is after attaching your app to firebase and adding json file and copying grandle codes we cannot add any new activity to do so u need to add all the activities before it am i right?

vasoolibhai avatar Aug 26 '18 21:08 vasoolibhai

Yes same with me.. I have started learning Android Studio 3 and this code shows many errors. Build Failed etc. It does not show up on emulator either.

punjabweb avatar Oct 09 '18 13:10 punjabweb

Delete the R and write it again, a list will open. Then press enter,it will be fixed or simply place the pointer at red R and press ALt+Enter. It will be fixed

zyllus17 avatar May 28 '19 17:05 zyllus17