react-native-background-timer icon indicating copy to clipboard operation
react-native-background-timer copied to clipboard

Type com.ocetnik.timer.BackgroundTimerModule$2 is defined multiple times:

Open Dharm3438 opened this issue 4 years ago • 2 comments

Current behavior

I am not able to build a release for android its giving below error

Type com.ocetnik.timer.BackgroundTimerModule$2 is defined multiple times: /home/mopharma/Downloads/fresh_hows_work/backgroundlocation_howswork/working_hows_work/Copy of HOWS WORK (1)/android/app/build/intermediates/transforms/FirebasePerformancePlugin/release/4/com/ocetnik/timer/BackgroundTimerModule$2.class, /home/mopharma/Downloads/fresh_hows_work/backgroundlocation_howswork/working_hows_work/Copy of HOWS WORK (1)/android/app/build/intermediates/transforms/FirebasePerformancePlugin/release/182/com/ocetnik/timer/BackgroundTimerModule$2.class

I already did clean rebuild project deleted the build and .gradle folders

also tried to exclude the package the package using the below code but then the app dosent works

    exclude group: 'com.facebook.react',module:'react-native-background-timer'

Expected behavior

I can build my release for android

Repro steps

Environment

  • Platforms tested:
    • [x] Android
    • [ ] iOS
    • [ ] macOS
    • [ ] Windows
  • react-native-background-timer version: 2.2.0
  • Environment: Android
  • Logs/Errors that may be relevant:

Dharm3438 avatar Dec 21 '20 11:12 Dharm3438

bump - same issue

FairWageFreelancing avatar Aug 21 '21 22:08 FairWageFreelancing

@ocetnik do you have any idea on this please discuss

hp9971 avatar Nov 18 '22 08:11 hp9971