debottam31 opened a new issue #1325:
URL: https://github.com/apache/cordova-android/issues/1325


   # Bug Report
   I am getting this error with a Cordova plugin only when I use 
[email protected]
   ## Problem
   W/System.err: java.lang.NoSuchMethodError: No interface method 
getActivity()Landroid/app/Activity; in class 
Lorg/apache/cordova/CordovaInterface; or its super classes (declaration of 
'org.apache.cordova.CordovaInterface' appears in 
/data/app/com.plugin.dev.app-C58J8xz2jyHWPTMzJWfp-A==/base.apk!classes3.dex)
   W/System.err:     at 
com.dummy.modules.plugin.MyCordovaPlugin.execute(MyCordovaPlugin.java:58)
   W/System.err:     at 
org.apache.cordova.CordovaPlugin.execute(CordovaPlugin.java:98)
           at org.apache.cordova.PluginManager.exec(PluginManager.java:140)
   W/System.err:     at 
org.apache.cordova.CordovaBridge.jsExec(CordovaBridge.java:59)
   W/System.err:     at 
org.apache.cordova.engine.SystemExposedJsApi.exec(SystemExposedJsApi.java:41)
   W/System.err:     at android.os.MessageQueue.nativePollOnce(Native Method)
   W/System.err:     at android.os.MessageQueue.next(MessageQueue.java:326)
           at android.os.Looper.loop(Looper.java:160)
   W/System.err:     at android.os.HandlerThread.run(HandlerThread.java:65)
   
   It is referring to the **this.cordova.getActivity()** this line in the code.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to