-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
android-template project missing config files #18
Comments
just remove them and add the The app should work fine then. If you have further issues running the android app, maybe some further adaptions taken from my pull request may help as well |
Hey @flache, I tried the changes in your PR and they don't seem to help. The app launches, I see the Treble, Middle and Bass labels (with 0 as their values) but nothing further happens. When I click the Play button in the top right corner and I check LogCat I get the following messages:
But nothing further happens. The treble, Middle, Bass values never update and I see nothing happening in Logcat. As far as I can see, |
that's all what you see in logcat? can you post the full log (From the start of the app until you click the play button)? It might be an issue with the app permissions but it is hard to guess without the log |
|
That's everything from start up of the app till after I press the start and even the stop button. |
You could try to uninstall the app and install my compiled version app-debug.apk.zip . It works on my phone. If it does not work on your device we know something is wrong with your device, otherwise your code/build has an issue. It is weird that the app crashes without an error message, I always saw something on logcat when it did not work. Are you using logcat inside an IDE? |
To be clear, the app doesn't really crash, it just doesn't do anything. :) I'm using the logcat inside Android Studio. Your apk however works. It shows live treble, middle and bass input. So there must be something wrong with either my code or the compiled libopensmile. Could you upload your android-template project so I can try to compile it myself and see if it still works? |
I think this was indeed a bug in the Android sample project in version 2.3. For anyone looking into Android integration, I suggest to give the recently released version 3.0 a try. The Android integration has been completely overhauled there. |
Hi,
when running the android-template example app it immediately crashes because some files are missing in the assets folder, namely BufferModeLive.conf.inc, music_features.conf.inc and FrameModeMoodWin.conf.inc.
The BufferModeLive.conf.inc can be found and copied from the config folder in the opensmile trunk but the other two are nowhere to be found.
Why are they missing and how can I replace them? Without them the app doesn't seem to do much when I press the play button and start an opensmile thread.
The text was updated successfully, but these errors were encountered: