java - Android 处理,库的使用

标签 java android processing

我有一个在我的计算机上运行良好的处理草图。

我现在正尝试使用 Processing Android 模式让它在我的 Android 平板电脑上运行。但是我收到很多编译器错误,说“找不到符号”。

我正在使用我使用 https://github.com/processing/processing-library-template 创建的一些处理库.

这些库实际上并不访问系统资源或自己调用处理库。或除 Java.util 之外的任何其他外部 Java。他们只是在操纵数据结构。

不过,Android 模式似乎对它们有问题。

谷歌搜索似乎很多处理库不适用于 Android 模式,但我找不到任何明确的内容:我是否应该简单地假设外部库根本无法在 Android 模式下工作?还是有特定的东西不起作用?或者我应该在我的代码中的某处寻找特定的错误?

更新:更多细节。我相信处理 Android 模式的目标是 Android 2.3.3。我正在使用处理 2.21。我所说的图书馆是我自己的。

最佳答案

来自 related Git 问题页面,omerjerk 的评论

The master branch of this repository is not buildable with the master branch of processing. processing has moved ahead and we haven't updated this repository yet. Why are you really building the Android mode yourself ? If you want to run your processing sketches on your phone, then just download processing 2.2.1 from the main website, open the IDE and from there, download the Android mode. In case, if you really want to build Android mode from source, apply this pull request - #98 .

看看有没有帮助

关于java - Android 处理,库的使用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29667062/

相关文章:

android - 实时数据库 - Firebase 不更新

java - 以编程方式更改 TableLayout 中整个列的背景颜色

javascript - Processing.js - sleep 、等待、超时、暂停、延迟?

java - 如何检测互联网访问?

java - 如何 xi :include from different jar?

android - 如何将 bytearray 与 kotlin 中的 file.length() 进行比较?

java - 将坐标保存到文件

java - 在哪里可以找到数据文件夹(正在处理)

java - JBOSS_HOME 未在 Linux 中正确设置,Eclipse 中的 System.getenv 返回 null

java - 阻塞 DBCP 连接池(打开和关闭连接)。 OpenEJB 中的数据库连接池是可插拔的吗?