[Android]LogCatが表示されなくなった場合の対応

久しぶりに発生したので、 備忘録として記録しておきます。

現象 今までLogcatでログが出ていたのに、急に出なくなった。
環境 Android Studio 3.2.1(on Windows 10)

“[Android]LogCatが表示されなくなった場合の対応” の続きを読む

[iOS][申請時警告] The resulting API analysis file is too large.

iTuens Store operation succeeded with a warning.
The resulting API analysis file is too large. We were unable to validate your API usage prior to delivery. This is just an informational message.

“[iOS][申請時警告] The resulting API analysis file is too large.” の続きを読む

[iOS]実行時エラーThis app has crashed because it attempted to access privacy-sensitive data without a usage description.

This app has crashed because it attempted to access privacy-sensitive data without a usage description. The app’s Info.plist must contain an NSMicrophoneUsageDescription key with a string value explaining to the user how the app uses this data.

“[iOS]実行時エラーThis app has crashed because it attempted to access privacy-sensitive data without a usage description.” の続きを読む

[Android]エラー対策 Invalid file name: must contain only lowercase letters and digits

Error: Invalid file name: must contain only lowercase letters and digits ([a-z0-9_.])

シンプルだけれど大事なので記事にしました。

“[Android]エラー対策 Invalid file name: must contain only lowercase letters and digits” の続きを読む

[Android]エラー対策 The specified Android SDK Build Tools version (22.0.1) is ignored, as it is below the minimum supported version (28.0.3) for Android Gradle Plugin 3.2.1.

マイグレーション時に発生。Warningレベル。警告。

全文
The specified Android SDK Build Tools version (22.0.1) is ignored, as it is below the minimum supported version (28.0.3) for Android Gradle Plugin 3.2.1.

Android SDK Build Tools 28.0.3 will be used.

To suppress this warning, remove “buildToolsVersion ‘22.0.1’” from your build.gradle file, as each version of the Android Gradle Plugin now has a default version of the build tools.
Update Build Tools version and sync project

“[Android]エラー対策 The specified Android SDK Build Tools version (22.0.1) is ignored, as it is below the minimum supported version (28.0.3) for Android Gradle Plugin 3.2.1.” の続きを読む

[Android]エラー対策 Could not find method google() for arguments [] on repository container.

Could not find method google() for arguments [] on repository container.

ビルド前エラーです。

私の環境では、Windows10が異常終了して復帰しなくなり、システム回復が行われてファイルがめちゃくちゃになったときに発生しました。
なにが置き換わったのかわからなくて苦労しました。

“[Android]エラー対策 Could not find method google() for arguments [] on repository container.” の続きを読む

[iOS]エラー対応 Provisioning profile “pp” doesn’t include the currently selected device “device”.

Provisioning profile “PROVISIONING PROFILE NAME” doesn’t include the currently selected device “IPHONE NAME”. (in target ‘APPNAME’)

原因
端末のUUIDをプロビジョニングプロファイルに登録するのを忘れていた。

“[iOS]エラー対応 Provisioning profile “pp” doesn’t include the currently selected device “device”.” の続きを読む

[Android]エラー対策 ‘S’ is not a valid file-based resource name character: File-based resource names must contain only lowercase a-z, 0-9, or underscore

‘S’ is not a valid file-based resource name character: File-based resource names must contain only lowercase a-z, 0-9, or underscore

“[Android]エラー対策 ‘S’ is not a valid file-based resource name character: File-based resource names must contain only lowercase a-z, 0-9, or underscore” の続きを読む

[Android]エラー対策 Android (app) has already been disposed (see the cause for stacktrace) so the child Sorry but parent: Android (app) has already been disposed (see the cause for stacktrace) so the child: {} will never be disposed

全文
Android (app) has already been disposed (see the cause for stacktrace) so the child
Sorry but parent: Android (app) has already been disposed (see the cause for stacktrace) so the child: {} will never be disposed

“[Android]エラー対策 Android (app) has already been disposed (see the cause for stacktrace) so the child Sorry but parent: Android (app) has already been disposed (see the cause for stacktrace) so the child: {} will never be disposed” の続きを読む

[Android]エラー対策Error:Execution failed for task ‘:app:compileDebugJavaWithJavac’. Could not expand ZIP

・Error:Execution failed for task ‘:app:compileDebugJavaWithJavac’.
> Could not expand ZIP ‘C:\Users\username\.android\build-cache\xxxxxxxxxxxxxxxxxxxxxxxx\output\jars\classes.jar’.

“[Android]エラー対策Error:Execution failed for task ‘:app:compileDebugJavaWithJavac’. Could not expand ZIP” の続きを読む