I think this is an Android installation issue, you can try disabling the Xlint: deprecation flag, as said in this post.
- Go to the $ ANDROID_SDK_ROOT / tools / ant / main_rules.xml file and copy the compilation target.
- Paste it into the build.xml file before the task.
- Then add the following element to the task:
<compilerarg value="-Xlint:deprecation"/> - Similarly, you can add other compiler options, for example, for unverified operations:
<compilerarg value="-Xlint:unchecked"/>
source share