Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HelloPd.pde crash in Android mode #8

Open
sonicdebris opened this issue Nov 28, 2013 · 0 comments
Open

HelloPd.pde crash in Android mode #8

sonicdebris opened this issue Nov 28, 2013 · 0 comments

Comments

@sonicdebris
Copy link

Trying to run the example sketch with processing 2.0.3 on mac os 10.6.8 and running it on a real android device, I get an exception when trying to load the patch:

FATAL EXCEPTION: Animation Thread
java.lang.RuntimeException: java.io.FileNotFoundException: /data/data/processing.test.hellopd/files/data/test.pd
    at org.puredata.processing.PureData.openPatch(Unknown Source)
    at processing.test.hellopd.HelloPd.setup(HelloPd.java:35)
    at processing.core.PApplet.handleDraw(Unknown Source)
    at processing.core.PGraphicsAndroid2D.requestDraw(Unknown Source)
    at processing.core.PApplet.run(Unknown Source)
    at java.lang.Thread.run(Thread.java:856)
Caused by: java.io.FileNotFoundException: /data/data/processing.test.hellopd/files/data/test.pd
    at org.puredata.core.PdBase.openPatch(PdBase.java:209)
    ... 6 more

I guess that's because the file must be copied from the apk to the right folder first. I thought this would be handled "internally", isn't it so?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant