![]() ![]() Set the system environment variable SPEECH_REGION to japaneast of the Cognitive services multiservice account. Set the system environment variable SPEECH_KEY to key 1 of the Cognitive services multiservice account. Can you please help me figure this one out?Ĭreate a Cognitive services multi-service account The error related to the subscription key is gone, but now I am getting a link error. : Unable to start activity ComponentInfo: : subscriptionKeyĪt (ActivityThread.java:3640)Īt (ActivityThread.java:3797)Īt .execute(LaunchActivityItem.java:103)Īt .executeCallbacks(TransactionExecutor.java:135)Īt .execute(TransactionExecutor.java:95)Īt $H.handleMessage(ActivityThread.java:2215)Īt android.os.Handler.dispatchMessage(Handler.java:106)Īt android.os.Looper.loopOnce(Looper.java:346)Īt android.os.Looper.loop(Looper.java:475)Īt (ActivityThread.java:7890)Īt .invoke(Native Method)Īt .RuntimeInit$n(RuntimeInit.java:548)Īt .ZygoteInit.main(ZygoteInit.java:1009)Ĭaused by: : subscriptionKeyĪt .(Unknown Source:27)Īt .(Unknown Source:0)Īt .omSubscription(Unknown Source:2)Īt .(MainActivity.java:19)Īt (Activity.java:8050)Īt (Activity.java:8030)Īt (Instrumentation.java:1330)Īt (ActivityThread.java:3613) How can I use the SpeechSDK externally when I am told there is no subscription key? ![]() Run the apk file you created and see the output of logcat, you will get the following error.Private static String speechRegion = System.getenv((my key2)) SpeechConfig speechConfig = omSubscription(speechKey, speechRegion) private static String speechKey = System.getenv((my key1)) Write the following code in an Android Studio project with Speech SDK for Java installed. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |