简体   繁体   English

Android的NeoMAD构建示例 - 引用错误

[英]NeoMAD build example for Android - reference error

I am trying to build a proof of concept app using NeoMAD . 我正在尝试使用NeoMAD构建一个概念验证应用程序。 My first step is to install the SDK and build one of their examples for android to test on my phone. 我的第一步是安装SDK并构建他们的一个示例,以便在我的手机上测试android。

I requested the evaluation version of NeoMAD, which I was sent in an email after applying. 我申请了NeoMAD的评估版 ,我在申请后通过电子邮件发送了该版本 I then downloaded Eclipse Standard 64Bit and the Android SDK 64bit . 然后我下载了Eclipse Standard 64BitAndroid SDK 64bit I am running Windows 7 Enterprise. 我正在运行Windows 7 Enterprise。

I opened eclipse, and installed the NeoMAD plugin , I was then able to create a NeoMAD project and import the source from their Camera Example app. 我打开了eclipse,并安装了NeoMAD插件 ,然后我就可以创建一个NeoMAD项目并从他们的Camera Example应用程序中导入源代码。 However when I try to build for ANDROID43 I get an error: 但是当我尝试为ANDROID43构建时,我收到一个错误:

Optimizing compiled classes...

Warning: com.neomades.ui.WebView: can't find referenced method 'void setPluginsEnabled(boolean)' in class android.webkit.WebSettings

Warning: there were 1 unresolved references to program class members.
         Your input classes appear to be inconsistent.
         You may need to recompile them and try again.       
         Alternatively, you may have to specify the option 
         '-dontskipnonpubliclibraryclassmembers'.
Error: Please correct the above warnings first.
Process exited with an error: 1 (Exit value: 1)

I get the same error when I create a new NeoMAD project and try to build it. 当我创建一个新的NeoMAD项目并尝试构建它时,我得到了同样的错误。 Does anyone know how to get this working? 有谁知道如何使这个工作? Have I done something wrong? 我做错了什么吗?

You haven't done anything wrong. 你没有做错任何事。 Indeed, there is a problem with the com.neomades.ui.WebView component for Android 4.3. 实际上,Android 4.3的com.neomades.ui.WebView组件存在问题。

The WebSettings.setPluginsEnabled(boolean) method was removed in Android API Level 18, leading to compiler errors. Android API级别18中删除了WebSettings.setPluginsEnabled(boolean)方法,导致编译器错误。

You can build the application using any older Android target (ANDROID42 for example). 您可以使用任何较旧的Android目标(例如ANDROID42)构建应用程序。

The Neomades team is working on fixing this problem for the next maintenance release. Neomades团队正在努力为下一次维护版本修复此问题。

Updated November 11, 2013: This issue has been fixed in NeoMAD 3.4.3 released October 30. 2013年11月11日更新:此问题已在10月30日发布的NeoMAD 3.4.3中修复。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM