Unknown Attribute Android: error on Android STUDIO 3.2.1

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-23 20:18:14

问题


Things i have done to resolve this issue:

  • Clean Build & Rebuild

  • Deleted .idea file

  • Invalidated Caches/ Restart.. option

  • Turn On Power Save Mode.

  • SDk is up to date.

  • Sync Project with Gradle Files done.

  • Reinstall Android Studio done

  • recreate new project done

  • changed something in app Gradle file and synced the project again

  • android studio old version change also not help

  • Intellij shows to reset to default namespace, it will delete android namespace.. (In Project, Layout file corrections not reflecting into app)

Android Studio Version

Error Image

gradle image

Intelij Solution


回答1:


This worked for me

Close Android studio Delete all files from

  • C:\Users\.AndroidStudio3.2\system\caches
  • C:\Users\.AndroidStudio3.2\config //not importent

start android studio




回答2:


Ran into the same issue. Seems to be something specifically related to Android Studio 3.2. My solution on Windows was to delete everything withing the cache/ folder in the .AndroidStudio3.2/ folder.




回答3:


Complete uninstall Android Studio (including system and cache files) and Reinstalling clears my bug...




回答4:


This problem happen for Android studio Cache & History.

Firstly In android studio go File -> Close Project and Exit Android Studio.

Then Delete below 2 Folders:

  • C:\Users\user-name.AndroidStudio3.X\system\caches
  • C:\Users\user-name.AndroidStudio3.X\config\terminal\history (optional)

Open the Android Studio and Enjoy!



来源:https://stackoverflow.com/questions/52949060/unknown-attribute-android-error-on-android-studio-3-2-1

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!