Nota
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare ad accedere o modificare le directory.
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare a modificare le directory.
Messaggi di esempio
error APT0001: Unknown option `--ignore-assets`. Please check `$(AndroidAapt2CompileExtraArgs)` and `$(AndroidAapt2LinkExtraArgs)` to see if they include any `aapt` command line arguments that are no longer valid for `aapt2` and ensure that all other arguments are valid for `aapt2`.
Problema
The new Android aapt2 resource tool has different commandline arguments to the older aapt tool. These are generally incompatible with each other.
Soluzione
If you are receiving this error, check that the values provided in
<AndroidAapt2LinkExtraArgs/>
<AndroidAapt2CompileExtraArgs>
are valid for aapt2. You can use aapt2 compile and aapt2 link to view the list of valid arguments.