Skip to content

Issue Nexus 5 #59

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

Open
saschaarthur opened this issue Jul 16, 2016 · 2 comments
Open

Issue Nexus 5 #59

saschaarthur opened this issue Jul 16, 2016 · 2 comments

Comments

@saschaarthur
Copy link

saschaarthur commented Jul 16, 2016

Hello,

i noticed that the old library was deprecated which is now linking here. Thanks for going on with the project !

Anyways i have trouble with the new Library, my Nexus 5 is not working anymore:

heres ADB Output:

07-16 12:57:58.439 10641-10641/eu.livotov.labs.android.camview.test I/art: Late-enabling -Xcheck:jni
07-16 12:57:58.528 10641-10641/eu.livotov.labs.android.camview.test W/System: ClassLoader referenced unknown path: /data/app/eu.livotov.labs.android.camview.test-2/lib/arm
07-16 12:57:58.915 10641-10651/eu.livotov.labs.android.camview.test W/art: Suspending all threads took: 9.173ms
07-16 12:57:58.935 10641-10651/eu.livotov.labs.android.camview.test I/art: Background sticky concurrent mark sweep GC freed 28065(1345KB) AllocSpace objects, 0(0B) LOS objects, 38% free, 14MB/23MB, paused 9.633ms total 160.657ms
07-16 12:57:58.946 10641-10651/eu.livotov.labs.android.camview.test W/art: Suspending all threads took: 9.336ms
07-16 12:57:59.068 10641-10641/eu.livotov.labs.android.camview.test I/CameraManagerGlobal: Connecting to camera service
07-16 12:57:59.182 10641-10699/eu.livotov.labs.android.camview.test W/CameraBase: An error occurred while connecting to camera: 0
07-16 12:57:59.190 10641-10700/eu.livotov.labs.android.camview.test D/OpenGLRenderer: Use EGL_SWAP_BEHAVIOR_PRESERVED: true
07-16 12:57:59.264 10641-10700/eu.livotov.labs.android.camview.test I/Adreno-EGL: <qeglDrvAPI_eglInitialize:379>: QUALCOMM Build: 10/21/15, 369a2ea, I96aee987eb
07-16 12:57:59.270 10641-10700/eu.livotov.labs.android.camview.test I/OpenGLRenderer: Initialized EGL, version 1.4
07-16 12:58:00.182 10641-10699/eu.livotov.labs.android.camview.test W/CameraBase: An error occurred while connecting to camera: 0
07-16 12:58:01.184 10641-10699/eu.livotov.labs.android.camview.test W/CameraBase: An error occurred while connecting to camera: 0
07-16 12:58:02.185 10641-10699/eu.livotov.labs.android.camview.test W/CameraBase: An error occurred while connecting to camera: 0
07-16 12:58:02.300 10641-10647/eu.livotov.labs.android.camview.test I/art: Debugger is no longer active
07-16 12:58:03.186 10641-10699/eu.livotov.labs.android.camview.test W/CameraBase: An error occurred while connecting to camera: 0
07-16 12:58:04.212 10641-10641/eu.livotov.labs.android.camview.test E/ScannerLiveView: n/a
07-16 12:58:04.388 10641-10700/eu.livotov.labs.android.camview.test V/RenderScript: 0xaf046000 Launching thread(s), CPUs 4

Surely i used the Example App out of the Repository, my Nexus running is no Custom ROM, its up2date and the old library is working.

Also i tried it with a Samsung its works..

Would be nice if you could investigate why this it not working :(

@saschaarthur
Copy link
Author

Also i restartet my Android and it was not working.

Anways i implemented the new CamView in a Production App of mine and it seems not to work for my Nexus - only for other devices i tested.

After i released the app and it went through the Play-Store it was still not working.. (all good to this point)

Now all over sudden i tried it by accident again and it seems to run for my Nexus - i didnt do anything with the App (same version, same sha1sum, no reboot ... even the same installation of the App!).

The strange part about it, is that even the original Test-App is still crashing with error above.

Any Idears whats going on? Is never seen something nondeterministic like this.

@saschaarthur
Copy link
Author

saschaarthur commented Nov 7, 2016

Figured it out.

Its permission related, on Android 6. (For example when you revoke permission and dont ask dynamicly for it)

Maybe the library can push out a more detailed Error based on this?

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