shared library problems with eclipse on Ubuntu
I am using ubuntu 14.04 LTS 64 bits. and i installed eclipse Mars. and created "hello world" App. but the R class is always missing and never generated. @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main);//R cannot be resolved to a variable } and i did the folowing: -clean project. -delete the files in gen folder to be regenerated automatically -checked the XML files in your resource folders and all has no errors -right-click on the project->properties->Android to check that i am using the correct API but