0

Program type already present: com.android.volley.BuildConfig Message{kind=ERROR, text=Program type already present: com.android.volley.BuildConfig, sources=[Unknown source file], tool name=Optional.of(D8)}

I'm facing this problem when I try to use volley library for my main app module and my project also has a LinkedIn module which also has volley library.

Thanks in advance for the solution.

Arash Hatami
  • 5,297
  • 5
  • 39
  • 59
Swapon
  • 409
  • 6
  • 16

1 Answers1

1

I was also facing the same issue.

I solved this issue by following steps

  1. Remove the .jar file of Volley from app and LinkedIn module
  2. Adding same dependency version of Volley library in both the module.
ppreetikaa
  • 1,149
  • 2
  • 15
  • 22