0

In some class of android source code ,they import com.android.mms.R, but I can't do it after I tryied. Are there any methods be used to import com.android.mms.R?

user1072605
  • 97
  • 2
  • 8

1 Answers1

1

If your class already imported import com.android.R, delete it. and clean the project rebuild it. from projects>clean

if you have used any of Res by R.XXXX your project R will automatically get imported or do ctrl + shift + O

Also if it doesn't work go to property(right click on project)>Android here select target version as 4.0, then clean it will go.. first remove import com.android.R line from class

AAnkit
  • 27,299
  • 12
  • 60
  • 71