aidl is missing android studio

Environment: Mac OS 10.10.3 Android studio:1.2.11 grandle:2.2.1 the logļ¼š Information:Gradle tasks [:generateDebugSources, :generateDebugTestSources] :preBuild :preDebugBuild :checkDebugManifest :prepareDebugDependencies :compileDebugAidl FAILED Error:Execution failed for task ‘:compileDebugAidl’. > aidl is missing   // Top-level build file where you can add configuration options common to all sub-projects/modules. import org.gradle.internal.os.OperatingSystem buildscript { repositories { jcenter() } dependencies { classpath ‘’ […]

Redraw a single row in a listview

This question already has an answer here: Android ListView Refresh Single Row 6 answers

Fragment not receiving menu callbacks

I have a fragment class that extends Fragment and calls setHasOptionsMenu to participate in the menu. This class also implements onCreateOptionsMenu, onPrepareOptionsMenu and onOptionsItemSelected. public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setHasOptionsMenu(true); …. } I’m dynamically loading this fragment using a FragmentTransaction in my Activity (that extends FragmentActivity). However none of the menu callbacks (onCreateOptionsMenu, onPrepareOptionsMenu […]

Android project won't build when editing a resource file

I have an Android 1.5 project in Eclipse and whenever I merely have an xml resource file open the build dies with an error. E.g. if I have the res\layout\main.xml open as the active document it won’t build and throws the following error: Error in an XML file: aborting build. res\layout\main.xml:0: ERROR Resource entry main […]

Dynamically changing the fragments inside a fragment tab host?

I have one main activity which is fragment activity here I am setting two tabs with two fragments A and B in the B fragment I have one button when the user click on the button I want to change fragment B to fragment C. But the tabs above are visible… How I can achieve […]

Android OkHttp with Basic Authentication

I’m using the OkHttp library for a new project and am impressed with its ease of use. I now have a need to use Basic Authentication. Unfortunately, there is a dearth of working sample code. I’m seeking an example of how to pass username / password credentials to the OkAuthenticator when an HTTP 401 header […]

How to add a switch to android action bar?

I would like to add a button switch similar to jellybean native look. (Blue/gray switch at the top of the view) Documentation shows how to create a menu there or add icons, but it does not say, how to add a custom elements. eg. a switch.

Is there any way in Android to force open a link to open in Chrome?

I’m currently testing a webapp developed with lots of Jquery animations, and we’ve notice really poor performance with the built-in web browser. While testing in Chrome, the performance of the webapp is unbelievably quicker. I’m just wondering if there was any type of script that would force open a link in Chrome for Android, similar […]

Connecting ADB using Wifi for non rooted device

I am trying to connect ADB using WIFI on my non rooted android devices. Currently i have 3 android devices out of which 2 are running on Android 4.0.4 and 1 on 2.3. My device IP’s are,, I have enabled USB debugging on all of them and follow all the steps as […]

Xamarin forms android Application not getting DeviceToken Parse SDK

I’m developing xamarin forms application for both android and iOS. I’m implementing the PushNotifications for the same using Parse SDK. I’ve added Parse.Android dll in references of .Droid project and Parse.iOS dll in references of .iOS project. My problem is sometimes on Android I’m not able to retrieve the DeviceToken. There’re no entries for DeviceToken […]

Android Babe is a Google Android Fan, All about Android Phones, Android Wear, Android Dev and Android Games Apps and so on.