Jaundice101
I hate code!
Profile
Posts: 19
Reg: Apr 12, 2012
Davis, CA
4,590
02/24/14 11:32 PM (10 years ago)

Error The method setPluginsEnabled(boolean) is undefined for the type WebSettings

Hello all. I've imported a fairly simple Android app using the latest version of Eclipse and SDK. Upon doing so, however, I am left with one single error which I cannot seem to figure out a way around: The method setPluginsEnabled(boolean) is undefined for the type WebSettings I've tried adjusting the APIs, the Android Platform, "QuickFix", restarting, deleting and reimporting, and a number of other simple and desperate attempts at fixing the error, but none work. Any thoughts? Thanks.
 
Sandeep
Android Fan
Profile
Posts: 1260
Reg: Feb 01, 2012
Miraj, India
25,250
like
02/24/14 11:47 PM (10 years ago)
Hi, you can comment out the line it wont be a problem. You will have to however, fix this issue in the htmlDoc plugin, customUrl plugin and customHtml plugin as well if you have all of them. You might get other errors (with red mark) below in the plugin files, comment out those lines too.
 
Jaundice101
I hate code!
Profile
Posts: 19
Reg: Apr 12, 2012
Davis, CA
4,590
like
04/04/14 08:22 PM (10 years ago)
Sandeep, I appreciate the advice, but I am not sure entirely what you mean as I am not entirely familiar with the terminology. What do you mean by "comment out?" I am currently only using the customHtml plugins so hopefully that should limit the ensuing complications. My problem was actually temporarily fixed by using an earlier API (14), but once the app was completed and I attempted to share it via the Amazon store I encountered problems anew due to the fact that, as far as I can tell, all their devices require an API of 18 or greater. Switched to an API of 18 and the above problem appeared again. :(
 
haryadoon
Android Fan
Profile
Posts: 3
Reg: Jul 06, 2014
Singapore
5,980
like
09/02/14 11:39 PM (10 years ago)
This is code generated by BuzzTouch. There *should* be no deprecated method calls in BuzzTouch generated code! What's going on behind the scenes here? Apparently, the WebView object no longer has a plugin architecture, so BuzzTouch shouldn't be generating any code to do with WebView plugins.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.