kezong / fat-aar-android

A gradle plugin that merge dependencies into the final aar file works with AGP 3.+

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Android Resource linking failed

tareq-threls opened this issue · comments

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

  • Operating System: [MacOS]
  • Gradle Plugin Version: [7.1.0]
  • Gradle Version: [7.2]
  • Fat-aar Version: [1.3.8]