kezong / fat-aar-android

A gradle plugin that merge dependencies into the final aar file works with AGP 3.+
MIT License
3.13k stars 621 forks source link

Android Resource linking failed #408

Open tareq-threls opened 1 year ago

tareq-threls commented 1 year ago

Describe the issue Some private third-party dependencies cause issues while using embed. AGPBI: {"kind":"error","text":"Android resource linking failed","sources":[{"file":"/Users/tareq/code/threls/weavr-native-android/UX/build/intermediates/exploded-aar/com.sumsub.sns/sns-camera-photo-document-picker/1.19.8/productionRelease/res/layout/sns_activity_photo_document_picker.xml","position":{"startLine":26}}],"original":"ERROR:/Users/tareq/code/threls/weavr-native-android/UX/build/intermediates/exploded-aar/com.sumsub.sns/sns-camera-photo-document-picker/1.19.8/productionRelease/res/layout/sns_activity_photo_document_picker.xml:27: AAPT: error: attribute cameraUseDeviceOrientation (aka io.weavr.components:cameraUseDeviceOrientation) not found.\n ","tool":"AAPT"}

already set android.disableResourceValidation=true in gradle.perperties

Build Environment