skip to Main Content

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.

2

Answers


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

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

    Login or Signup to reply.
  2. Update to new version of Android Studio Dolphin. It will fix the error. Dolphin Version is stable now.

    https://developer.android.com/studio/releases?utm_source=android-studio

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search