This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Audio not playing on ARM in Android Studio


Hi,

I am using android studio to develop music player app on windows 10. It is running fine on ABI X86 (Pixel 2 API 27 X86) and audio plays on X86.
But when i try to run the app on ARM AVD (Pixel 3 API 25 Armeabi-v7a), the audio does not play. When i click on play button it says Music Player stopped working.
The default app Google play music does not support the audio.
It says could not play the track you requested.
The audio output is not coming from ARM AVD. Also i am not able to play video on ARM.


Please suggest solution to play the audio on ARM AVD. If any other informations required please ask.

Thanks.

Parents
  • It's definitely trickier with virtual devices than with real ones in Android Studio - if you've got a real phone I'd suggest giving that a try. And then the default AVDs are all x86 as that emulates better on a PC, so you have to create a custom one. Any reason why you're going for an old API and Arm v7 not Arm v8? Are you avoiding 64-bit? All apps on Play Store need to be 64-bit now anyway.

    I've not replicated, but as this appears to be an Android Studio emulation issue, I'd suggest Android Studio forums / Android Studio documentation, but I've not found much useful in my search, sorry. There are forums more dedicated to Android Studio than this one, but they are independent forum sites, and I didn't find anything immediately related to your question.

Reply
  • It's definitely trickier with virtual devices than with real ones in Android Studio - if you've got a real phone I'd suggest giving that a try. And then the default AVDs are all x86 as that emulates better on a PC, so you have to create a custom one. Any reason why you're going for an old API and Arm v7 not Arm v8? Are you avoiding 64-bit? All apps on Play Store need to be 64-bit now anyway.

    I've not replicated, but as this appears to be an Android Studio emulation issue, I'd suggest Android Studio forums / Android Studio documentation, but I've not found much useful in my search, sorry. There are forums more dedicated to Android Studio than this one, but they are independent forum sites, and I didn't find anything immediately related to your question.

Children