Today I discover an “experimental” feature in Android Studio. Since version 2.2, there is a new Project Structure dialog that allows update dependencies and get information about new releases.

I first assumed that the code editor in Android Studio follows something like Semantic Versioning in order to highlight minor update in dependencies, but not latest patches and beta (even alpha) versions, but that is not the case.

Android Studio will only highlight dependencies that Gradle consider as “promoted”. That means that “Gradle found some dependency conflict, and used default conflict resolution strategy, which is to prefer a newer version of some dependency” (thanks Stanislav @ StackOverflow for your answer here. More information about dependency resolution here.

In my previous post, I wrote about some libraries used to do AutoLayout in code. Finally, I decided to use SnapKit in a small app. Here is the code and the screens, hope you find this useful. (logos are blacked out). I’m only showing the parts of the code related to SnapKit, so do not expect to copy, paste, and run it 😛

HeaderViewController: all view controller inherits from this class, it contains the header part of the screen.

Second approach

Edit the local apparmor security profile for mysql inside /etc/apparmor.d/local directory, and add the directory who contains the images:

nano /etc/apparmor.d/local/usr.sbin.mysqld

melorriaga@ubuntu:/etc/apparmor.d/local$ more usr.sbin.mysqld
# Site-specific additions and overrides for usr.sbin.mysqld.# For more details, please see /etc/apparmor.d/local/README.
/folder/who/contains/images/** r