社区问答

欢迎来到 Audiokinetic 社区问答论坛。在此,Wwise 和 Strata 用户可互帮互助。如需我们团队直接提供协助,请前往技术支持申请单页面。若要报告问题,请在 Audiokinetic Launcher 中选择“报告错误”选项(注意,问答论坛并不会接收错误报告)。我们内部设有专门的错误报告系统,会有专人查看报告并设法解决问题。

要想尽快得到满意的解答,请在提问时注意以下几点:

  • 描述尽量具体:比如,想达到什么样的目的,或者具体哪里有问题。
  • 包含关键细节:比如,Wwise 和游戏引擎版本以及所用操作系统等等。
  • 阐明所做努力:阐明自己为了排除故障都采取了哪些措施。
  • 聚焦问题本身:聚焦于问题本身的相关技术细节,以便别人可以快速找到解决方案。

+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?

分类:General Discussion | 用户: Lionel P. (110 分)

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.
...