コミュニティQ&A

Audiokineticのコミュニティ主導のQ&Aフォーラムへようこそ。ここはWwiseとStrataのユーザのみなさまがお互いに協力し合う場です。弊社チームによる直接のサポートをご希望の場合はサポートチケットページをご利用ください。バグを報告するには、Audiokinetic LauncherのBug Reportオプションをご利用ください。(Q&AフォーラムではBug Reportを受け付けておりませんのでご注意ください。専用のBug Reportシステムをご利用いただくことで、バグの報告が適切な担当部門に届き、修正される可能性が高まります。)

最適な回答を迅速に得られるよう、ご質問を投稿される際は以下のヒントをご参考ください。

  • 具体的に示す:何を達成したいのか、またはどんな問題に直面しているのかを具体的に示してください。
  • 重要な詳細情報を含める:Wwiseとゲームエンジンのバージョンやご利用のOSなど詳細情報を記載してください。
  • 試したことを説明する:すでに試してみたトラブルシューティングの手順を教えてください。
  • 事実に焦点を当てる:問題の技術的な事実を記載してください。問題に焦点を当てることで、ほかのユーザのみなさまが解決策を迅速に見つけやすくなります。

+1 支持

Hi

I'm hoping someone can shed some light on this situation. I can build my test project for Windows or Mac, but not Android.

When building for Android, I get the following error:

LogPlayLevel: Error:   ERROR: Unable to instantiate module 'AkAudio': System.IO.DirectoryNotFoundException: Could not find a part of the path 'D:\UnrealProjects\Games\Runner\Plugins\Wwise\ThirdParty\Android\armeabi-v7a\Profile\bin'.
LogPlayLevel:             at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
LogPlayLevel:             at System.IO.FileSystemEnumerableIterator`1.CommonInit()
LogPlayLevel:             at System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler, Boolean checkHost)
LogPlayLevel:             at System.IO.Directory.GetFiles(String path, String searchPattern)
LogPlayLevel:             at AkUEPlatform.GetAllLibrariesInFolder(String LibFolder, String Extension, Boolean RemoveLibPrefix, Boolean GetFullPath) in d:\UnrealProjects\Games\Runner\Plugins\Wwise\Source\AkAudio\AkAudio.Build.cs:line 40
LogPlayLevel:             at AkUEPlatform_Android.GetRuntimeDependencies() in d:\UnrealProjects\Games\Runner\Plugins\Wwise\Source\AkAudio\AkAudio_Android.Build.cs:line 70
LogPlayLevel:             at AkAudio..ctor(ReadOnlyTargetRules Target) in d:\UnrealProjects\Games\Runner\Plugins\Wwise\Source\AkAudio\AkAudio.Build.cs:line 277
LogPlayLevel:          (referenced via default plugins -> Wwise.uplugin)

I have tried all the usual UE4 tricks - regenerate project, deleted cache folders, etc. I've also reinstalled the Wwise integration - no change.

I do not have a folder called D:\UnrealProjects\Games\Runner\Plugins\Wwise\ThirdParty\Android\armeabi-v7a\Profile\bin on my system. I DO, however, have a folder called D:\UnrealProjects\Games\Runner\Plugins\Wwise\ThirdParty\Android_armeabi-v7a\Profile\bin. This was created by the Wwise integration, but it appears to be looking for it in Android\armeabi-v7a instead of Android_armeabi-v7a. Unless that's a completely different folder, but the folder it's looking for doesn't exist.

Any ideas how to fix this?

Lionel P. (110 ポイント) General Discussion

回答 1

0 支持

I just came across this today in my project and there are two options:

  1. Move the Android_armeabi-v7a contents into a folder that it's looking for (Android\armeabi-v7a)
  2. Open up AkAudio_Android.Build.cs and change line 14 from #if UE_4_25_OR_LATER to #if !UE_4_25_OR_LATER (there is a missing exclamation point at the beginning)

I went with the second option but I don't know if it requires a recompilation of the plugin (I did it anyway). If you don't have Visual Studio installed then you would need to go with the first option.

Update: Ran into some other issues then found this https://www.audiokinetic.com/library/edge/?source=UE4&id=pg_important_migration_notes_2019_2_2.html so you are supposed to move the folders into what it expects.

James L. (230 ポイント)
James L. 編集
...