-4

I have added a library, It is showing a toast message every time the app start. How to disable this toast. Any hack method also be appreciated.

I am unable to modify library code it is a classpath dependency enter image description here

sum20156
  • 646
  • 1
  • 7
  • 19
  • Can you share what you have done already? – Ticherhaz FreePalestine May 22 '21 at 06:23
  • i dont know how to do it, so I have not done anything already. Do you know how to do it – sum20156 May 22 '21 at 06:24
  • Does this answer your question? [Editing external libraries in Android Studio](https://stackoverflow.com/questions/48635049/editing-external-libraries-in-android-studio) – Tausif May 22 '21 at 06:29
  • i have already mentioned it is a classpath dependency . do you know how to edit it @Tausif – sum20156 May 22 '21 at 06:34
  • How do you know that is it from classpath dependency ? can you please show us in which scenario this is occurred ? – Tausif May 22 '21 at 06:37
  • how do you know it is not..as I am 100% sure that's why I have mentioned it. Noob...if you know how to edit classpath library just tell me..why you are more concerned about whether toast is coming from that library.. – sum20156 May 22 '21 at 06:41
  • Please research more, invest more time. Hope, one day you get the solution. Thanks ! – Tausif May 22 '21 at 06:58
  • Please update your question title and ask "How to edit classpath library code or class". It will be more meaningful for us to understand. – Tausif May 22 '21 at 07:06
  • my concern is to just disable toast and it is in top priority, that's why it is in the title, modifying classpath is one of the ways to do it.. anyone in the community can also answer any other way to disable toast. – sum20156 May 22 '21 at 07:21
  • You would need to talk to the developers of the Gradle plugin that you are using from that library and ask them how to disable this `Toast`. – CommonsWare May 22 '21 at 10:53

1 Answers1

-1

Override the library, without the Toast