Skip to content

Debug console in "Processing Sketch", doesn't receive response of app #216

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

Closed
imartini opened this issue May 11, 2016 · 11 comments
Closed
Assignees

Comments

@imartini
Copy link

Hi!!

Some time ago, I was worked in a VR/AR aplication. This works perfectly in Android 5.1.1, Processing 3.0.1 and the processing-android mode. The problem begins when I upgrade to Processing 3.1, the last processing-android mode and Android 6.0.1 on my smartphone. I can install the app, but de debug console doesn't recieve any response from the errors or code (println() or similars) from the smartphone. The last text I see in the console is "debug:" and nothing else down of this line.
I tried to install the latest usb drivers, searching new options in the 6.0.1 Android for debugging, change permisions int the AndroidManifest.xml but nothing works...

Thanks and sorry for my bad english!

@sesmusician
Copy link

Does the app run in your device?

@imartini
Copy link
Author

Yes, the app run perfectly. Doesn't return any error.

@codeanticode
Copy link
Contributor

@JakubValtar any chance this could this be due to a recent change in the JavaMode?

@JakubValtar
Copy link
Contributor

@codeanticode Probably not. There was some change in out and err stream encoding though, try to look there.

@imartini
Copy link
Author

I tried with a Processing 3.0.2 and old versión of android-mode, and the problem persist. I think that the problem is in the android 6.0.1 and processing-mode can't interpret the response of the smartphone. Another possibility is the incorrect installation of the android in my smartphone, but it's a clear installation.

@codeanticode codeanticode self-assigned this May 11, 2016
@codeanticode
Copy link
Contributor

Ok, it is likely then that something changed in Android 6.0.1 that broke the debug output. Will look into it.

@codeanticode codeanticode added this to the Final 3.0 release milestone May 12, 2016
@rich-gg
Copy link

rich-gg commented May 12, 2016

Hi imartini
Might be out of context but I am interested in making AR app for Android using Processing.
is ke:tai the trick ?

Would you be so kind as to exchange on the topic with me ?

cheers

@codeanticode
Copy link
Contributor

@imartini What was the last version of Processing, Android mode, and SDK where you were able to get the debug output in the console?

I tried Processing 3.0.2 with the RC4 release of the mode and SDK 4.0.4 (15), and don't get any output, so this might have been going on for a while, I just didn't notice until now.

@imartini
Copy link
Author

imartini commented May 18, 2016

@codeanticode Android SO 5.1.1 SDK 22, Processing 3.0.1 and Android Mode 3.0-beta4.
The other possibility that was broken the debug output, it's the Windows 10 actualizations, apping the usb or something.

@rich-gg Ketai it's part of the trick. Actually i'm presenting in a little congress, a RV/RA application, using Arduino to interact with Processing/Android.

@CaffeineOverdrive
Copy link

CaffeineOverdrive commented Jun 6, 2016

I'm running Processing for Android on a couple if rigs under various configurations and have only found the debug console problem using phones on Android 6.01.
Windows version, Android Mode version, Processing version don't consistently seem to affect the issue.
It looks like Android 6.01 has changed something in the debug output and Processing's console can't echo them.
As a workaround I can still view the debug messages in Android Studio's logcat using filters for TAG: system.out or Application: Processing.test.*. I suppose the same would be possible in an ADB terminal window?

@codeanticode
Copy link
Contributor

Yes, you should be able to run adb logcat and see the debug messages. I will look into it soon, I filed the issue under the 3.0.1 bugfix release, which will happen shortly after I push the 3.0 final.

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

6 participants