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
On another question and answer site, -Xlint:unchecked.
When I tried this, I no longer had a warning during the build.
© 2024 OneMinuteCode. All rights reserved.