Safely remove an Android Activity

I found my answer. To remove an activity, let the name of the activity is activity: Remove the activity.java file from src folder (java/your.package.name folder for AndroidStudio) Remove the activity.xml file from layouts folder (layout folder for AndroidStudio) Remove the activity.xml file from res/menu folder (this is an optional folder) Remove the <activity></activity> block of … Read more

How to add a Library Project to a android project?

File->New->Other Select Android Project Select “Create Project from existing source” Click “Browse…” button and navigate to johannilsson-android-actionbar\actionbar Finish (Now action bar project in your workspace) Right-click on your project -> Properties In Android->Library section click Add select recently added project -> Ok that’s it! Now you can use it

How to debug on a real device (using Eclipse/ADT)

Note: This answer is a heavily modified version of this guide that used to exist at developer.android.com. Portions of it are quoted verbatim from the original text without attribution for the specific parts that are quoted. With an Android-powered device, you can develop and debug your Android applications just as you would on the emulator. … Read more

Error: This Android SDK requires Android Developer Toolkit version 22.6.1 or above

I have solved this issue yesterday. Follow the steps : Help -> Install New Software -> Add -> (Give any name suppose NewUpdate) -> add this url : https://dl-ssl.google.com/eclipse/plugin/4.2 -> OK Now it will list the available updates, which should ideally be adt 20.x.x Select the list items Let it be installed. Eclipse will restart … Read more