androidandroid-studioaapt

Error AAPT Android Studio when generate signature


I'm trying to generate a signature apk to publish my app to the play store, but this error appears every time

Task :app:processReleaseResources FAILED AGPBI: {"kind":"error","text":"Android resource linking failed","sources":[{}],"original":"ERROR:: AAPT: /Users/luisabsg/Desktop/ebookandroid-18_1/codecanyon-24119642-ebook-android-app-online-freepaid-book-paypal-admin-panel/MainFiles/AppCode/E-Books App/E-Books App/app/build/intermediates/res/merged/release/.anim_abc_popup_enter.xml 2.flat.icloud: error: failed to read file: magic value is 0x696c7062 but AAPT expects 0x54504141.\nerror: failed parsing overlays.\n\n ","tool":"AAPT"} ERROR:: AAPT: /Users/luisabsg/Desktop/ebookandroid-18_1/codecanyon-24119642-ebook-android-app-online-freepaid-book-paypal-admin-panel/MainFiles/AppCode/E-Books App/E-Books App/app/build/intermediates/res/merged/release/.anim_abc_popup_enter.xml 2.flat.icloud: error: failed to read file: magic value is 0x696c7062 but AAPT expects 0x54504141. error: failed parsing overlays.

enter image description here

Someone help me?


Solution

  • You shouldn't have *.icloud files in your project.

    Disable any iCloud synchronisation for the project directory.