简体   繁体   English

无法在处理中运行android代码

[英]Cannot run an android code on Processing

When I try to run an android code in Processing 2.2.1 Android mode I get the following message: 当我尝试在Processing 2.2.1 Android模式下运行android代码时,收到以下消息:

Error from inside the Android tools, check the console.

And then: 接着:

java.io.FileNotFoundException: C:\Users\USER\Documents\Processing\modes\AndroidMode\icons\icon-96.png (The system cannot locate the resource specified) 
        at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(Unknown Source)
    at processing.app.Base.copyFile(Base.java:2698)
    at processing.mode.android.AndroidBuild.writeRes(AndroidBuild.java:807)
    at processing.mode.android.AndroidBuild.createProject(AndroidBuild.java:169)
    at processing.mode.android.AndroidBuild.build(AndroidBuild.java:91)
    at processing.mode.android.AndroidMode.handleRunDevice(AndroidMode.java:227)
    at processing.mode.android.AndroidEditor$16.run(AndroidEditor.java:513)

BUILD FAILED
C:\Users\USER\AppData\Local\Temp\android9132488509980035650sketch\build.xml:9: The entity name must immediately follow the '&' in the entity reference.

Total time: 0 seconds

What can I do to solve it? 我该怎么解决? I am a total beginner so please try to be as specific and clear as possible. 我是一个初学者,所以请尽量保持清晰明确。

Thanks! 谢谢!

程序需要此文件“ C:\\ Users \\ USER \\ Documents \\ Processing \\ modes \\ AndroidMode \\ icons \\ icon-96.png”,但找不到它。

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

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