Comments (3)
You have to edit your AndroidManifest.xml file. You need to specify the plugin's MainActivity inside application tag instead of ** android:name="com.unity3d.player.UnityPlayerActivity"** , Change the lines to
<activity android:name="com.starseed.speechtotext.MainActivity" android:label="@string/app_name"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> <meta-data android:name="unityplayer.UnityActivity" android:value="true" /> </activity>
from speech-and-text-unity-ios-android.
same error, did you fix it?
my manifest
**<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.starseed.speechtotext"
android:versionCode="1" android:versionName="1.0">
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-sdk android:minSdkVersion="16" android:targetSdkVersion="23" />
<application
android:icon="@drawable/app_icon"
android:label="@string/app_name" android:debuggable="false"
android:configChanges="orientation|screenSize|locale"
android:theme="@style/UnityThemeSelector">
<activity
android:name="com.starseed.speechtotext.MainActivity"
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"
android:label="@string/app_name">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<meta-data android:name="unityplayer.UnityActivity" android:value="true" />
</activity>
</application>
</manifest>**``
from speech-and-text-unity-ios-android.
Had the same issue, the fix suggested by aneeb111 seems to have fixed it. My manifest looks like this:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.INTERNET" />
<application>
<activity
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"
android:name="com.starseed.speechtotext.MainActivity"
android:label="@string/app_name">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<meta-data android:name="unityplayer.UnityActivity" android:value="true" />
</activity>
</application>
</manifest>
from speech-and-text-unity-ios-android.
Related Issues (20)
- .
- Build is failing in xcode
- Registering new Vocabulary for the Speech-To-Text-Plugin to understand (IOS)
- IOS build error by undefined sumbols for arm64
- Error on Samsung S8 HOT 18
- Error SpeechRecognizer bind to recognition service failed |Android 11 HOT 11
- Build fails for iOS HOT 2
- Speech to text in android not working HOT 9
- Recents problems with Android 11 HOT 2
- Language pt-BR (Brasil) uses pt (Portugal)
- Speech to text doesn't work with popup - false (android) HOT 3
- speech to text just doesnot work
- Unity plugin speechToText not working when isShowPopupAndroid = false HOT 11
- Speech recognition not working HOT 1
- Create text in real time
- TextMeshPro not updating, does anyone know how to solve this? HOT 2
- 2 Android manifest
- Unexpected file found in Frameworks error during iOS Archiving process. HOT 1
- Android build fails
- IOS Text to Speech is not working
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from speech-and-text-unity-ios-android.