简体   繁体   English

处理在Android上运行

[英]Processing Run on Android

So I'm trying to test out processing for Android. 因此,我正在尝试测试Android的处理能力。 I have a simple sketch ready and want to run it on my Android device. 我已经准备好一个简单的草图,并想在我的Android设备上运行它。 But I cant get it to work. 但是我无法使其正常工作。 And it isn't a problem with my sketch; 我的草图也不成问题。 the example sketches also won't run. 示例草图也不会运行。 I have the SDK downloaded and configured correctly but when I compile it and run, it gives me this error: 我已经正确下载并配置了SDK,但是当我编译并运行它时,出现以下错误:

BUILD FAILED
/Users/Gurpreet/Desktop/Programming/android-sdk-macosx/tools/ant/build.xml:720: The following error occurred while executing this line:
/Users/Gurpreet/Desktop/Programming/android-sdk-macosx/tools/ant/build.xml:734: Compile failed; see the compiler error output for details.

Total time: 1 second

What can I do to get my sketch to run on my phone? 如何使草图在手机上运行?

I had this kind of error and it was because of this 2 things, first I needed to install the driver for my cell phone and then set my phone to develop mode. 我有这种错误,是由于这两个原因,首先我需要为手机安装驱动程序,然后将手机设置为开发模式。 Try doing this 2 things. 尝试做这2件事情。

Regards Jose. 问候何塞。

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

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