Flash在phonegap 2.7 android 4.x上不工作

Flash在phonegap 2.7 android 4.x上不工作,android,flash,cordova,cordova-plugins,Android,Flash,Cordova,Cordova Plugins,我在Phonegap2.7中集成了一个使用flash播放器的页面 要在phonegap中启用Flash,我使用了 super.init(); super.appView.getSettings().setPluginsEnabled(true); 因此,在安卓2.3上一切都运行得很好,但在4.x设备上却失败了 因此,我根据So中的一些问题尝试了以下内容 super.loadUrl("file:///android_asset/www/index.html"); WebView webView=

我在Phonegap2.7中集成了一个使用flash播放器的页面

要在phonegap中启用Flash,我使用了

super.init();
super.appView.getSettings().setPluginsEnabled(true);
因此,在安卓2.3上一切都运行得很好,但在4.x设备上却失败了

因此,我根据So中的一些问题尝试了以下内容

super.loadUrl("file:///android_asset/www/index.html");
WebView webView= new WebView(this);
webView.getSettings().setJavaScriptEnabled(true);
webView.getSettings().setPluginsEnabled(true);
不工作没有错误

同样的结果。运行,但没有错误显示,播放器中没有内容。外部页面工作正常,我在pc浏览器中检查了它们

在Log CAT中,显示该消息,但不显示为错误

02-14 12:19:22.435:D/WebCore/FrameLoaderClient和ROID10204: FrameLoaderClientAndroid::frameLoaderDestroyed this=0x11001e8 02-14 12:19:22.435:D/WebCore/FrameLoaderClient和ROID10204: FrameLoaderClientAndroid::~FrameLoaderClientAndroid this=0x11001e8

等等。这种按摩没有显示在我的android 2.3上,而且运行完全符合我的要求。我错过了什么?如何在android 4.x上运行flash页面

import android.webkit.WebSettings;
import android.webkit.WebSettings.PluginState;

WebSettings settings = appView.getSettings(); 
settings.setPluginState(PluginState.ON);