Skip to content Skip to sidebar Skip to footer

Self Managed Phone Call Using Telecom

Update: Thanks to Vadik's help, I updated both the Main and CallService. I am now getting the following error: java.lang.RuntimeException: Unable to instantiate service com.test.p

Solution 1:

To fix Unable to instantiate service caused by Service is not accessible from ActivityThread just make your Service class public:

publicclassCallServiceextendsService {
   ...
}

Kotlin has all classes public by default unlike Java.

Post a Comment for "Self Managed Phone Call Using Telecom"