-
Notifications
You must be signed in to change notification settings - Fork 643
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't resolve resource for child modules #19
Comments
Following your steps, I can't reproduce the issue. <?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@android:color/white"
android:orientation="vertical">
<Button
android:layout_width="200dp"
android:layout_height="100dp"
android:text="text" />
</LinearLayout> What is |
Will try to send you the demo, meanwhile more information Generated activity and layout through Android Studio
Inside build.gradle for lib-aar
Inside build.gradle for lib-main
|
I didn't receive your demo. |
@kezong turns out above issue was due to different version of support lib version in fat-aar and sample application |
Yes, the support lib must be the same version. |
Hi I have the same problem :(, what does means "different version of support lib version in fat-aar" I'm using classpath 'com.kezong:fat-aar:1.1.10' in my buildScript java.lang.NoSuchFieldError: No static field notification_media_action of type I in class Lcom/paymentez/threedsv2/R$layout; or its superclasses (declaration of 'com.paymentez.threedsv2.R$layout' appears in /data/app/com.paymentez.threedsv2.example-EBinF0yeCgxL3p42GsMqGw==/split_lib_slice_6_apk.apk) |
"different version of support lib version in fat-aar" means the support lib version that your application used is best to be the same as the library use. like this: dependencies {
implementation 'com.android.support:appcompat-v7:27.1.1'
} If you use |
The recommended way was using |
Could you please look into the similar issue, |
Steps to reproduce the issue by updating your example app.
lib-aar-child-1
and make it a dependency forlib-aar
.lib-aar-chidl-1
that injects some layout file.lib-main
The text was updated successfully, but these errors were encountered: