2019-09-05から1日間の記事一覧
java.lang.RuntimeException: Method optJSONObject in org.json.JSONObject not mocked. See http://g.co/androidstudio/not-mocked for details. 解決方法 http://g.co/androidstudio/not-mockedに書かれているように gradleファイルに以下を追加 testOpti…
ERROR: The Android Gradle plugin supports only Kotlin Gradle plugin version <バージョン番号> and higher. が出た時の対象法 gradleファイルのext.kotlin_versionを指定バージョン以降にあげる ext.kotlin_version = '1.3.10'
Cause: buildOutput.apkInfo must not be null 対処法 Build -> Clean Project してクリーンをしてから行う