整理
This commit is contained in:
@@ -3,10 +3,8 @@ package com.mogo.tts
|
||||
import android.os.Bundle
|
||||
import androidx.appcompat.app.AppCompatActivity
|
||||
import androidx.appcompat.widget.AppCompatButton
|
||||
import androidx.appcompat.widget.AppCompatTextView
|
||||
import androidx.core.view.ViewCompat
|
||||
import androidx.core.view.WindowInsetsCompat
|
||||
import com.mogo.tts.common.TtsManager
|
||||
|
||||
class MainActivity : AppCompatActivity() {
|
||||
override fun onCreate(savedInstanceState: Bundle?) {
|
||||
|
||||
@@ -8,7 +8,6 @@ import com.blankj.utilcode.util.FileIOUtils
|
||||
import com.blankj.utilcode.util.PathUtils
|
||||
import com.blankj.utilcode.util.TimeUtils
|
||||
import com.bytedance.boost_multidex.BoostMultiDex
|
||||
import com.mogo.tts.common.TtsManager
|
||||
import com.mogo.tts.utils.PhoneUtilsExtend
|
||||
import com.tencent.bugly.crashreport.CrashReport
|
||||
import com.tencent.bugly.crashreport.CrashReport.CrashHandleCallback
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
package com.mogo.tts.common
|
||||
package com.mogo.tts
|
||||
|
||||
import android.content.Context
|
||||
import com.mogo.tts.common.IMogoTTS
|
||||
import com.mogo.tts.common.log.TtsLogManager
|
||||
|
||||
object TtsManager {
|
||||
@@ -1,11 +0,0 @@
|
||||
# Introduction
|
||||
|
||||
Note that if you use Android Studio, then you only need to
|
||||
copy libonnxruntime.so and libsherpa-onnx-jni.so
|
||||
to your jniLibs, and you don't need libsherpa-onnx-c-api.so or
|
||||
libsherpa-onnx-cxx-api.so.
|
||||
|
||||
libsherpa-onnx-c-api.so and libsherpa-onnx-cxx-api.so are for users
|
||||
who don't use JNI. In that case, libsherpa-onnx-jni.so is not needed.
|
||||
|
||||
In any case, libonnxruntime.so is always needed.
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,11 +0,0 @@
|
||||
# Introduction
|
||||
|
||||
Note that if you use Android Studio, then you only need to
|
||||
copy libonnxruntime.so and libsherpa-onnx-jni.so
|
||||
to your jniLibs, and you don't need libsherpa-onnx-c-api.so or
|
||||
libsherpa-onnx-cxx-api.so.
|
||||
|
||||
libsherpa-onnx-c-api.so and libsherpa-onnx-cxx-api.so are for users
|
||||
who don't use JNI. In that case, libsherpa-onnx-jni.so is not needed.
|
||||
|
||||
In any case, libonnxruntime.so is always needed.
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user