LoginSignup
3
3

More than 5 years have passed since last update.

[Unity]Google Cardboard SDKを使ってAndroid用にBuildする際の注意点[備忘録]

Last updated at Posted at 2017-01-31

Google Cardboard SDK for Unity (v1.10) を使ってAndroid用にゲームをBuildする時に引っかかった箇所のメモ
(増えたらまた追記していくスタイル)

症状 一覧

  • 本体を傾けると画面まで回っちゃう…(しかもタブで変更できない…)
  • "unable to merge android manifests see the console for more details" って怒られるけど何なん!

画面を傾けると画面まで回っちゃう…(しかもタブで変更できない…)

スマフォでVRする時は(視点は回転させるけど)画面を回転させないためにDefault Orientationを固定しなきゃいけない。

a.PNG

できないいいいいいいいいいいい
なんでええええええええええええああああああああああああああ

ここが原因でした

s.PNG

チェックを外すと…

b.PNG

スクリーンショット 2017-02-01 01.14.28.png

できた!!!!!!!!!!!!!!!!!!!!!
(自分でチェック入れてたような気もする。Androidの時は毎回チェックしよう。)

"unable to merge android manifests see the console for more details" って怒られるけど何なん!

Buildしてたら途中で"unable to merge android manifests see the console for more details"と表示されてエラーになった!!

こちらに解決策が載っていました。
http://detail.chiebukuro.yahoo.co.jp/qa/question_detail/q10168573200

なるほど、
Assets > Plugins > Android > gvr-permissionsupport-release.aar
をDeleteすればいいんですね。
今回のケースではこれで無事解決。

3
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
3