Skip to content

SPXERR_FILE_OPEN_FAILED #40516

@SalmanKhanB

Description

@SalmanKhanB

Type of issue

Typo

Description

the error occured in androoid 10 and 13 i test in android 11 it work perfectly the permission is also allowed. directory name is correct.
update the sdk version to 1.37 still error

Error }

Retry 0: unexpected error Exception with an error code: 0x8 (SPXERR_FILE_OPEN_FAILED) (Ask Gemini)
java.lang.RuntimeException: Exception with an error code: 0x8 (SPXERR_FILE_OPEN_FAILED)
at com.microsoft.cognitiveservices.speech.util.Contracts.throwIfFail(Unknown Source:46)
at com.microsoft.cognitiveservices.speech.SpeechSynthesizer.(Unknown Source:121)
at com.sound.voiceeffects.voicechanger.classes.Adapter.VoiceSDKAdapter$SynthesizeSpeechTask.doInBackground(VoiceSDKAdapter.java:517)
at com.sound.voiceeffects.voicechanger.classes.Adapter.VoiceSDKAdapter$SynthesizeSpeechTask.doInBackground(VoiceSDKAdapter.java:442)
at android.os.AsyncTask$3.call(AsyncTask.java:378)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:289)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:919)

[Enter feedback here]

Page URL

https://learn.microsoft.com/en-us/java/api/com.microsoft.cognitiveservices.speech?view=azure-java-stable

Content source URL

https://github.com/Azure/azure-docs-sdk-java/blob/master/docs-ref-autogen/com.microsoft.cognitiveservices.speech.yml

Document Version Independent Id

b7956d8e-dc4a-51b1-09af-bb2b9f6023fe

Article author

@rloutlaw

Metadata

  • ID: 50908397-cd07-68e4-fd88-adbfa3eb5a91
  • Service: azure-ai-services

Metadata

Metadata

Assignees

Labels

AndroidCognitive - SpeechTrack 1customer-reportedIssues that are reported by GitHub users external to the Azure organization.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions