PkmX / lcamera

A camera app using the new camera2 API in Android Lollipop
1.28k stars 220 forks source link

Crash at startup #40

Open sorcio46 opened 10 years ago

sorcio46 commented 10 years ago

If I try to start the app from the app it crashes on my Nexus 10 manta.

Android Version: 5.0 Build number: LRX21M Kernel version: 3.4.67-gf299445

L Camera version: 1.0

[---------------------------------------------------- LOGCAT ------------------------------------------------------------] --------- beginning of main

W/PropertyValuesHolder( 935): Method setBrightness() with type int not found on target class class us

W/PropertyValuesHolder( 935): Method getBrightness() with type null not found on target class class us

W/AudioTrack( 401): AUDIO_OUTPUT_FLAG_FAST denied by client

--------- beginning of system

I/ActivityManager( 401): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=pkmx.lcamera/.MainActivity (has extras)} from uid 10056 on display 0

W/art ( 401): Long monitor contention event with owner method=boolean com.android.server.am.ActivityManagerService.finishActivity(android.os.IBinder, int, android.content.Intent, boolean) from ActivityManagerService.java:4465 waiters=0 for 138ms

W/InputMethodManagerService( 401): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@37303c1b attribute=null, token = android.os.BinderProxy@325ea745

W/LocationOracleImpl(16537): Best location was null

utkarshns commented 10 years ago

Camera2 api support is not for manta at this point of time. Nexus 5 is best supported IMHO. On Nov 11, 2014 1:26 AM, "Davide Brutti" notifications@github.com wrote:

If I try to start the app from the app it crashes on my Nexus 10 manta.

Android Version: 5.0 Build number: LRX21M Kernel version: 3.4.67-gf299445

L Camera version: 1.0

[---------------------------------------------------- LOGCAT ------------------------------------------------------------] --------- beginning of main

W/PropertyValuesHolder( 935): Method setBrightness() with type int not found on target class class us

W/PropertyValuesHolder( 935): Method getBrightness() with type null not found on target class class us

W/AudioTrack( 401): AUDIO_OUTPUT_FLAG_FAST denied by client

--------- beginning of system

I/ActivityManager( 401): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=pkmx.lcamera/.MainActivity (has extras)} from uid 10056 on display 0

W/art ( 401): Long monitor contention event with owner method=boolean com.android.server.am.ActivityManagerService.finishActivity(android.os.IBinder, int, android.content.Intent, boolean) from ActivityManagerService.java:4465 waiters=0 for 138ms

W/InputMethodManagerService( 401): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@37303c1b attribute=null, token = android.os.BinderProxy@325ea74 https://github.com/android.os.BinderProxy/lcamera/commit/325ea745

W/LocationOracleImpl(16537): Best location was null

Reply to this email directly or view it on GitHub https://github.com/PkmX/lcamera/issues/40.

sorcio46 commented 10 years ago

Tested on the first STOCK ROM released today for the Nexus 10

Android Version: 5.0 Build number: LRX21P Kernel version: 3.4.67-gf299445

L Camera version: 1.0

[---------------------------------------------------- LOGCAT ------------------------------------------------------------] W/PropertyValuesHolder( 6578): Method setBrightness() with type int not found on target class class us

W/PropertyValuesHolder( 6578): Method getBrightness() with type null not found on target class class us

I/ActivityManager( 407): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=pkmx.lcamera/.MainActivity (has extras)} from uid 10022 on display 0

W/InputMethodManagerService( 407): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@ed27642 attribute=null, token = android.os.BinderProxy@36aed0a6

PkmX commented 10 years ago

The log you posted do not contain the relevant information, see #14 for examples of the log that should be posted.

My guess is that it is the same situation: the new functionalities (specially manual control and RAW capabilities) are not implemented on N10 as well.

sorcio46 commented 10 years ago

Should I need root to get that log?

I've tried to do: adb shell setprop log.tag.lcamera VERBOSE adb logcat > log.txt

But it always gives the same output that I've already posted, and I've tried to root my device but it breaks ADB (from USB and over the air).