Skip to main content

Posts

Showing posts from March, 2017

Updating to Android Studio 2.3 - "Cannot delete" file Error

 Updating to Android Studio  2.3 - "Cannot delete" file Error Android Studio can be a challenging IDE to get going with. Customizing settings, connecting to version control systems, configuring the interface, updating... There are enough sources of headaches to thoroughly demoralize the new developers. Recently, while updating to a new version of Android Studio (2.3) in Windows 10, I came across a very stubborn error that looked like this in the console window: Cannot delete file C:\Program Files\Android\Android Studio1\gradle\m2repository\com\android\tools\layoutlib\layoutlib-api\24.5.0\layoutlib-api-24.5.0.jar Unfortunately, the error always appears in the last stage of the update as a patch is being applied. It appears that this stage requires API level 24.5 libraries be deleted and replaced with API 25.2 and 25.3 libraries. Attempting to delete the .jar file [layoutlib-api-24.5.0.jar] manually results in an error saying the file is opened by the Java SE process or s

Simplifying Life with CSS Frameworks

Simplifying Life with CSS Frameworks Responsive Design, Mobile First, Material Design, UX, IxD...   You can choke on technology. It's coming fast and furiously. The biggest challenge of the 21st century may be how to simplify life. How to do one thing at a time when you have five LCD screens blinking at you all the time each with multiple notifications, announcements, ticker tapes, breaking news and all the rest of it. I can't solve all your li f e's problems but can share a little trick or two here and there. If you gather all these tricks, you could actually simplify life.  Mobile First  This is a recent approach to website design. In Kenya 97% of web users use their mobiles.  Few have computers, many have smartphones. Therefore, why make websites for computers when these are the minority? Why not make them for mobile first and adjust to fit the few who visit with computers. The chart below shows the data from Google Barometer for Kenya: Mobile access i