Android integration of iFLYTEK’s speech recognition (voice dictation) error message “Failed to create the object, please confirm that libmsc.so is placed correctly, and createUtility is called to initialize”

The corresponding lib resource downloaded from the official website has been placed under the project lib or an error is reported. The reason is that the project does not load the lib

sourceSets { 
    main { 
        jniLibs.srcDirs = ['libs'] 
    } 
} 

put this in build.gradle inside android inside 
android{ 
............... 
.....
sourceSets { 
    main { 
        jniLibs.srcDirs = ['libs'] 
    } 
}
.... 
}

Read More: