Error when using deprecated API for plug-in called TTS when debugging with cordova

Asked 2 years ago, Updated 2 years ago, 101 views

I am re-creating the app that is working properly with cordova in an environment where I build it directly.
The reason is that I wanted to be able to use the advertising plug-in I wanted to use.

However, when I built it this time, I got an error when using the deprecated API for TTS for voice synthesis.

:compileDebugJavaWithJavac Note: /Users/xxx/zzz/platforms/android/src/com/wordsbaking/cordova/ts/TTS.java uses or overrides the deprecated API.
Note: For more information, recompile with the -Xlint:deprecation option.

If you add -Xlint:deprecation when building, you can build it safely.
However, I would like to use the TTS plug-in because it is a kimo.
I searched to find the meaning of this option, but I couldn't find it.
I would appreciate it if you could tell me the meaning of the options that appeared in the error this time.

Also, I would like to know the workaround.
I would appreciate it if you could let me know.

I searched the internet and found the following article.
I changed the order of the plug-in, but it didn't work.
http://www.kumakake.com/%E3%83%A1%E3%83%A2/3892

android cordova

2022-09-30 19:16

1 Answers

On another question and answer site, -Xlint:unchecked.
When I tried this, I no longer had a warning during the build.


2022-09-30 19:16

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.