Quantcast
Channel: Android Mode - Processing 2.x and 3.x Forum
Viewing all articles
Browse latest Browse all 941

KetaiCamera extremely slow when compiled from Android Studio

$
0
0

I face an odd behaviour when I compile my sketch from within Android Studio (what I have to to because I am using a JNI library dependency):

The same app (namely the CameraGettingStarted example sketch from Ketai library examples) has about 15FPS when I compile from the processing app and only about 3-4 FPS when I use Android Studio.

I just imported the temporary build folder into Android Studio, so basically everything (manifest, build.gradle etc.) is untouched.

Does anyone have an idea???

EDIT: What I found out: This behaviour only happens when using the "embedded JDK" in Android Studio. (Project Structure/JDK Location...). After I manually pointed to JDK1.8.0_144, everything went just fine...


Viewing all articles
Browse latest Browse all 941

Trending Articles