こういう設定があるのは知っているけど設定をどこでするのか毎回分からない、ので。
[Run]
↓
[Edit Configulations...]
↓
✅ [Show logcat automatically]
✅ [Clear log before launch]

![✔[Show logcat automatically]
✔[Clear log before launch]](https://i0.wp.com/android.benigumo.com/wp-content/uploads/2023/10/51ec1c8bc54284c8dde09ff694e855e7.png?ssl=1)
基本的にこの2つはONにしてていいと思います。
こういう設定があるのは知っているけど設定をどこでするのか毎回分からない、ので。
[Run]
↓
[Edit Configulations...]
↓
✅ [Show logcat automatically]
✅ [Clear log before launch]

![✔[Show logcat automatically]
✔[Clear log before launch]](https://i0.wp.com/android.benigumo.com/wp-content/uploads/2023/10/51ec1c8bc54284c8dde09ff694e855e7.png?ssl=1)
基本的にこの2つはONにしてていいと思います。

GNU gsed をインストールした後の表示。
GNU "sed" has been installed as "gsed".
If you need to use it as "sed", you can add a "gnubin" directory
to your PATH from your bashrc like:
PATH="$HOMEBREW_PREFIX/opt/gnu-sed/libexec/gnubin:$PATH"
sed のように利用するには PATH を優先しておく、とのことだが。
GNU パッケージは、「パッケージごとに」シンボリックシンクが分かれている。
Commands also provided by macOS and the commands dir, dircolors, vdir have been installed with the prefix "g".
If you need to use these commands with their normal names, you can add a "gnubin" directory to your PATH with:
PATH="$HOMEBREW_PREFIX/opt/coreutils/libexec/gnubin:$PATH"
👉 coreutils — Homebrew Formulae
自分のマシンで見てみる。
❯ ls -l $(brew --prefix)/opt/*/libexec/gnubin
/opt/homebrew/opt/gnu-sed/libexec/gnubin:
total 0
lrwxr-xr-x@ 1 mao admin 14 Nov 7 2022 sed@ -> ../../bin/gsed
/opt/homebrew/opt/gsed/libexec/gnubin:
total 0
lrwxr-xr-x@ 1 mao admin 14 Nov 7 2022 sed@ -> ../../bin/gsed
/opt/homebrew/opt/libtool/libexec/gnubin:
total 0
lrwxr-xr-x@ 1 mao admin 18 Mar 17 2022 libtool@ -> ../../bin/glibtool
lrwxr-xr-x@ 1 mao admin 21 Mar 17 2022 libtoolize@ -> ../../bin/glibtoolize
そうか、インストール時に作ってくれてるんだシンボリックリンク。
sed@ が2個あるけど実体は同じでした。
❯ ls -al /opt/homebrew/opt/gnu-sed
lrwxr-xr-x@ 1 mao admin 21 Oct 5 22:58 /opt/homebrew/opt/gnu-sed@ -> ../Cellar/gnu-sed/4.9
❯ ls -al /opt/homebrew/opt/gsed
lrwxr-xr-x@ 1 mao admin 21 Oct 5 22:58 /opt/homebrew/opt/gsed@ -> ../Cellar/gnu-sed/4.9
よって、以下のようにして GNU パッケージの PATH を一括で通すと良い、とな。
if type brew &>/dev/null; then
HOMEBREW_PREFIX=$(brew --prefix)
# gnubin; gnuman
for d in ${HOMEBREW_PREFIX}/opt/*/libexec/gnubin; do export PATH=$d:$PATH; done
# I actually like that man grep gives the BSD grep man page
#for d in ${HOMEBREW_PREFIX}/opt/*/libexec/gnuman; do export MANPATH=$d:$MANPATH; done
fi
👉 macos - Homebrew: Easy way to add 'gnubin' to path for multiple packages? - Ask Different
他パッケージのインストーラーがこけたりするときないのか、と思ったので眺めておきました。
かな ↔ 英数 切り替えすると
切り替え先が表示されるように
なってました。

いつの間にか知らないうちに更新された便利新機能のようです。
ユーザーによっては、更新されなかったり、されていたり、ばらつきがあるようです。
Google日本語入力の更新についてですが、こちらは自動で更新されるものなのでしょうか?また、いつ更新されたのかなど、更新内容の情報は、どこかに記載されているのでしょうか?
はい、PC 版 Google 日本語入力も自動で更新されます。
👉 Google日本語入力の更新について - Gboard コミュニティ
強制的に更新したい場合は、一度アンインストールしてから再インストールしかないのかもしれません。
ちなみに、表示された時点でのバージョンは以下でした。

いや、よく考えたらこれ macOS Sonoma の新機能 だよな!!
クリックで切り替えもできるし!!

無効に設定したい場合は以下。
sudo mkdir -p /Library/Preferences/FeatureFlags/Domain
sudo /usr/libexec/PlistBuddy -c "Add 'redesigned_text_cursor:Enabled' bool false" /Library/Preferences/FeatureFlags/Domain/UIKit.plist
👉 Disable macOS Sonoma Text Insertion Point (Cursor) / Caps-lock Indicator - Stack Overflow
⌘英かな から Karabiner-Elements へ ⌨️ https://t.co/cuOgTnNwFu
— chanzmao (@maochanz) November 23, 2023
ひとつづつ地道にバージョンを上げていったもののここまでしか上げることができない。

これ以上の安定版バージョンもすでに公開されているのだが、どうしても、
「API-33 ではこのバージョンは使えないので API-34 に上げてください」
というような SDK のバージョンアップを促されるメッセージが表示され、ビルドできない。
【Android Studio】[File] - [Project Structure] - [Suggestions] で「Update」する dependencies の妥当性 💉 https://t.co/iqeOwohwqA
— chanzmao (@maochanz) September 24, 2023
Android 14 の API 34 が完成したことにより、すべての新しい Jetpack ライブラリ リリースが API 34 でコンパイルされ始めました。つまり、アプリも API 34 でコンパイルする必要があります。targetSdk は、多くのことができるまったく異なるものであることに注意してください。
With Android 14's API 34 being finalized, ~all new Jetpack library releases have started to compile with API 34. That means your app is also going to need to compile with API 34. Note that targetSdk is a whole different thing that you can do much later!https://t.co/Iwse9baXNw
— Ian Lake (@ianhlake) June 22, 2023
すなわち、
compileSdk 34
targetSdk 33
でビルドせろ。ということなのか。
現在の Android Studio Giraffe | 2022.3.1 では、最新のサポートする API レベルは「33」。


👉 Android Studio Giraffe | 2022.3.1 | Android Developers
これ、34 に上げてもいいの ?
Jetpack ライブラリの安定版最新を使いたい場合は、
Android Studio Girrafe でなく、まだ、ベータ版の Hedgehog | 2023.1.1 を使ったほうがいいんでないの?
一見、きれいに通っているように見える。
compileSdk 34
targetSdk 34

それとも、すべて安定版のまま、我慢の開発を続けるか。
👉 JetBrains Toolbox で Android Studio の Stable/Beta/Canary が同時に管理できる?
これは?

以下の記述が
packagingOptions {
resources {
excludes += "META-INF/rxjava.properties"
}
}
これになりました。
fun Packaging.() {
resources {
excludes += "META-INF/rxjava.properties"
}
}
なんだかおかしいです?
該当部分のコードを確認します。
/**
* Specifies options and rules that determine which files the Android plugin packages into your
* APK.
*
* For more information about the properties you can configure in this block, see [Packaging].
*/
@Deprecated("Renamed to packaging", replaceWith = ReplaceWith("packaging"))
val packagingOptions: Packaging
/**
* Specifies options and rules that determine which files the Android plugin packages into your
* APK.
*
* For more information about the properties you can configure in this block, see [Packaging].
*/
@Deprecated("Renamed to packaging", replaceWith = ReplaceWith("packaging"))
fun packagingOptions(action: Packaging.() -> Unit)
/**
* Specifies options and rules that determine which files the Android plugin packages into your
* APK.
*
* For more information about the properties you can configure in this block, see [Packaging].
*/
val packaging: Packaging
/**
* Specifies options and rules that determine which files the Android plugin packages into your
* APK.
*
* For more information about the properties you can configure in this block, see [Packaging].
*/
fun packaging(action: Packaging.() -> Unit)
こうですね。
packaging {
resources {
excludes += "META-INF/rxjava.properties"
}
}
ついでに、短くしておきます。
packaging {
resources.excludes += "META-INF/rxjava.properties"
}
これでOK。
👉 How to replace deprecated packagingOptions in Android Gradle build files - Stack Overflow