2015年6月14日日曜日

android studioで起動時に文字コードのエラーが出る

android studioで起動時してプロジェクトを読み込んだ直後に文字コードのエラーが出る。

>Warning:The project encoding (windows-31j) does not match the encoding specified in the Gradle build files (UTF-8).
>This can lead to serious bugs.
><a href="http://tools.android.com/knownissues/encoding">More Info...</a><br><a href="open.encodings.settings">Open File Encoding Settings</a>

File->Settings->Editor->File Encodings

すべてUTF-8でそろえる。

Project Encoding windows-31jからUTF-8へ変更
下の、Default Encoding for properties files: も UTF-8へ変更。
Transparent native-to-ascii conversion もチェックを入れる。

android studioで英語のスペルチェックをオフにする

android studioで英語のスペルチェックをオフにする方法です。

file->settings->editor->language injections->spelling->dictonaryタブ->dictonarysのチェックを全部外す

関数などの名前で省略形などを使っているとでてしまうので、無効にします。


でも、作法にあっていないから出るのであって、そのままで、ワーニングを出さないようにするようにすべきかと思いつつ保留。です。
コーディング上のワーニングは全部つぶさないと、綺麗なソースコードではなくてバグを誘発するので、ぎゃくにスペル違いはいいんじゃないのとおもったので、ワーニングを出さないようにしてみました。


android studioでGUIの画面が出ない

android studioでGUIの画面が出ない。

> Rendering Problems This version of the rendering library is more recent than your version of >Android Studio. Please update Android Studio

androidのアイコンの横に22という数字が出ているので、下三角を押して20などを選ぶ。

androidのバージョンが新しすぎて対応していないのかな。




2015年6月13日土曜日

Excel sheet can not be deleted

When I try to delete an Excel sheet, I right-click but I can not delete it because I can not select it.
Sheets can not be deleted if you are using the book sharing feature, Disable book sharing once. Review-> Change-> Book Sharing

エクセルのシートが削除できない

エクセルのシートを削除しようと右クリックするが削除が選べず削除することができない。

ブックの共有機能を使っているとシートは削除できないので、
ブックの共有を一度無効にする。

校閲ー>変更ー>ブックの共有

androidの開発でエミュレーターが動かない

android studioからandroidエミュレーターを起動してデバックしようとすると以下のメッセージが出て起動しない。

>emulator: ERROR: x86 emulation currently requires hardware acceleration!
>Please ensure Intel HAXM is properly installed and usable.
>CPU acceleration status: HAX kernel module is not installed!

eclipse + adtでもたぶんでるかな。


android sdk managerのpackagesの中の一番下、
intel x86 emulator accelerator(HAXM installer)にチェックを入れてインストールする。

---
それでもダメな場合

tools->android->avd managerからdevice configration画面を出して
ABIが「x86」ではなく「armeabi-v7a」を選ぶ。