I got this error:

removing attribute http://schemas.android.com/apk/res/android:layout_marginEnd from <ImageView>

from the abc_activity_chooser_view.xml XML file when compiling the appcompat v7 library in my Android project.

Things I have tried:

  1. Uninstall Eclipse Luna and Android SDK completely.
  2. Re-install Eclipse Luna and Android SDK.
  3. Install the require Android components via Android SDK Manager.
  4. In Eclipse, ask Android Lint to ignore the error in Preferences and Skip Library Project Dependencies.
  5. Clean and build all projects.
  6. Add -clean directive to eclipse.ini file.

But without any success.

Tools I used are:

  • OS: Window 7 64-bit
  • IDE: Eclipse Luna Service Release 2 (v4.4.2) Build 20150219-0600 64-bit
  • Android SDK: Android v5.1.1 (API Level 22)
  • ADT: v23.0.6.1720515
  • Android SDK Tools: v24.1.2
  • Android SDK Platform Tools: v22
  • Android SDK Build Tools: v22.0.1
  • Android Support Repository: v12
  • Android Support Library: v22

Does anyone have any suggestion on how to fix, or workaround this error till Google fix this error?

I can't deploy my Android package until this error is fixed.

Thanks for any help.

Related posts

Recent Viewed