testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
api project(path: ':comp-sdk')
api project(path: ':comp-featureA')
api project(path: ':comp-featureB')
api project(path: ':prov-common')
api project(path: ':libp-image')
api project(path: ':lib-image')
api project(path: ':lib-base')
}
Stack
java.lang.NoSuchFieldError: No field abc_action_bar_view_list_nav_layout of type I in class Lcom/android/component/merge/sdk/R$layout; or its superclasses (declaration of 'com.android.component.merge.sdk.R$layout' appears in /data/app/com.android.component-1/base.apk)
Hi,recently I use the fataar gradle plugin, find the merged aar not contain R$layout. Please help me check the issue, thanks~
Gradle config
// merge-sdk module build gradle
dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) compileOnly 'com.android.support:appcompat-v7:28.0.0' compileOnly 'com.android.support.constraint:constraint-layout:1.1.3'
}
Stack
java.lang.NoSuchFieldError: No field abc_action_bar_view_list_nav_layout of type I in class Lcom/android/component/merge/sdk/R$layout; or its superclasses (declaration of 'com.android.component.merge.sdk.R$layout' appears in /data/app/com.android.component-1/base.apk)