Ubuntu 14.04 Trusty Tahr に Android 開発環境をセットアップする

JDK7 のインストール

OpenJDK ではなく Oracle の JDK をインストールする。

$ sudo add-apt-repository ppa:webupd8team/java
$ sudo apt-get update
$ sudo apt-get install oracle-java7-installer

Android Studio のインストール

以下のページからダウンロードして適当なディレクトリに展開する。実行ユーザーが書き込み権限を持ってる場所でないと SDK Manager がうまく動かないので注意。

.../android-studio/sdk/build-tools/android-4.2.2/aapt": error=2, No such file or directory

試しにプロジェクトを作ったら最初のビルドで上記のエラーが出た。64bit 版の OS を使っていると aapt の実行に失敗するらしい。以下のコマンドで実行できるようになる。

$ sudo dpkg --add-architecture i386
$ sudo apt-get update
$ sudo apt-get install libncurses5:i386 libstdc++6:i386 zlib1g:i386

Android Studio をランチャーに登録する

Android Studio のメニューから、[Tools] - [Create Desktop Entry...] とすると Unity の検索に Android Studio が出てくるようになるので、ドラッグ アンド ドロップでランチャーに登録できる。

参考

コメント

  1. Add the unconventional format and the bets that start at 0.20, you will have|and you'll have} no causes left not to give it a spin. You'll profit from Golden Lion Wilds that can substitute for different symbols to type successful mixtures. The recreation additionally boasts 30 paylines and a formidable ninety six.58 per cent RTP, preserving it excessive up on every Casino gamer's most-wanted listing. This recreation is 토토사이트 an unique of 888Casino, that means you want an account on their web site to play. This fantastic progressive slot has every little thing to become your favourite recreation. The Magic Portals Slot machine is such an attractive recreation that you should have} a troublesome time to believe it launched almost a decade ago.

    返信削除

コメントを投稿

このブログの人気の投稿

Volley で同期的にリクエストを実行する