Home > OS >  Tons of "Unknown attribute" errors in AndroidManifest file
Tons of "Unknown attribute" errors in AndroidManifest file

Time:09-14

After upgrading to API 33 in Android studio, I am getting tons of "Unknown attribute" errors in the AndroidManifest.xml file. I tried invalidating cache and restarting, I tried removing the ~/.gradle/caches/ folder, and still getting the errors. The first two already the versionCode and versionName:

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:tools="http://schemas.android.com/tools"
  package="com.floritfoto.apps.xvfviewer"
  android:versionCode="147"
  android:versionName="3.10">
  ...

Still, the project compiles, and I get no inspection errors.

CodePudding user response:

API 33 is not supported by Studio Chipmunk: https://issuetracker.google.com/issues/241460885#comment8

CodePudding user response:

My solution was to upgrade Android Studio to Android Studio Dolphin | 2021.3.1 RC 1.

  • Related