androidxmlandroid-studioandroid-studio-3.4

"Attribute class is not allowed here" in xml file Android studio 3.4 error


Attribute class is not allowed here error. I don't know what is causing this error

Android studio :3.4
classpath "com.android.tools.build:gradle:3.4.0"

error


Solution

  • Just found out that it's android studio 3.4 error, this should probably go after an Android update or for now downgrade the version works.

    Note: it does not run into any errors if you run with the same version

    Update: Android studio update 3.4.1 removes this issue