-
-
Notifications
You must be signed in to change notification settings - Fork 293
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
Processing sketch won't open on android device. #729
Comments
That's odd. What version of Processing and the Android mode are you using? |
Android Studio 2022.1.1 I actually got a new phone recently, and it all works on that. |
I have two Android tablets connected to my system: old Galaxy S2, new Galaxy A8. The following code runs ok on the S2, but fails on the A8 with the same error message as that shown above. Processing version is 4.2.
|
I ran into a similar problem using Android Mode 4.5 (version 410) recently. I would like to continue to use Processing Android with old Android devices (10+ years). I made a repository with zip file at https://github.com/ajavamind/processing-android-410-api-15 |
@ajavamind Thank you very much for your contribution; it appears that you solved the problem. I downloaded your zip file and placed it in the 'modes' folder of my Documents/Processing folder (macOS). I was then able to run a simple sketch on the new Galaxy A8 tablet without error using your version of AndroidMode. |
Do you have any suggestions about how to solve this problem:
#736 ?
…On Mon, Apr 17, 2023 at 12:55 PM Andy Modla ***@***.***> wrote:
I ran into a similar problem using Android Mode 4.5 (version 410) recently.
I built a sketch for a tablet with Android API 15 (4.0.4) and the verify
error appeared.
The minimum target SDK is API 17 in Android Mode 410.
I found it could not verify any class using the AppComponent.WATCHFACE.
I built my own Android Mode library commenting out all
AppComponent.WATCHFACE and references to watchface from PSurfaceNone.java,
PSurfaceAndroid2D.java, PSurfaceGLES.java
I would like to continue to use Processing Android with old Android
devices (10+ years).
Tried to attached the modified AndrodeMode.zip file I built, but it is too
big.
—
Reply to this email directly, view it on GitHub
<#729 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AARQD7BZCSRIDUMEMGPJH2TXBV7YJANCNFSM6AAAAAAVKRGIJI>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Thanks for the information and reply.
…On Thu, Apr 20, 2023 at 2:53 PM Andy Modla ***@***.***> wrote:
Processing android mode does not support javafx, issue #736
<#736> #736
<#736>
—
Reply to this email directly, view it on GitHub
<#729 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AARQD7HZMLWESP4X4NYUIT3XCGH33ANCNFSM6AAAAAAVKRGIJI>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
I have the same problem. Here is my configuration:
I will try with other devices and versions of Android. Edit: it works correctly in a Huawei P20 Lite (ANE-LX1) with Android 9.1 (stock) |
Same here, with a Poco X3 Pro and LineageOS (could that be the reason?) |
@ajavamind your fix worked for me! Android fragmentation getting me down lately.. |
I can't run any sketch on my device, even the tutorial code. The code builds and I can see the sketch on my homepage but it crashes on startup. This is my first time using Processing for Android. My phone is a Xiaomi Redmi Mi 9t.
Tutorial code:
Here is the error code:
Edit: Just tried in my friend's phone and it worked. I don't know why my phone's not working though.
The text was updated successfully, but these errors were encountered: