Java – Android Studio : SuperpoweredAdvancedAudioPlayer. h: There is no such file or directory

Android Studio : SuperpoweredAdvancedAudioPlayer. h: There is no such file or directory… here is a solution to the problem.

Android Studio : SuperpoweredAdvancedAudioPlayer. h: There is no such file or directory

Try running a file from superpowered ( https://github.com/superpoweredSDK/Low-Latency-Android-Audio-iOS-Audio-Engine/tree/master/Android/CrossExample/app/src/main/java/com/superpowered/crossexample The Android Crossexample app included with Low-Latency-Android-Audio-iOS-Audio-Engine.

I get: SuperpoweredAdvancedAudioPlayer.h: There are no such files or directories.

Based on @Stacks13’s suggestion, I was wondering if I needed more content for my local.properties file. Here’s what it gets now:

ndk.dir=/Users/mh/android-ndk-r12b
sdk.dir=/Users/mh/phonegap/android-sdk/adt-bundle-mac-x86_64-20131030/sdk

I’m new to Android Studio and Superpowered and appreciate the advice on how to fix this.

The solution provided by Даниил Дедов worked for me. However, it raises two questions:

1) I noticed that the local.properties file shows at the top:

## This file is automatically generated by Android Studio.
# Do not modify this file – your changes will be deleted!

So it seems wrong to edit it effectively.

2) Can anyone tell me why superpowered.dir is grayed out? (See screenshot below.) )

enter image description here

no such file or directory error

Solution

Hope this helps.

Add the path to the SuperpoweredSDK\Superpowered directory in local.properties:

superpowered.dir=C\:\\SuperpoweredSDK\\Superpowered

Related Problems and Solutions