Community Q&A

Welcome to Audiokinetic’s community-driven Q&A forum. This is the place where Wwise and Strata users help each other out. For direct help from our team, please use the Support Tickets page. To report a bug, use the Bug Report option in the Audiokinetic Launcher. (Note that Bug Reports submitted to the Q&A forum will be rejected. Using our dedicated Bug Report system ensures your report is seen by the right people and has the best chance of being fixed.)

To get the best answers quickly, follow these tips when posting a question:

  • Be Specific: What are you trying to achieve, or what specific issue are you running into?
  • Include Key Details: Include details like your Wwise and game engine versions, operating system, etc.
  • Explain What You've Tried: Let others know what troubleshooting steps you've already taken.
  • Focus on the Facts: Describe the technical facts of your issue. Focusing on the problem helps others find a solution quickly.

+1 vote

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?

in General Discussion by Lionel P. (110 points)

1 Answer

0 votes

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.

by James L. (230 points)
edited by James L.
...