Google Analytics SDK v4 for Android を実装する

気がついたら v4.

Google_Analytics_SDK_v4_for_Android_-_Getting_Started_-_Google_アナリティクス_—_Google_Developers

実装してみる, と.

Google Analytics SDK v4 for Android - Getting Started - Google アナリティクス — Google Developers

読んで, さらっと, 箇条書き

・libs以下のjar不要. 「Google Play Service SDK」に含まれている
・Application 拡張クラスにTrackerメソッドを配置
・AndroidManifest.xml に Applicationクラス名記述
・設定はXMLファイルに記述

実際, やってみるといろいろあったのでメモ.

続きを読む >>


「Unable to load class 'com.android.builder.testing. api. DeviceProvider'.」と言い始める AndroidStudio

ん,なにこれ.

aaaa

バグレポートにも出始めている.

Upon first run with default name and creating first project got following error:

18:04:03 Failed to refresh Gradle project 'My Application'
Unable to load class 'com.android.builder.testing.api.DeviceProvider'.
This is an unexpected error. Please file a bug containing the idea.log file.
File a bug Show log file

Issue 67692 - android - Failed to refresh Gradle project 'My Application' - Android Open Source Project - Issue Tracker - Google Project Hosting

Opened up Android Studio today and got this error. Weird, I've never seen this one before, it says it's unexpected and that I should file a bug.

Issue 67693 - android - Unable to load class 'com.android.builder.testing.api.DeviceProvider' - Android Open Source Project - Issue Tracker - Google Project Hosting

あーっ,

Issues_-_android_-_Android_Open_Source_Project_-_Issue_Tracker_-_Google_Project_Hosting

で,どうすれば,

続きを読む >>


「UnsupportedOperationException: isDirectory is not implemented: isDirectory is not implemented」といってファイルを作成させない AndroidStudio 0.5.1

テストコードなど新規につくろうとしたら!

UnsupportedOperationException: isDirectory is not implemented: isDirectory is not implemented

なんなんすか、これは。

これのようです。

Issue 66818 - android - Error After upgrade to 0.5.0: UnsupportedOperationException while creating new file - Android Open Source Project - Issue Tracker - Google Project Hosting

結局、今できる解決法としては、

This is a bug in IntelliJ which was merged into the subsequent EAP build. It'll be available in AS 0.5.2.

Until then, the workaround is to copy over an existing file.

https://android-review.googlesource.com/#/c/85464/

以下から「コピーして上書きしろ」ということです。

Change I7557101c: Fix for IDEA-121307 Cannot create new file (StubVirtualFile throws an exception on isDirectory) | android-review.googlesource Code Review

Change_I7557101c__Fix_for_IDEA-121307_Cannot_create_new_file__StubVirtualFile_throws_an_exception_on_isDirectory____android-review_googlesource_Code_Review

えええ、どうしたらいいのー?

。。。

と思っていたらプラグイン形式で配布してる人いました。

続きを読む >>