Android-Native-TTS-plugin-for-Unity-3d icon indicating copy to clipboard operation
Android-Native-TTS-plugin-for-Unity-3d copied to clipboard

This does not work out of the box on Unity 5.6.4f1

Open buzzjive opened this issue 7 years ago • 2 comments

It likely doesn't work on earlier versions either. It errors out when doing the final Android Manifest Merge. I had to fix the .aar file to remove the android:label="NAtive TTS" line in AndroidManifest.xml file.

Another thing I would recommend for the Sample is changing the canvas to use "Scale With Screen Size" instead of "Constant Pixel Size". This will make it easier to use on devices with higher resolutions (the buttons are pretty much unclickable with the current settings)

buzzjive avatar Oct 18 '17 20:10 buzzjive

@buzzjive How did you fix the .aar file? could you please give the steps?

timothyouano avatar Jan 05 '18 02:01 timothyouano

@timokranz you can follow these steps to unzip aar file (if you're on mac);

https://stackoverflow.com/questions/38860912/modifying-contents-of-android-aar-file-converting-to-and-from-zip-format

after you unzip aar file, you'll find AndroidManifest.xml file inside of the unzipped folder then you can remove that line like @buzzjive has mentioned. Thanks by the way @buzzjive it worked like a charm.

barisferah avatar Feb 22 '18 10:02 barisferah