アプリを改修してアップデート公開しようとすると拒否られる.
AndroidStudio + Gradle の挙動が変わってる.
とりあえずは,
gradle clean
↓
gradle assembleRelease
↓
Generate Signed APK
でいける.
アプリを改修してアップデート公開しようとすると拒否られる.
AndroidStudio + Gradle の挙動が変わってる.
とりあえずは,
gradle clean
↓
gradle assembleRelease
↓
Generate Signed APK
でいける.
いろいろ記述方法が変わっているようにみえる.
最近, 遭遇したのは play-service ライブラリの
dependencies 部分のバージョン記述でこんなことが.
...
dependencies {
...
compile 'com.google.android.gms:play-services:+'
...
}
...
Google Analytics SDK v4 for Android を実装する
いまどきの開発で一番の依存頻度が多いライブラリといえば
バージョン付きの「Support Library」なのですが,
公式リファレンスを見ると, こうなっています.

Support Library Setup | Android Developers
一方, AndroidStudioの機能を使って, ライブラリの依存を追加すると,
気がついたら v4.

実装してみる, と.
Google Analytics SDK v4 for Android - Getting Started - Google アナリティクス — Google Developers
読んで, さらっと, 箇条書き
・libs以下のjar不要. 「Google Play Service SDK」に含まれている
・Application 拡張クラスにTrackerメソッドを配置
・AndroidManifest.xml に Applicationクラス名記述
・設定はXMLファイルに記述
実際, やってみるといろいろあったのでメモ.
ん,なにこれ.

バグレポートにも出始めている.
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
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.
あーっ,
![]()
で,どうすれば,
テストコードなど新規につくろうとしたら!
UnsupportedOperationException: isDirectory is not implemented: isDirectory is not implemented
なんなんすか、これは。
これのようです。
結局、今できる解決法としては、
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/
以下から「コピーして上書きしろ」ということです。

えええ、どうしたらいいのー?
。。。
と思っていたらプラグイン形式で配布してる人いました。