1. Are you ready for the Galaxy S20? Here is everything we know so far!

Import R class error

Discussion in 'Android Development' started by ionut hanu, Jul 13, 2017.

  1. ionut hanu

    ionut hanu Lurker
    Thread Starter

    hi! I work on a application and i have an error. i want to implement an RSSobject in my apk and i found a tutorial on youtube. When i typing alt+enter on R i don't found import class. i put 2 pictures tot understand what problem i have, first is from tutorial and second from my application.
     

    Attached Files:

    • 12.png
      12.png
      File size:
      978.3 KB
      Views:
      213
    • 13.png
      13.png
      File size:
      270.1 KB
      Views:
      157



    1. Download the Forums for Android™ app!


      Download

       
  2. Deleted User

    Deleted User Guest

    The R class is auto-generated by the build process. Because you have a build problem, it didn't get created. Fix the error in main_menu.xml, as highlighted by the build error log.
     
  3. ionut hanu

    ionut hanu Lurker
    Thread Starter

    i solved that problem from main_menu.xml and R class is not auto-generated
     
  4. Deleted User

    Deleted User Guest

    Try a clean build
     
Loading...
Similar Threads - Import class error
  1. Oldschool297
    Replies:
    2
    Views:
    572
  2. ghostanime2001
    Replies:
    0
    Views:
    669
  3. hussanhijazi
    Replies:
    0
    Views:
    1,270
  4. tiho_bg
    Replies:
    0
    Views:
    1,860
  5. unet
    Replies:
    0
    Views:
    2,738
  6. DonaldDuck313
    Replies:
    0
    Views:
    2,349
  7. Yaron21
    Replies:
    8
    Views:
    854
  8. Motorhomer14
    Replies:
    0
    Views:
    1,726
  9. mawallace
    Replies:
    1
    Views:
    4,646
  10. raywood
    Replies:
    1
    Views:
    964

Share This Page

Loading...