我在Eclipse上使用phonegap开发了一个Android应用程序。
该应用在我测试的所有手机中都能正常使用。它甚至适用于我在Genymotion上使用过的所有虚拟设备。
但是,在一部手机(Android 2.3.6)上,当调用插件时它会卡住,我会收到以下错误。奇怪的是,它在使用Android 2.3.6的另一部手机上完美运行。有什么建议吗?
由于
错误:
09-01 08:07:50.671: E/ActivityThread(13600): Failed to find provider info for com.google.plus.platform
09-01 08:07:51.156: E/ActivityThread(13600): Failed to find provider info for com.google.plus.platform
09-01 08:07:55.500: E/PluginManager(13600): Uncaught exception from plugin
09-01 08:07:55.500: E/PluginManager(13600): java.lang.NullPointerException
09-01 08:07:55.500: E/PluginManager(13600): at org.apache.cordova.file.FileUtils.requestAllPaths(FileUtils.java:866)
09-01 08:07:55.500: E/PluginManager(13600): at org.apache.cordova.file.FileUtils.execute(FileUtils.java:348)
09-01 08:07:55.500: E/PluginManager(13600): at org.apache.cordova.CordovaPlugin.execute(CordovaPlugin.java:65)
09-01 08:07:55.500: E/PluginManager(13600): at org.apache.cordova.PluginManager.execHelper(PluginManager.java:242)
09-01 08:07:55.500: E/PluginManager(13600): at org.apache.cordova.PluginManager.exec(PluginManager.java:227)
09-01 08:07:55.500: E/PluginManager(13600): at org.apache.cordova.ExposedJsApi.exec(ExposedJsApi.java:53)
09-01 08:07:55.500: E/PluginManager(13600): at org.apache.cordova.CordovaChromeClient.onJsPrompt(CordovaChromeClient.java:227)
09-01 08:07:55.500: E/PluginManager(13600): at android.webkit.CallbackProxy.handleMessage(CallbackProxy.java:580)
09-01 08:07:55.500: E/PluginManager(13600): at android.os.Handler.dispatchMessage(Handler.java:99)
09-01 08:07:55.500: E/PluginManager(13600): at android.os.Looper.loop(Looper.java:130)
09-01 08:07:55.500: E/PluginManager(13600): at android.app.ActivityThread.main(ActivityThread.java:3687)
09-01 08:07:55.500: E/PluginManager(13600): at java.lang.reflect.Method.invokeNative(Native Method)
09-01 08:07:55.500: E/PluginManager(13600): at java.lang.reflect.Method.invoke(Method.java:507)
09-01 08:07:55.500: E/PluginManager(13600): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:842)
09-01 08:07:55.500: E/PluginManager(13600): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600)
09-01 08:07:55.500: E/PluginManager(13600): at dalvik.system.NativeStart.main(Native Method)
09-01 08:08:26.796: E/ActivityThread(13600): Failed to find provider info for com.google.plus.platform
答案 0 :(得分:0)
在从头开始重建整个项目之后我就把它搞砸了。
我不知道为什么它不能用于某些特定的手机,但我可能在整个过程中搞砸了。
由于
珍