During building my App for Andoird I got the following warning, any idea to get ride of them ? (however the application build fine)
[ERROR] [GRADLE] Warning: This version only understands SDK XML versions up to 2 but an SDK XML file of version 3 was encountered. This can happen if you use versions of Android Studio and the command-line tools that were released at different times.
[ERROR] [GRADLE] Warning: �l�ment inattendu (URI : "", local : "base-extension"). Les �l�ments attendus sont <{}codename>,<{}layoutlib>,<{}api-level>
that looks fine. Here is another info about the issue:
As mentioned in the message, this is happening because you have some packages that were installed that are using the v3 format for package.xml, but then reading it with a tool that only knows about v2. Probably you installed some components using the canary studio. If you want to you could uninstall the problem components and reinstall using sdkmanager or the stable studio. Or you could just ignore the message for now, until the new cmdline-tools is out, which should happen alongside the next studio stable release. – Google Issue Tracker
I’ve never seen that error before, I always let the ti cli install gradle and I use Android Studio to install the rest.
I suppose it was using the default Internal Android Studio Gradle as I never installed it.
Errors are gone now, but I still get a last warning message wich I suppose comme from one of my file :
[INFO] Building app
[ERROR] [GRADLE] Warning: �l�ment inattendu (URI : "", local : "base-extension"). Les �l�ments attendus sont <{}codename>,<{}layoutlib>,<{}api-level>