HAXM and Lollipop

I had the same issue when creating a Nexus 6 AVD with an x86_64 image and it appears the HAXM does not support that on an old Core 2 Duo (Mac Book Pro late 2009 for example). This is specified in the Release note known issues in $ANDROID_SDK_HOME/extras/intel/Hardware_Accelerated_Execution_Manager. HAXM driver does not support emulating a … Read more

android lollipop toolbar: how to hide/show the toolbar while scrolling?

As far as I know there is nothing build in that does this for you. However you could have a look at the Google IO sourcecode, especially the BaseActivity. Search for “auto hide” or look at onMainContentScrolled In order to hide the Toolbar your can just do something like this: toolbar.animate().translationY(-toolbar.getBottom()).setInterpolator(new AccelerateInterpolator()).start(); If you want … Read more

Android 5.0 (L) Service Intent must be explicit in Google analytics

If you’re trying to use Google’s Licensing mechanism, solution that worked for me: // explicit Intent, safe Intent serviceIntent = new Intent(ILicensingService.class.getName()); serviceIntent.setPackage(“com.android.vending”); boolean bindResult = mContext.bindService(serviceIntent, this, Context.BIND_AUTO_CREATE); This is located in com/google/android/vending/licensing/LicenseChecker.java. Do a search for “Base64.decode(“ Edit: Adding reference to Google Licensing java file that has to be patched: com.google.android.vending.licensing.LicenseChecker.checkAccess(LicenseChecker.java:150) patch: new … Read more