My app cannot see a library within a library

58
January 11, 2019, at 5:50 PM

I created 2 Android libraries. Names are LibA and LibB. LibA uses LibB and Android App uses LibA. I added LibB's aar file to LibA's project and added this line to gradle file.

implementation files ('libs/libB.aar')

then compile LibA and added LibA's aar file to Android App project and added this line to app's gradle file.

implementation files ('libs/libA.aar')

now when app crashed when LibB's method call. but i did not access LibB's method directky from app. app calls LibA's method and LibA calls LibB's method. exception is :

java.lang.NoClassDefFoundError: Failed resolution of: Lcom/test/libB;

I do not want to add LibB's aar to app's gradle file directly. How can I resolve this problem ?

READ ALSO
How to make that the snackbar action button be shown in a different line if the text is long?

How to make that the snackbar action button be shown in a different line if the text is long?

I am working with the Material Design components in the support library version 280

55
Location service giving beep sound every second above android 8.0 version

Location service giving beep sound every second above android 8.0 version

I am running the background service in that iam using location service to get the current locationFor every second it gives a beep sound in above android 8

32
Playerprefs are deleted after compilation

Playerprefs are deleted after compilation

I'm working on a simple 2D android game nowI use playerprefs to store all app data

56
How can I reject an App Link and open it in the browser?

How can I reject an App Link and open it in the browser?

My app handles specific links from my websiteHowever, in some situations, the user can't handle the link in the app, so I want to show them a message and then take them to the link in the default browser when they acknowledge

44