Software Archive
Read-only legacy content
17060 Discussions

Android app build fails: cannot find symbol webView

Stefan_Monov
Beginner
1,527 Views

The build of my app for android fails with an error I don't understand, something about compiling Java. This is the first time I attempt to build my app. In App Preview it works fine.

I've attached the detailed build log.

Hm, I found a fix: I removed all plugins from the project and now it works. I'm posting this anyway, it might help other people.

0 Kudos
1 Reply
Dale_S_Intel
Employee
1,527 Views

That' makes sense.  Cordova plugins work by combining native code (Java, on Android) and providing a link to that native code via a JavaScript API. When the build is done, it compiles the native and links it in with your app.  It looks like one of the plugins you're using is not building correctly.  Do you know exactly which plugin is causing the problem?  You might try checking the version numbers, that they are consistent with the version of Cordeva that you're using, and that they're stable.  If it's a publically available plugin, then we might be able to reproduce the problem, which would help.

Dale


 

0 Kudos
Reply