Android - Unity as a Library -- Native libraries not loaded

オープン
#83 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
24/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
android, unity
領域
mobile-dev

調査の方向性

The report points to the Android Unity as a Library demo and differences in exported AAR files, unity-classes.jar, and script nesting, but names no source files or tests. Start by comparing the demo and the reporter’s project exports and checking how the native libraries are loaded before sendMessage() is called. Done means identifying why the libraries are not loaded and confirming that messages are delivered.

索引モデルが issue の本文から書いたものです。

説明

I have been searching for days, I used the exact same implementation guide as in the demo, which worked fine for the demo but when using it on my unity project I keep getting this error when I try and use mUnityPlayer.sendMessage() :

W/Unity: Native libraries not loaded - dropping message for #######.#########

I've looked through the the two projects to find a difference and the only one I see is that in the libs folder when they are exported unity exports multiple .aar folders in our project along with the unity-classes.jar file and just the unity-classes.jar file for the demo. The other difference is our project has these scripts nested instead of just on the top level folder.

I have tried multiple editor versions and that doesn't work either.

Do I need to change the implementation somehow to load the native libraries? Or is this a known bug.

主要言語
Objective-C++
スター
815
フォーク
252
平均マージ
21時間 42分
マージ済み PR(30日)
1

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Unity-Technologies/uaal-example のほかの issue

Unity-Technologies/uaal-example の issue をすべて見る

似ている issue

Mobile Dev の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。