google-research / libsoftwaresync

:camera: :camera: :camera: :camera: :camera: Wireless software synchronization of multiple distributed smartphone cameras.
https://arxiv.org/abs/1812.09366
Apache License 2.0
145 stars 34 forks source link

Crash #7

Open aggerritsen opened 3 years ago

aggerritsen commented 3 years ago

Hi All,

Nice development, however I'm stuck on this. I'm not a real developper and relatively new to this. I managed to get the CaptureSync build and installed on my Huawei FIG-LX1. When activating the App it does not go in UI mode (unless HotSpot switched on). In de debug logging I find these 2 entries:

_amcrash: [2057,0,com.googleresearch.capturesync,552124230,java.lang.NullPointerException,Attempt to invoke virtual method 'android.view.SurfaceHolder com.googleresearch.capturesync.AutoFitSurfaceView.getHolder()' on a null object reference,MainActivity.java,245]

_amcrash: [2485,0,com.googleresearch.capturesync,552124230,java.lang.NullPointerException,Unable to start activity ComponentInfo{com.googleresearch.capturesync/com.googleresearch.capturesync.MainActivity}: java.lang.NullPointerException,Objects.java,203]

These errors relate to this java file

Can anybody help me to solve this issue?

Thx in advance