I am unable to generate android application for development testing, due to Couldn't compile the Cordova plugin main/java/com/danishin/detectmocklocation/DetectMockLocation.java:13: error: cannot find symbol. The main problem is, I cant find in which plugin the problem is located, or whether the problem is even plugin related. Hence, unable to locate and fix the issue. Can someone help me find a way to locate the source of the problem or fix the issue in general?
I've attached the android build log below, and here are a list of plugins in the main module :
- BrightnessPlugin
- Common Plugin
- DetectVPN_Plugin
- FileDownload
- FirebaseCloudMessagingPlugin
- FirebaseRealtimeDatabase
- HTTPRequestHandler (extension)
- InAppBrowserPlugin
- JavaScriptTimingEvents
- MockGPSChecker
- NativePermissionsSettings
- OutSystemsCharts
- OutSystemsMaps
- OutSystemsUI
- PopupClickOutsideHandler
- RootJailbreakPlugin
- SettingsPlugin
- Users
Hi,Yes, this issue is related to the mockGPSChecker plugin. I guess the plugin you are using now is outdated, so you should either map the latest version in the extensibility configuration or find another publicly available Cordova plugin
Hi, thank you for your assistance, instead of updating it, I removed the plugin altogether and it worked.
Hi @Jovi
Check the below link.
Android
I believe this has to be changed in the plugin or if it was changed check the release notes in the plugin or try to update it to latest version.
Thanks
Hi @Irfan Ahamed Abdul Shukoor,thank you for your assistance, instead of updating it, I removed the plugin altogether and it worked.Much appreciated.