mapsplugin / cordova-plugin-googlemaps

Google Maps plugin for Cordova
Apache License 2.0
1.66k stars 918 forks source link

/src/plugin/google/maps/GoogleMaps.java:794: error: cannot find symbol #449

Closed AdrianoMoura closed 9 years ago

AdrianoMoura commented 9 years ago

Hi @wf9a5m75,

I getting the follow error when I try to build the Android version of my app with the last plugin version

This is the log return:

-compile:
    [javac] Compiling 69 source files to .../PlanVale/bin/classes
    [javac] .../PlanVale/src/plugin/google/maps/GoogleMaps.java:794: error: cannot find symbol
    [javac]     this.webView.showCustomView(dummyLayout, new WebChromeClient.CustomViewCallback() {
    [javac]                 ^
    [javac]   symbol:   method showCustomView(FrameLayout,<anonymous CustomViewCallback>)
    [javac]   location: variable webView of type CordovaWebView
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 1 error
wf9a5m75 commented 9 years ago

Do you use general Cordova?

AdrianoMoura commented 9 years ago

Yes, but I build in Intel XDK cloud

wf9a5m75 commented 9 years ago

I've never used it ....

It seems Intel XDK uses CrossWalk Cordova instead of Apache Cordova.

wf9a5m75 commented 9 years ago

Yes, I'm correct. They uses Crosswalk project. https://software.intel.com/en-us/xdk/docs/crosswalk-application-runtime-overview

However Crosswalk has a bug, so this plugin does not work with Crosswalk currently.

Merge to #302. And check here https://crosswalk-project.org/jira/plugins/servlet/mobile#issue/XWALK-3742

AdrianoMoura commented 9 years ago

But when I try to build traditional Android app the build fail too. I don't have any idea to solve this. :/

AdrianoMoura commented 9 years ago

Had something that I can do, maybe fork your plugin and change something?

wf9a5m75 commented 9 years ago

Crosswalk does not support the showCustomeView() method. Just comment out it

On Tue, Mar 24, 2015, 6:08 AM Adriano Moura notifications@github.com wrote:

Had something that I can do, maybe fork your plugin and change something?

— Reply to this email directly or view it on GitHub https://github.com/wf9a5m75/phonegap-googlemaps-plugin/issues/449#issuecomment-85487067 .

AdrianoMoura commented 9 years ago

I will try, thanks a lot