eclipse-adt

How to add a Library Project to a android project?

坚强是说给别人听的谎言 提交于 2019-11-26 01:28:14
问题 I have created a new android project. I want to have a action bar at the top so I downloaded the Action Bar for Android Library because I want to support devices from android 2.1. The description says The action bar component is an Library Project. This means that there\'s no need to copy-paste resources into your own project, simply add the action bar component as a reference to any project. I am new to android so what does this mean? How can I add the library to my existing project? Import

Eclipse giving error, missing R.java file after recent update

被刻印的时光 ゝ 提交于 2019-11-25 23:25:26
问题 I have updated my SDK and ADT to the latest version, I have also update the Eclipse to Kepler the latest one after Juno . My ADT version is 22.0 . After this update when I create a new project, I\'m getting error, stating R cannot be resolved to a variable . I have imported import android.R; , but it is showing as unused import stating Don\'t include android.R here; use a fully qualified name for each usage instead . Same thing is happening with Mac OS also with the latest update. I have