0

I have an app in that there is a module(mylib). I have included the library in my app with

implementation project(path: ':mylib')

The problem is in that module there is another service.jar dependency which contains FetchDataActivity.java when I extend that class in my app with any Activity its giving error

can not access FetchDataActivity class file for org.service.FetchDataActivity not found

but I'm able to access that class in module(mylib) classes.

I tried to copy that service.jar and added in-app gradle then it's giving duplicate class error while building.

Jaymin
  • 2,879
  • 3
  • 19
  • 35
Nikul Vadher
  • 129
  • 1
  • 9

0 Answers0