plattysoft / ArToolKitJpctBaseLib

Other
20 stars 13 forks source link

The provided samples are not running #15

Open gvsharma opened 7 years ago

gvsharma commented 7 years ago

Hi..Thanks for the project. I downloaded the projects and all the three samples are compiled fine but 'ArJcptSample' and 'CubeSample' are not running in my mobile. Where am i wrong?

plattysoft commented 7 years ago

What do you mean by not running? Can you describe the behaviour you are getting in more detail?

gvsharma commented 7 years ago
  1. I have downloaded the project.
  2. Able to compile it and happy. 3.ARJcptSample and Cube Sample are showing black screen and camera is not showing however the other sample is working fine.
plattysoft commented 7 years ago

it sounds like it is missing camera permission, I recall the examples were compiled against something pre-marshmallow, but if the targetSDK has changed I don't thin dynamic permission requests have been added.

Can you verify if the app has permission to access the camera?

gvsharma commented 7 years ago

i checked..there is no code for runtime permissions However the third sample from the same project is working as expected..?strange..

plattysoft commented 7 years ago

maybe it has a different compileSDK, so, you can check if enabling the camera permission in settings makes it work.