Some users are seeing the following error from aapt2.
APT2258 invalid symbol name 'com.companyname.mauiapp1:drawable/import'.
C:\Users*User\AppData\Local\Temp\2kevcthb.kih\com\companyname\mauiapp1\R.java*"
This is because import is a java reserved word. The aapt2 code generator is not taking that into account (like we do for C# designer.cs). As a result we get this error. Its not very helpful.
So lets introduce a new error APT0004 which will explicitly check for java keywords in resource filenames.
This will allow users to know why their build is failing.
Context #9461
Some users are seeing the following error from
aapt2
.This is because
import
is a java reserved word. Theaapt2
code generator is not taking that into account (like we do for C# designer.cs). As a result we get this error. Its not very helpful. So lets introduce a new errorAPT0004
which will explicitly check for java keywords in resource filenames. This will allow users to know why their build is failing.