Monthly Archives: March 2016

How to use Log.isLoggable

Copied in some code that had code such as: if (Log.isLoggable(TAG, Log.DEBUG)) { Log.d(TAG, “onConnected: ” + connectionHint); } and I couldn’t find any logs in logcat. If I remove the if statement then log commands appear. Solution was to … Continue reading

Posted in Android | Leave a comment

Difficult to properly install intelhaxm

To run virtual device for emulation of wearable app need to install Intel x86 emulator Accelerator. I read that the recommended method is to use the SDK. Ran the SDK manager from Android Studio, found the option under SDK Tools … Continue reading

Posted in Android | Leave a comment

dexDebug problem with WatchFace sample

Opened sample app WatchFace in Android Studio. When try to run build fails saying: Unexpected top-level exception … Multiple dex files Execution failed for task ‘:Application:dexDebug’ Found that in 2 build.gradle files (wearable & application modules) there were references to 2 versions … Continue reading

Posted in Android | Leave a comment