This is the easiest way to check camera api compatibility so follow these steps given below very carefully:
Step 1: Download and Install Manual Camera Compatibility from google play store.
Step 2: Open the Manual Camera Compatibility Application and it asks you for some required permission to allow it to get accurate results.
Step 3: Click on the Start button to get the camera API compatibility test started.
Step 4: Once you click on the start button then it will take few seconds to generate the compatibility report. If all the ticks are green then you can use google camera apk.