Xcode アップデートで Android Studio から git が使えない

MacOSのアップデートの後, AndroidStudio にてこんなダイアログ.

cannot_git

Can't start Git: /usr/bin/git
Probably the path to Git executable is not valid.

見えてない?


$ which git
/usr/bin/git

権限?


$ brew doctor

Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo.

Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry and just ignore them. Thanks!

Warning: You have an outdated version of /usr/bin/install_name_tool installed.
This will cause binary package installations to fail.
This can happen if you install osx-gcc-installer or RailsInstaller.
To restore it, you must reinstall OS X or restore the binary from
the OS packages.

Warning: Git could not be found in your PATH.
Homebrew uses Git for several internal functions, and some formulae use Git
checkouts instead of stable tarballs. You may want to install Git:
  brew install git

Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo.

Warning: You have not agreed to the Xcode license.
Builds will fail! Agree to the license by opening Xcode.app or running:
    xcodebuild -license

Warning: Some keg-only formula are linked into the Cellar.
Linking a keg-only formula, such as gettext, into the cellar with
`brew link <formula>` will cause other formulae to detect them during
the `./configure` step. This may cause problems when compiling those
other formulae.

Binaries provided by keg-only formulae may override system binaries

git は入っているので, おもむろに


$ sudo xcodebuild -license

...
9.12    Entire Agreement; Governing Language
This Agreement constitutes the entire agreement between the parties with respect to the use of the SDK licensed hereunder and supersedes all prior understandings regarding such subject matter. This Agreement may be modified only: (a) by a written amendment signed by both parties, or (b) to the extent expressly permitted by this Agreement (for example, by Apple by written or email notice to You). Any translation of this Agreement is done for local requirements and in the event of a dispute between the English and any non-English version, the English version of this Agreement shall govern. If You are located in the province of Quebec, Canada, the following clause applies: The parties hereby confirm that they have requested that this Agreement and all related documents be drafted in English. Les parties ont exigé que le présent contrat et tous les documents connexes soient rédigés en anglais.
...

By typing 'agree' you are agreeing to the terms of the software license agreements. Type 'print' to print them or anything else to cancel, [agree, print, cancel]          

agree

$ brew update

あ, いけたわ.

Git_executed_successfully_and_Preferences


「Google Play 開発者サービスのバージョン 5208000 を使用する APK をアップロードしました。バージョン 5100000 以下を使用してください。」でアップロードできない

なんなんだろうな, まじで.

APK_-_Google_Play_Developer_Console

バージョン 5100000 以下を使用してください

と書いてるので最新バージョンは, 5.1.00 と推定.

dependencies {
    compile "com.google.android.gms:play-services:5.1.00"
}

アウチ.

きっと, ベストな バージョンは 「5.0.89」なのでしょうね?

dependencies {
    compile "com.google.android.gms:play-services:5.0.89"
}

なんか, ここら, 最近あやしい...

「Google Play services out of date. Requires 5208000 but found 5089036」といってるけどこれは?


「Google Play services out of date. Requires 5208000 but found 5089036」といってるけどこれは?

こんなのではじめてますけど.

Google Play services out of date.  Requires 5208000 but found 5089036
GooglePlayServices not available due to error 2

1日以内の現象っぽい.

端末側のバージョンが古いのか.

20140809-080728

ネット上にあちこち出始めてるけど, これがまともっぽい.

java_-_After_update_-_crash_com_google_android_gms_play-services_5_2_8_-_Stack_Overflow

java - After update - crash com.google.android.gms:play-services:5.2.8 - Stack Overflow

アップデートがくるのをじっとまつか, 新しいバージョンの apk を探していれるか, しかなさげ.

compile 'com.google.android.gms:play-services:+'

開発リポジトリの先走りなのか, 配布の遅れなのか,

いや, もしかして API20 ?

とりあえず, 固定にしといたけど...

build_gradle

なんか最近ドタバタしてるようなー

Play Services 5.0.77 Deleted From Repo - Google グループ

Admob (gms 5.0.77) の吐いてた java.lang.NullPointerException が終わる件


スマホに 運転免許書 をかざしてみよう「ファストショット」で NFC を使う

トッパン・フォームズ株式会は、NFC対応のスマホやタブレットによるICチップ入り運転免許証の真贋判定を行うアプリを開発しました。この新システムは国内初のとりくみ。今年3月に発表した「ファストショット」の新機能として、8月よりリリース予定です。

使い方は簡単。アプリを立ち上げ個人情報を入力してから、ICチップ部分をスマホにかざすだけです。すると、スマホがICチップに登録されている顔写真情報や氏名、などの個人情報を取得。事前に入力したものとICチップで取得したものをサーバー内で照合することにより、真贋判定を行うという仕組みです。

スマホで運転免許証の真贋判定ができるようになりました : ギズモード・ジャパン

「真偽」でなくて「真贋」てなんだ?

しん‐がん 【真×贋】
本物と、偽物。また、本物か偽物かということ。「―を見分ける目」

真贋 とは - コトバンク

アプリをインストールしてみます.

あ...

ない...

(2014-08-02 18:20現在)

fastshot_-_Google_Play_の_Android_アプリ

ファストショット_-_Google_Play_の_Android_アプリ

トッパン_-_Google_Play_の_Android_アプリ

fastshot - Google Play の Android アプリ

「8月」ということなので, もう出るんぢゃないかと...

しばらく待ちです. 楽しみです.

(リリースされたら使ってみます!)

国内初、スマホ・タブレットで運転免許証の真贋判定を実現 NFCリーダー・ライターで運転免許証のICチップを読み取り、認証|ニュースリリース:2014年|トッパン・フォームズ株式会社

運転免許証と印影の同時撮影によりスマートフォンだけで口座開設申し込みが完了 - 新生銀行が日本で初めて印影の電子的取得を開始 -|ニュースリリース:2014年|トッパン・フォームズ株式会社


【Wearable / Material Design 満載】アプリ「Google I/O 2014」のソースコードが利用可能に

google_iosched 2

google_iosched

google/iosched

毎年ソースコード公開していますが, 勉強になります, これ.

どんな機能があるかを汎用的にまとめると

・ edit your personal schedule
・ Sync your schedule between all of your devices and website
・ View detailed Google+ profiles
・ +1 sessions right from the app
・ Participate in conversations on Google+
・ using the vector-based map
・ Get a reminder in your schedule are due to start
・ View information in the Developer Sandbox
・ Play live video streams
・ Beam from your NFC-enabled device to another using Android Beam
・ Scan on your NFC-enabled device
・ Send feedback from your phone/tablet, or from your Android Wear device

ビルド時の説明も細かくあります.

iosched_BUILDING_md_at_master_·_google_iosched

Building without Android Wear
If you do not wish to build the Android Wear component, you can remove or comment out the following line on android/build.gradle:

wearApp project(":Wearable")

Also, remove ':Wearable' from settings.gradle, leaving only ':android'.

iosched/BUILDING.md at master · google/iosched

確認する価値はあると思われます.

Google announced in a blog post that it has released the source code to the…
Google I/O 2014 App Source Code Now Available | Android Developers Blog