<java.lang.SecurityException: Can not make a java....
# stackoverflow
u
java.lang.SecurityException: Can not make a java.lang.reflect.Method constructor accessible FCM I am getting this error on button clicked when sending firebase push notification private fun sendNotification(notification: PushNotification) = CoroutineScope(Dispatchers.IO).launch { try { val response = RetrofitInstance.api.postNotification(notification) if (response.isSuccessful){ Log.d(TAG, "Response: ${Gson().toJson(response)}") }else{ Log.e(TAG, response.errorBody().toString()) } }catch (e: Exception){ Log.e(TAG,...