Accepted answer

what will said was right

r is an automatically generated class that holds the constants used to identify your >resources. if you don't have an file (it would be gen/eu.mauriziopz.gps/ in >eclipse with the 1.5 sdk) i would recommend closing and reopening your project or going to >project > build all (and selecting "build automatically" while there as recommended by >josef). if that doesn't work than try making a new project, if the problem is recreated than >post here again and we'll go into more detail.

but i've found out that there was another problem that was causing the first one. the tools in the sdk directory didn't have the permissions to be executed, so it was like the didn't exist for eclipse, thus it didn't build the file.

so modifying the permission and selecting "build automatically" solved the problem.


press alt+enter and import



and solved.


check the content of your xml file. if layout_width or layout_height contain the match_parent element, then change it to fill_parent. it solved the problem for me.


i'm guessing you just copy and pasted the codes, or not. either way check your androidmanifest.xml file, see if the package name is correct.


this could be an issue caused by manually renaming the package in the androidmanifest.xml

an alternative is to use the built in tool to rename the package, this will take care of most of the problems avoiding the r not found issue.

right click on the project
click on android tools
click on rename application project
enter the new package name

then a pop-up will appear asking for changes to be applied, including the r workaround.

source: rename package name in android


to resolve r

  1. make your all xml file correct

and then clean project in build menu

this is the simplest way to do it

hope it hepls.


i had the same problem. in my case had to do with the layout xml file names. i had some of the file names with uppercase letters in them:

screenqs.xml - didn't work!

screenqs.xml - worked!


another way this can occur is if you start a new project from one of the samples. when you later decide to change the package name from to your own domain, you will need to modify several values in the manifest and in individual .java files.

if you're in eclipse, find the package statement for the .java file and choose quickfix. there may be several choices there, but the one you want is the one that indicates to "move '' to package ''. save the file and it may autobuild or do as others have suggested and try "project->clean".


my r file disappeared and wouldn't generate - the console reported this:

[2010-09-22 16:19:40 - myproject] res\drawable-ldpi\downloadnow.png: invalid file name: must contain only [a-z0-9_.]

so it turned out that resource names cannot have capital letters - confirm that they are all small letters and contain . and _ only


i faced the same problem after putting some graphics in the drawable folder. there was some error and when i tried to clean, the file was not there.

so i carefully checked and found that there was some files with uppercase file names and some files are having the same name but different file extensions. i renamed those files and had a unique name in lowercase for every file. remember android cares about the name of the file, not the extension.

maybe this can help to you or other readers.


of the many possible problems that could cause this, this is what fixed it for me.

right click on project -> properties -> java build path-> source.

then add the gen and src folders. for some reason, android wanted me to only have the overall folder.


i had tried all of the above with no prevail. it turned out phonegap was causing a conflict with the android sdk. after uninstalling phonegap, the resources file started regenerating again. another project, needed phonegap so i re-installed, and once again, the android project (a different project) stopped auto-generating the r file - build automatically was checked, did the clean, and restarted eclipse - no dice. i removed phonegap and it was working once again. this was phonegap v 1.5 with the mds 1.1 plugin for eclipse.


make sure if you're looking for r.drawable.* that the file exists in your drawable* folders.



project clean after eclipse restart. they are auto generated, otherwise you are xml inner any component (like button) after ctrl + shift + o. it autogenerated the r file and then the error was solved.


one shoudn't try to import android.r. try to fix all errors that appear in xml files, including the manifest file. when all errors are cleared, will reappear.


in my case i was trying to convert my project into maven. after while(and thousands of random errors which were saying nothing) i tried to undo all of operations. what i didn't notice .project file was changed and it wasn't visible inside eclipse.

only reverting .project file to before-maven version helped me fixing this error.


for me it was because of wrong java compiler version. project properities -> java compiler, enable "enable project specific settings" and choose your "compiler compliance level"


i was facing the same problem, i googled and tried suggestions i found but none of them worked for me. i changed my workspace and it worked, but before changing your workspace try other workarounds you have. any one of them might work for you.


this worked for me.

i had no 'import android.r' in the brand new project the eclipse wizard created. the default xml layout file was lower case as well.

problem was eclipse was not generating no amount of cleaning/restarting was having any effect.

i commented the setcontentview and getmenuinflator calls and the make succeeded after which eclipse generated

once was generated, i was able to uncomment setcontentview and getmenuinflator.


i tried most method above , but not work my case

finally i found out the adb lost

for mac os , go to android sdk directory

type ./adb start-server


check that the library projects that you've imported into the app are all open.

and for some reason, if you haven't added anything to the activity, like oncreate(), it won't understand what r is.


i have got this same problem today. i've tried to perform all sdk update using sdk manager . after finishing and restarting ide problem has been resolved.


there are two ways that r will an error

1) problem with your layout file ie xml file

2) if you update adt then the r problem will occure. - you have to check properties for the project - goto->properties ->java build path -> order and export and check for all the lib .

it will solve the problem.


first of all look at your gen file if it contains your package name and or no. if it was empty maybe you don't have permission to create new files so exit eclipse than right click, run as administrator and clean your project and everything will be correct.

otherwise you should have an error in your xml file maybe or check the other answers.


i tried most of the options on this thread (and many others) and nothing worked for me. finally this one worked so i thought to share it with everyone...

i have multiple versions of eclipse ide on my machine (because i also work on non android related projects). accidentally i created my android project using a workspace that was being used by another (non-android) version of eclipse. due to this i guess something weird was going on and my was never getting generated!

to fix this, all i did is created a new workspace and magically started getting generated and everything went smoothly...

so while you are trying all other options, give this one a shot too. and hope it'll work for you...


this works.

step 1:


step 2:

load eclipse and load the project > run and test will work on the fly

step 3:

update here if anything is wrong.

enjoy. happy coding.


i followed the advice to install the platform build tools. then the message

<package>/gen already exists but is not a source folder. convert to a source folder or rename it.

appeared in the console. so i followed the advice and set "gen" as a source folder. this fixed the issue.


i would say "r can not be resolved" is something too general and can be misleading at times. i also had the same problem many times ago even when i first create a new project (which mean i did not mess with the code yet). most of the time i just need to update my sdk manager (as some people have mentioned). but in my recent case, i found out that the path to my project file is too long (something like this e:\r&d\android\android basic\folder 1\ folder 2\..... \folder n\myproject). the folder names also contain spaces character. i thought it could be the case and indeed it's true, when i created a new project in another folder with shortest path possible, and none of the folders' names containing space character, it worked as normal.


what worked for me is installing "android sdk build-tools". open the android sdk manager and install the android sdk build-tools. it also helped to update the andriod development platform in eclipse: help > check for updates


right click on your project and click refresh or hit f5


import r class with your package name. do not import android r class.


reason might not get auto generated is if you have directories like


image name should be in a proper way

check the image name and check the and layout/any.xml and string.xml


this is a very old thread, i had a new finding today. i have created an activity, i put it in another package(by mistake). in the newly created class, eclipse was not able to resolve r.

i tried all the ways mentioned in many places but i failed to notice that i put it in a different package. after struggling for few minutes i noticed that i put it in wrong package.

if you are not keeping your activity in the activity package, you will get this error.


if you work with eclipse: sometimes eclipse supresses the error messages in the ressource files. solution: save a temporary ressource that has no errors in the layout folder. build the project new. then eclipse shows the correct error in the ressource file. delete the temporary ressource.


also, if you have extra files like "desktop.ini" in your res folders that are added by the os but are totally unnecessary, try deleting them. this apparently was one of the things blocking the generation of in an imported project of mine.


each time i had a problem with r not been generated, or even disappeared, this was due to some problem in the xml layout file that prevented the application from being built.

r is a generated class. if you are using the android development tools (adt) it is generated whenever the project is built. you may have 'build automatically' turned off.


r is auto generated resource in android project some times it happens don't exactly know why but have you try build automatically option from project

=>remove other import of r file of other project or android.r =>always remember if you always face problem with auto generate id or auto deleting r file you can generate static id like string file and use that with @id instead of @+id


oh god i am linux (ubuntu) this is how i resolved it:

first thing the problem is permission problem i was not seeing any perission realted error but that was the problem. the tools were not have executable permission.

so just a a quick fix(if you know the exact file that need executable perission apply the ff command specifically to them.)

change to the dir you put your sdk, then:

sudo chmod +x -r .

after that goto project->clean->select your project->clean

that worked for me!.


when running x64 linux you may be missing some x32 build libs. ex for debian make sure you have libc6-i386 & zlib1g packages installed.


the real question is how to prevent the import android.r; from returning:

window -> prefs -> java -> editor -> save actions

uncheck "organize imports."

that will do it.


my solution (on eclipse juno) was to click on "fix project properities" by:

  1. click right mouse button on project
  2. choose android tools menu
  3. click on fix project properities

ps. first check if r library is not implemented and if all files in res/ folder are ok.


yet another reason this might happen: tonight, i met the dreaded error, and eventually discovered an errant mouse drag apparently moved one of my own packages' classes into the hierarchy of another. there is truly no end to the number of ways you can screw yourself in the eclipse environment.


from the many answers that were offered here, what helped me is to change the order at the "order and export" at the java build path. on you project -> project properties build path

3.order and export

change the order of the build class path to be

1.(your-package-name)/src (version number) dependencies



just clean and rebuilt your project it sometimes help


sometimes it helps when you manually create file just simple empty


in my case this error was because i imported a image to the folder /res, and the image had a invalid name. can't believe that i spend almost a hour with this problem until i realized that the image had a invalid name :/


i had the same issue, but couldn't find out what xml file caused the error.

thanks to this post i installed build tools 18.1.1 instead of 19 and it showed me the defective file. it seems that version 19 doesn't show the actual error.

hope it helps someone :-)


i had this problem many times and i found that some times "r wont resolve" accrue because:

  1. some bad named resource have exist like: an image with name my imge.png
  2. or some error in resources like error in xml files or error in defining resource in your forms that won't exist.

in these case you even can't import your own package r to your project. so go to your resource folder and search for 2 above points.

this will work


same thing happen to me , and i passed a day to fix this. really this is a stupid error. i am just shearing my experience, may be it would helpful to you . first look carefully when you type this setcontentview(r.layout.activity_to_do_list); hear your starting point r.l then eclipse should open a suggestion for you look like thisenter image description here

you import the second one not layout-android.r . the second one is created in your project hear com.example.gridtest is the project package name . then focus your imported section in your code enter image description here

ok look this import com.example.gridtest.r; its important . if you already import this android.r then remove it. thank you hope it works . ( you don't need to do this always but if you face this kinda problem then do this, hope it would help )


some answers suggest restarting the computer. i have found that restarting the adb server is enough -- this is particularly true if you've just updated the android sdk.

restart adb via a linux shell:

$ cd $android_sdk/platform-tools
$ ./adb kill-server
$ ./adb start-server

you may need to restart eclipse so it can reconnect to the restarted adb server. you may need to do a clean/build if eclipse doesn't compile projects automatically.


  1. close all files, clean project, restart eclipse.


  1. r is an automatically generated class that holds the constants used to identify your resources. if you don't have an file (it would be gen/eu.mauriziopz.gps/ in eclipse with the 1.5 sdk) i would recommend closing and reopening your project or going to project > build all (and selecting "build automatically" while there as recommended by josef). if that doesn't work than try making a new project


i solved my issue with this by putting the resource files directly in the directory specified by android. i had mistakenly believed that r.raw could contain the entire file directory of my resources. all files must have r.raw as their direct parent directory.


make sure that all your resources files doesn’t have upper case extension. i found out that i saved some images with upper case extension .png. i changed it to .png and everything got back to normal.


it worked for me with right click>android tools>fix project properties and some time aftr restarting eclipse.


a better and more promising solution

  1. close eclipse and open your workspace directory.
  2. look for a folder named ".metadata" and delete that folder.
  3. open eclipse.

the error should go away :)


when you have just opened your project, it takes a while for android studio to load things up. it happens a lot with me. i just sit back and watch a youtube video for 5 minutes while it is done loading.

by then the cant resolve symbol r is gone! :-)

if you have checked and re-checked everything mentioned above, made sure that the project has completed building, i'd suggest you to patiently wait... if not clean and rebuild the project.


just restart your project

file>>invalidate caches /restart


  1. android automatically creates a .r file not need to import
  2. import android.r.* << file auto created by android studio
  3. android studio has lots of caches hold and that's why some time it's occurred


if you are on a mac, check if a .ds_store has been added to a directory in /res (ls -al on the terminal command line). remove it and refresh/rebuild.


recently, i faced a similar situation with r that could not be resolved.

  1. project -> clean (it usually works, but this time it didn't).
  2. i tried to remove the gen/ folder (which automatically gets built) - nope.
  3. dummy modifying a file. nope again. by now i was going grey!
  4. i checked in the androidmanifest.xml file if appname was present. it was - checked!
  5. looked again at my res/ folder...

and this is where it gets weird... it gives an error, in some but not all cases..

i added the formatted="false" flag:

    <string name="blablah" formatted="false">



wow. i resolved my r issue by tracking down all possible errors in all xml files and related resources. i know that is a handful of layers, but simply you must:

  • make sure any referenced resource image is actually there
  • everybody already mentioned so much that this is just echo... remove all eclipse injected r.* imports if need be.
  • i like to restart eclipse when i do the above.
  • make sure all xml files are properly structured. like, just do your stuff. hahaha
  • go through as many lines as you can. get in the habit of hitting ctrl + shift + s often to get compiler results quickly changed.

hahah. sure it is nice to get the r cannot be resolved fixed though...


for me, i removed "import android.r;" and it fixed all my problems. what a nightmare!!!


if cleaning the project doesn't work and if there is no problem with xml files(if it is a new project). then go to androidmanifest.xml,edit it and add some spaces between the lines, save it. now clean the project, error will vanish.

this happens because of stale file. when we edit android manifest file, is created again.


to resolve this issue please go to java build path->order and export and select all checkbox and select ok and then clean and build project and import your package name r file(ex com.demo.r). it works.


i solved it for myself with window->preferences->android and sdk location: path to adt\sdk e.g. c:\adt\sdk


i think the problem is in layout.xml file or in import statement.

be sure that you have not imported, instead of import r.your package name..

it will work fine.


for me it was due to using 'private' android drawables:

[2015-11-26 18:59:48 - myandroidapp] 
error: error: resource is not public. (at 'icon' with value 

the interesting thing is that this errors didn't show up in the console until i removed the reference to the file using the icons (ugh!).


now the solution was quite obvious, copying the icons into my project (res/drawable-xxxx/) and switching to local references.


hope this helps.


1) first of all close all the file.
2) go to the build -> clean project.
3) go to the build -> rebuild project.

this works for me.


my problem was that i left out the = mark from the strings in strings.xml e.g. <string name"dialog_grl... it did not appear to me even when the graphical layout of my .xml file could not show the strings. after a project clean all files got messed up.


check with the class files imports above and make sure that there is no import of android.r, if it has then remove it and then press ctrl + shift + o and select the packagename.r import not the other one.


just clean and rebuilt your project it sometimes help

make sure that there is no error in your res/drawable folder in android.while naming images in this folder don't give numbers and capital letters.


there are several reasons of r can't be resolved.

  1. most of time this error occur for xml file fault. this error can be solved by clean and rebuild your project, also you can restart your android studio.

  2. sometime if you codeing some wrong thingin androidmanifest, this error can be occur so please check this.

  3. if your resources contain the same name or they have invalid characters, this error can be occur.

if you already check those and yet you are facing with same problem then go ahead:

this error can be occurs when android studio fails to generate the file correctly, so you have to follow those steps:

step 1: safely delete the build folder from app directory.
step 2: in android studio, file -> invalidate caches / restart
step 3: build -> clean project then build -> rebuild project.

so build folder will be regenerated and hope so error is gone.

if error still found then maybe you have performed refactoring the package name previously. this case you can press alt + enter together for import the r.


i changed android:versionname in file androidmanifest.xml from 1.0 to 1.1. that regenerated my file, and i'm a happy camper. i hope this might help somebody.


so i have run into this problem multiple times when switching build targets. usually doing a project >> clean worked for me. this last time, however, it did not. finally i tried to open my file, located under the root project folder. i received an error message stating that it was out of sync with the file system. i actually deleted it and copied a coworkers version which allowed eclipse to rebuild my r file. i will paste what it looks like below. it is named ''.

# this file is automatically generated by android tools.
# do not modify this file -- your changes will be erased!
# this file must be checked in version control systems.
# to customize properties used by the ant build system use,
# "", and override values to adapt the script to your
# project structure.

# indicates whether an apk should be generated for each density.
# project target.


i had the examples of android 8 and was trying to use android 7 sdk. when i closed the project and reopened the application folder and chose to use android 8 sdk, it was able to find the r file. hope this helps.


change build target from 1.5 or 1.6 to 2.2 (api version 8), and check if you have the % character in string.xml. if yes, replace with %%.


in my case, i had an error in my androidmanifest.xml. others have said that your xml files must be free from errors, but i was only looking in the res/ folder. find and fix as many possible errors and the problem may well resolve itself.


unfortunately none of the existing questions helped. since my problem seems platform specific, this may only work if you are on ubuntu 64 bit (i am currently using ubuntu 12). at first i did not see the "problems" window, which already hinted a solution, that on 64 bit environment you need the 32 bit libs, which may be missing:

sudo apt-get install ia32-libs

i installed the package and rebuild my project, which fixed the issue for me.


restart your computer.
nothing helped me except this way


every time i come to this error and always been landed on so. and end of the day the reason is same.

so please keep in mind always this small note

i found most of the time reason is - error in xml layout

if your xml isn't correct, then the r file is not generated after a build.


in my case, was not generating because there was a problem in androidmanifest.xml file wherein i had wrongly specified the name of an activity!


install all android sdk build-tools and remove import android.r in your activity class. after click project -> clean

import android.r;

enter image description here


in case anyone is interested (i might be saving your life here), i had the error, r.xml cannot be resolved, slightly different on a gls project. hmmmm. after looking in, i found an auto-generated class,, (i think) was not there.

solution? it needed a new folder in res: res\xml and a file called default_values.xml in there. then all was ok.

just in case you have not got that file, it's:

<?xml version="1.0" encoding="utf-8"?>


often times this is because of the minsdk version number you supplied when creating the project. example:

if you want 2.1 to be the minimum, android 2.1 is actually api level 7.

you can see what i am talking about when you browse the sdk you downloaded and installed. navigate to the place you installed the sdk to (c:\android-sdk-windows for example) and open the folder named "platforms". you will see something like "android-7" listed as a folder, and if you open that there is a file that, when opened with a text editor, will show you the corresponding platform version.

when you create a project, and you must select a "build target" api, the last column in that list named "api level" shows the number you are looking for when populating the minsdk setting.

this is probably one of the most common mistakes that results in the file not being created under project > gen > packagename >


remove main.out.xml. i'm new to this and don't yet know what this file is used for, but removing it cleared the problem.


just go to android top menu list. click on build menu, in under build click on rebuild project.

enter image description here


first check is there any error in any xml layout or not, if then resolve it first.

otherwise remove junit dependency from project and rebuild the project.

enter image description here


yet another reason might not get autogenerated is if you have directories like res/drawable-hdpi, res/drawable-mdpi, or res/drawable-ldpi.

1.6+ seems to be ok with these directories, but 1.5 doesn't want them. when i removed those directories, started autogenerating for me again.


try to make your new xml layout file name lower case. for example, use my_file.xml instead of myfile.xml.


i had this problem as well. it turned out that i had inadvertently deleted the "app_name" string resource from the strings.xml file, which was causing a silent error. once i added it back, the r class was generated successfully and everything was back up and running.


you may need to update sdk tools. relaunch android sdk manager again and install a new item: android sdk build-tools.

enter image description here


you may need to update/install sdk tools. relaunch android sdk manager again and install a new item: android sdk by one delete,fix which one work for you.enter image description here


this error cropped up on my x64 linux mint installation. it turned out that the result was a failure in the adb binary, because the ia32-libs package was not installed. simply running apt-get install ia32-libs and relaunching eclipse fixed the error.

if your x64 distro does not have ia32-libs, you'll have to go multiarch.

check #4 and #5 on this post:

hope this helps someone.


r is a generated class. if you are using the android development tools (adt) it is generated whenever the project is built. you may have 'build automatically' turned off.


check the xml file names. be sure that they're all in lowercase.

also make sure that any image resource names are also all in lower case. i had a capital letter in the name of my jpg file, and it caused the r unresolved error right across my project.


simplest solution - sometimes you just need to save the xml file you were working on to get the autogenerator to kick in.

save the file (e.g. main.xml) then delete the file and see if the regenerated resolves the r resolve problem.


i just had this problem for the millionth time and realized what was causing it: i created an xml file with uppercase letters in the name. all your xml filenames in /res must match [a-z0-9\\._].


make sure you installed the android build tool form sdk manager

project right click properties-> java buildpath select library and add android-support.jar the follow these step.

go to project->properties->java build path than select order and export tab. set android-support .jar library checked and up it into top of the list. and clean and works for most of the cases

enter image description here


this error can also be caused by adding an activity to a namespace that is different to the root namespace for your package.

for example, if com.example.myapp is the root namespace for your package, you can then add an activity to the com.example.myapp.activities namespace.

this will produce the "r cannot be resolved" error.

to fix the import the r in the default namespace in your activity should be:

import com.example.myapp.r;


along with the great suggestions in the previous answers, make sure your android target is set:

  1. right-click on your project
  2. choose properties
  3. choose android in the left menu
  4. tick a box next to the appropriate project build target.
  5. click apply and ok

edit: a year later i found another cause. i had a .jpg image in my drawable folder with the same name as a .png image. referencing this image in my code must have confused the program and it gave the "r cannot be resolved" error.


it is worth checking in androidmanifest.xml. the attribute package has the correct value.

that is:

<manifest xmlns:android=""

after you change that, the will be re-generated.


close all files, clean project, restart eclipse.


r is an automatically generated class that holds the constants used to identify your resources. if you don't have an file (it would be gen/eu.mauriziopz.gps/ in eclipse with the 1.5 sdk) i would recommend closing and reopening your project or going to project > build all (and selecting "build automatically" while there as recommended by josef). if that doesn't work than try making a new project, if the problem is recreated than post here again and we'll go into more detail.

score:89 is a file that the android eclipse plugins creates while building your application. is created under the "gen" directory. this file is generated from the information in the "res" directory. if you run select "project" -> "clean..." on the eclipse menu, it will remove and then regenerate the file.

the problem "r cannot be resolved" happens when you change your package name in the androidmanifest.xml file. it uses your android package name to create a subdirectory under the "gen" directory where it stores the file.

eclipse may have problems executing clean, because it is confused about where the file is when you have changed the android package name. you can either rename the subdirectory under gen to match your new package name, or you can change your package name back to the old name. do the clean and then change the package name to the new name you want. this works best if you stop eclipse from trying to build while you are changing the package name. under the "project" menu uncheck the option to "build automatically" and also when the "clean..." dialog asks if it should "start a build immediately" uncheck the box so it doesn't try to build while you are changing the package name. after you have changed the name you can turn "build automatically" back on again.

note that if your androidmanifest.xml file package name does not match your java package name, eclipse will end up automatically adding an "import <your android package name>.r;" line in all your .java files that have any references to r. if you change your androidmanifest.xml package name, sometimes eclipse does not update all of these added imports. if that happens, use the eclipse refactoring (alt + shift + r) to change the import statement in one of your java files to your new androidmanifest.xml package name. it is best to do this while you have disabled "build automatically".


and another thing which may cause this problem:

i installed the new adt (v. 22). it stopped creating gen folder which includes the solution was to also install new android sdk build tools from android sdk manager.

solution found here


my project have include a the beginning ,r.layout.main work good.but,after adding some code it doesn't work,and the error is r.layout.main can't resolved.what's the problem?

look at your imports. chances are that the line:

import android.r;

will be there. if that's the case, remove it, so that your project will resolve r not with the default android resources class, but with the one auto-generated from your /res/ folder.


whenever you get

r cannot be resolved

then check for the /res directory and there must be some file that have some error in it and that is preventing the application from being built. for example, it may be a layout file or it may be due to some missing resource is, but you already defined it in the xml file.

if you have any additional, even unused (!) or unreferenced (!) images in a folder like res/drawables-mdpi which do not comply to the file naming conventions (may contain only [a-z0-9_.]), the class might not generate, causing the chain of events all the other posts referred to. hope it helps!


each time i had a problem with r not been generated, or even disappeared, this was due to some problem in the xml layout file that prevented the application from being built.


after tracking down this problem as well, i found this note in the android documentation:

*note: eclipse sometimes likes to add an "import android.r" statement at the top of your files that use resources, especially when you ask eclipse to sort or otherwise manage imports. this will cause your make to break. look out for these erroneous import statements and delete them.*

while going through the android sample tutorials, i would often use the ctrl + shift + o command to "organize imports" and generate any missing import statements. sometimes this would generate the incorrect import statement which would hide the class that is automatically generated when you build.

Related Query

More Query from same tag