Message Fly Voice Dictation API not installed component error code 21001

Source: Internet
Author: User

When using the voice dictation, use the cloud to dictate instead of using the local presence of this non-installed component error that may be the so file was not imported successfully. The documentation is the configuration of the ADT environment, and the jar packages in Androidstudio are not very different from ADT, but there are some differences in the import of so files.

You can import so files into the Jnilibs folder in Androidstudio:

After the import runs again after its AppID configuration succeeds 80% is no problem.

There are also some online listed:

1, there is no use speechutility.createutility () settings AppID
2, there is no libmsc.so put into the project, jar package has Msc.jar, Sunflower.jar.
3, if the use of the voice of the Audio + local features, there is no installation of Voice +
4. If the device is Android 5.0 and above, You need to put libmsc.so in the Armeabi and armeabi-v7a folders in your project, and if you don't have a armeabi-v7a library in your downloaded SDK, you can copy Armeabi from libmsc.so to a armeabi-v7a folder
5, Speechutility.createutility () if called in application, you need to register the Applicaiton in Mainifest. This method is not required to be called in Appcation, but is called before you need to use speech capabilities, such as entering a voice search page.

6. Developers using Android Studio are careful to place so in the Jnilib directory, or specify the path to so loaded in the configuration file, or wrap so in the jar.

Message Fly Voice Dictation API not installed component error code 21001

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.