Closed lwmirkk closed 2 years ago
Please update your build tools in Android Studio. We require version 33 now to support the latest Android features.
I tried with 33.0.0 rc1 and returned same error:
NOTE: Multiple Android build-tools folders exist, choosing the latest version (33.0.0 rc1) for packaging
aapt tool failed:C:\Users\***\AppData\Local\Temp\c05a7a6e-7e5c-4e67-b98d-bb9e9d36deba\savedstate-1.1.0-res\values\values.xml:3: error: Found tag id where item is expected
C:\Users\***\AppData\Local\Temp\c05a7a6e-7e5c-4e67-b98d-bb9e9d36deba\lifecycle-viewmodel-2.3.1-res\values\values.xml:3: error: Found tag id where item is expected
C:\Users\***\AppData\Local\Temp\c05a7a6e-7e5c-4e67-b98d-bb9e9d36deba\lifecycle-runtime-2.3.1-res\values\values.xml:3: error: Found tag id where item is expected
Deleted old build-tools and other unused plugins and same problem.
I'm using Java 11, don't know if make differences. Not updated to Java 17 yet because some errors reports when compiling with Java 17.
P.S.: For now, I don't need this updated version, I can use the old one for now.
Hi, I have similar issue with build tool version 30.0.3 but it displays
`aapt tool failed:C:\Users\XXX\AppData\Local\Temp\f840e0e8-597b-4a05-b64a-9e1024634ddf\savedstate-1.1.0-res\values\values.xml:3: error: Found tag id where item is expected
C:\Users\XXX\AppData\Local\Temp\f840e0e8-597b-4a05-b64a-9e1024634ddf\lifecycle-viewmodel-2.3.1-res\values\values.xml:3: error: Found tag id where item is expected
C:\Users\XXX\AppData\Local\Temp\f840e0e8-597b-4a05-b64a-9e1024634ddf\lifecycle-runtime-2.3.1-res\values\values.xml:3: error: Found tag id where item is expected
C:\Users\XXX\AppData\Local\Temp\f840e0e8-597b-4a05-b64a-9e1024634ddf\constraintlayout-2.1.3-res\values\values.xml:1491: error: Attribute "android:translationX" has already been defined C:\Users\XXX\AppData\Local\Temp\f840e0e8-597b-4a05-b64a-9e1024634ddf\constraintlayout-2.1.3-res\values\values.xml:1495: error: Attribute "android:translationY" has already been defined C:\Users\XXX\AppData\Local\Temp\f840e0e8-597b-4a05-b64a-9e1024634ddf\constraintlayout-2.1.3-res\values\values.xml:1498: error: Attribute "android:translationZ" has already been defined`
I tried with many different air versions .795, 713. 686
I reverted back the files from AndroidSupport and it worked. Please fix.
Java 11 is correct.
Are you using the legacy build mode?
@httpwebmedia Please try updating your build tools, I believe 33 is the latest not 30.
I'll be continuing this here: https://github.com/airsdk/Adobe-Runtime-Support/discussions/1762
Expected behaviour
Compile APK
Actual behaviour
Compiler error and stop.
Environment
Logs
Extensions: