使える実績のある開発ライブラリを探せるページを探す

こんな話がありましたが.

Deprecate_Otto_in_favor_of_RxJava_by_swankjesse_·_Pull_Request__181_·_square_otto

Deprecate Otto in favor of RxJava by swankjesse · Pull Request #181 · square/otto

いきなり利用しているライブラリのメンテが終了すると,「乗り換え先」を探したくなります.

「便利」
「使える」
「実績のある」
「問題のない」

というのをどうやって探すか.

「有名なあのアプリが利用しているライブラリを見てみる」

というのがよさげ.

そんなサイトを2つ.

libtastic

個人のサイトかな?

libtastic 2

libtastic_-_Tumblr

libtastic_-_Technologies 2

libtastic_-_Technologies

機能別, ライブラリ別, アプリ別にわかりやすくまとめられています.

もうひとつは, アプリを紹介している AppBrain のサイトの一部.

Android library statistics - AppBrain

Android_library_statistics_-_AppBrain

Database_libraries_-_AppBrain

Android_utility_libraries_-_AppBrain

こちらもすばやく見つけることができそうです.

眺めておくだけでもだいぶ違うような気がします.


Android Studio 使えるエディタのテーマを「Color Themes」

IDEのエディタのテーマ集があります.

Color_Themes

Color_Themes 2

Color_Themes

Color Themes

ダウンロードしてインポートするだけ.

How to install a theme?

Select «File» → «Import Setting» from the main menu and follow the instructions. After the IDE restarted go to the Preferences, expand «Editor» → «Colors and fonts» tab and choose the installed theme.

IntelliJ IDEA に使えるということで AndroidStudio でも使えます.

Which IDEs are supported?

Themes on this site support fully all family of JetBrains' IDEs: IntelliJ IDEA, PhpStorm, PyCharm, RubyMine, WebStorm and AppCode.

y-a-r-g/color-themes


8.4.0 なのに「updating the version of com.google.android.gms to 8.3.0」

このように怒られ,

Execution failed for task ':app:processDebugGoogleServices'. Please fix the version conflict either by updating the version of the google-services plugin (information about the latest version is available at https://bintray.com/android/android-tools/com.google.gms.google-services/) or updating the version of com.google.android.gms to 8.3.0.

build.gradle を見ると「8.4.0」

apply plugin: 'com.google.gms.google-services'
...
dependencies {
  ...
  compile 'com.google.android.gms:play-services-gcm:8.4.0'
  ...
}

こんな答えだと.

android - Version conflict updating to 8.4.0 - Stack Overflow

...
dependencies {
  ...
  compile 'com.google.android.gms:play-services-gcm:8.4.0'
  ...
}

// 最終行にもってくる
apply plugin: 'com.google.gms.google-services'

 

まとめ

build.gradle (project-top)

...
buildscript {
    repositories {
        jcenter()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:2.0.0-alpha3'
        classpath 'com.google.gms:google-services:2.0.0-alpha3'

        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}
...

build.gradle (app-module)

...
dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
    ...
    compile 'com.google.android.gms:play-services:8.4.0'
    ...
}
apply plugin: 'com.google.gms.google-services'

おつかれさまでした.

google-services_build_gradle_at_master_·_googlesamples_google-services

google-services/build.gradle