普通のTextViewで文字サイズを変更したいときは、大抵setTextSize (float size)を使います。 でも、ウィジェットのRemoteViewsではsetTextSizeが使えないので、代わりにsetTextViewTextSize(int viewId, int units, float size) を使う必要があるようです。 …
AndroidStudioの起動時に次のようなエラーが出て、開発機が認識されない状態が発生しました。 Unable to establish a connection to adb. Check the Event Log for possible issues.This can happen if you have an incompatible version of adb running alr…
ライブラリのバージョンを更新していたら、 implementation 'com.android.support:appcompat-v7:27.1.1' のところで、次のようなエラー(ワーニング?)が出ました。 All com.android.support libraries must use the exact same version specification (mix…
しばらくAndroid Studioの更新をサボっていたら、4月はバージョン3.1.1と3.1.2の二つ更新があったようで、一遍に更新する羽目になりました。 今回の更新では、次のGradle Sync Issues(エラー)が出ました。 ・Configuration 'androidTestCompile' is obsol…
このブログに貼り付ける広告について、nendを試してみようと思ったら、以下の注意書きを発見。 「※nendはスマートフォン専用アドネットワークの為、PC端末やフィーチャーフォンからの閲覧では広告が表示されません。」 勝手に万能かと思っていた。。。