前提・実現したいこと
AndroidStudio3.2を使用し、Unityのプラグインなるものを作りたいです。詳しくはわかりませんが、Unityのゲーム内でAndroidのBluetooth機能を使用するためプラグインなるものが必要と聞き、作ろうと思いました。ちなみに参考にしようと思っているページです。問題があればそちらの意見もお願いします。
http://www.atmarkit.co.jp/ait/articles/1107/29/news122.html
最初はEclipseなるもので作ると聞いたのでEclipseをダウンロードしたのですが、Androidの開発がどうもできないなーなんて思っていたらAndroid Studioの発表に合わせサポートが終了していたとか。
話が大きくそれましたが、とにかくAndroid Studioをインストールし、プロジェクトを作成しAndroid Libraryというモジュールなるものを追加するということでやってみました。参考にしたページ↓
https://www.crossroad-tech.com/entry/UnityAndroid-plugin1
https://indie-du.com/entry/2016/07/14/200000
https://qiita.com/keidroid/items/455c61de9355eff2a907
https://developer.android.com/studio/projects/android-library?hl=ja
しかし私のAndroid Studioでは、ファイル→新規→新規モジュールとしても何も起きません。起きたことといえば、右下に「IDE Error Occurred」と書いてあるものが出てきて、それをクリックすると「IDEの致命的なエラー」と銘打ったウィンドウの中に
Android Supportによる原因。1分前、最後のリセット以降に1回発生。未読。プラグインを使用不可にする(D)... エラーメッセージ Argument for @NotNull parameter 'rootPath' of com/android/tools/idea/npw/template/TemplateHandle.<init> must not be null
なんて文字が並んでいます。
試したこと
言われている通りプラグイン(ここでも「プラグイン」?いったいプラグインてなんなんだ)を使用不可にしてみると再起動したらこんなメッセージが。
13:56 プラグイン・エラー プラグインの読み込みで問題が見つかりました: Plugin "Android Games" was not loaded: required plugin "Android Support" is disabled. Plugin "Android NDK Support" was not loaded: required plugin "Android Support" is disabled. Plugin "Android APK Support" was not loaded: required plugin "Android Support" is disabled. Plugin "Google Developers Samples" was not loaded: required plugin "Android Support" is disabled. Plugin "Google Cloud Tools For Android Studio" was not loaded: required plugin "Android Support" is disabled. Plugin "Test Recorder" was not loaded: required plugin "Android Support" is disabled. Plugin "Firebase Testing" was not loaded: required plugin "Android Support" is disabled. Plugin "Google Services" was not loaded: required plugin "Android Support" is disabled. Plugin "Firebase Services" was not loaded: required plugin "Android Support" is disabled. Plugin "App Links Assistant" was not loaded: required plugin "Android Support" is disabled. Plugin "Firebase App ... (show balloon) 13:57 プラグインの提案 Plugin supporting feature (Run Configuration[Android アプリ], Facet[android, android-gradle]) is currently disabled. Enable plugins... Ignore Unknown Features
で、一応ファイル→新規→新規モジュールとするとウィンドウが!開く!
でもサイトで見たウィンドウとまったく違うんですよ。
なにこれ。それで「プラグインの提案」に従って全部のプラグインを有効にすると(さっきあなたに言われて一部無効にしたのでは?)また振り出し、という状態です。
補足情報(FW/ツールのバージョンなど)
ちょっとどんな情報が必要とされているかすらわかんないくらい初心者なので、とにかく使っているもののバージョンを列挙します。
Android Studio v3.2
java 1.8.0_144
実機 nexus7 API23
発言内容・やり方等間違ってるかもしれないです。よろしくお願いします。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
退会済みユーザー
2018/10/07 06:15
退会済みユーザー
2018/10/07 06:42