ショートカット「Find Action (⌘⇧A)」が使えない Android Studio "No manual entry for XXX\;type\=a"【macOS】

「Find Action (⌘⇧A)」が使えません。

Find Action (⌘⇧A)

「Search Everywhere (⇧⇧)」 からいくしかないのでしょうか。

Cmd+Shift+A hotkey opens Terminal with "apropos" search instead of the Find Action dialog – IDEs Support (IntelliJ Platform) | JetBrains

👉 Cmd+Shift+A hotkey opens Terminal with "apropos" search instead of the Find Action dialog – IDEs Support (IntelliJ Platform) | JetBrains 

Android Studio と macOS のショートカットの衝突のようです。


[システム環境設定]

    |

[キーボード]

    |

[ショートカット]

    |

[サービス]

    |

[ターミナルの...デックスで検索] を OFF

OSや各アプリやソフトウエアと異なったレイヤーでのショートカットの衝突。

最終的には、どちらを優先するか、ということだけになります。

👉 mac 特殊キーの記号 ⇧⌃⌥⌘などの入力方法 


公開されているEclipseのマルチプロジェクトリソースをAndroidStudioで使う

 

ViewPagerIndicatorのサンプルを動かそうとして動かず。

ViewPagerIndicator

ViewPagerIndicator ViewPagerIndicator

Android-ViewPagerIndicator_sample_at_master_·_JakeWharton_Android-ViewPagerIndicator

JakeWharton/Android-ViewPagerIndicator JakeWharton/Android-ViewPagerIndicator

 

なんか似たようなこといつもやってる気がしてきたので、「マルチプロジェクト」についてのAndroidStudioの設定とか構成を確認して整理メモす。

 

参考は、汎用性のある以下公式ドキュメント。

Project Structure - Gradle Plugin User Guide

続きを読む >>


Eclipseのディレクトリの構成をAndroidStudioに変更するスクリプト

ディレクトリの構成だけ変更すれば、Android Studioからインポートすれば、そのまま開発を続けることができる。

gradle はデフォルトのwrapperで。問題あればAndroidStudioでいうところのモジュール内 build.gradle で調整していく。

なんせリソースディレクトリの変更をしておけば、今どきのAndroidStudioでは、設定等で対応。

sh(シェル)でやるけど、ディレクトリ構成の変更の内容は掴めるはず。

元々は、crashlytics がプロジェクトに反応しないのでやってみた。

続きを読む >>


Eclipseで作ったプロジェクトをプラグインなしでAndroidStudioにインポートする方法

ネット上にあるサンプルコードとか
Eclipseで作られたものがほとんどです。

で、AndroidStudioで使おうとすると、
Eclipse上でそれ用のプラグインがあります。

これを使ってまずエクスポートします。

Export from Eclipse

1. Update your Eclipse ADT Plugin (you must have version 22.0 or higher).
2. In Eclipse, select File > Export.
3. In the window that appears, open Android and select Generate Gradle build files.
4. Select the project you want to export for Android Studio and click Finish.
5. Your selected project remains in the same location but now contains a build.gradle file and is ready for Android Studio.

で、その後、AndroidStudioを起動して
そのディレクトリに対してインポートします。

Import into Android Studio

1. In Android Studio, close any projects currently open. You should see the Welcome to Android Studio window.
2. Click Import Project.
3. Locate the project you exported from Eclipse, expand it, select the build.gradle file and click OK.
4. In the following dialog, leave Use gradle wrapper selected and click OK. (You do not need to specify the Gradle home.)

Migrating from Eclipse | Android Developers Migrating from Eclipse | Android Developers

これって、いちいちEclipseを起動するのめんどくね?

なので、Eclipseのプロジェクトのディレクトリに対して
「Eclipse起動なし」で
AndroidStudioにインポートしてみます。

続きを読む >>


Android Studio 0.2.4 アップデートで「SDK location not found. Define location with sdk.dir in the local.properties file or with an ANDROID_HOME environment variable.」

更新されています、AndroidStudio。

Android Studio 0.2.4 Released - Android Tools Project Site Android Studio 0.2.4 Released - Android Tools Project Site

で、機能の詳細やあれこれ更新されてるのでしょうが。

これまで動いてたプロジェクトで
エラーダイアログが表示されて、
ビルドできませんよ。

SDK location not found. Define location with sdk.dir in the local.properties file or with an ANDROID_HOME environment variable.

なんだかな、もう。

で、解決法。
続きを読む >>