1. Download our Official Android App: Forums for Android!

R.id cannot be resolved to a variable

Discussion in 'Android Help' started by Krushna Chulet, Dec 31, 2013.

  1. Krushna Chulet

    Thread Starter
    Rank:
    None
    Posts:
    0
    Joined:

    public void onCreate()
    {
    ...
    frame = (LinearLayout) findViewById(R.id.main_frame);
    ..
    }

    R cannot be resolve to a variable...
    Everytime i write program ... this issue occurs... how to solve this...
    plz help...
     

    Advertisement

Share This Page

Loading...