Help us understand the problem. What is going on with this article?

Android9とunity2019とlibrealsenseでD435

導入

1.OculusQuestとMirageSoloではlibrealsense.aar使用自作アプリでD435が動いている
2.GalaxyS9でRealSense公式アプリでD435が動いている

3.何故かGalaxyS9でlibrealsense.aar使用自作アプリでD435が動かない

調査

超参考1
UVC機器へアクセスするtargetSdkVersion=28のアプリをAndroid9端末で動かす時ぃ〜

超参考2
ARcoreをUnity2019で開発しようと思ったらエラーが出た【解決】

androidバージョン(2.19.9.11現在)

・OculusQuest→android7.1.1
・MirageSolo→android8.0.0
・GalaxyS9→android9

検証中ながら動いてるので現時点纏め(随時追加整理したい)

targetapiがhighestで28になってて、android8以前なら問題ないけど
android9で挙動がおかしくなるっぽくて
unity2019でtargetapi下げようとすると『おまえsdkバージョン持ってねーじゃん』と煽られ
unity内包のandroid-sdkどこにあるかわからなくて自前のに差し替えた。
targetapiを27にして動いた

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away