googlevr / gvr-android-sdk

Google VR SDK for Android
http://developers.google.com/vr/android/
Other
3.28k stars 1.28k forks source link

I can't call loadImageFromBitmap #595

Open ganico opened 5 years ago

ganico commented 5 years ago

I'm following this guide https://developers.google.com/vr/develop/android/get-started but it seems I still need to setup something else. I checked also the sample and try to replicate all the settings but it doesn't work on my part. Any updated guide to follow on?

sigmaxipi commented 5 years ago

What is the error that you are seeing? Do the samples work if you build them directly from the repo? Did you grant your app permission to read from disk?

ganico commented 5 years ago

Sorry for the long response.

I tried the sample and it's perfectly working but when I tried to incorporate it on my project it seems that the gradle doesn't download everything for me to use it in the activity. Btw i'm using kotlin but I think that shouldn't be a problem.

I already removed my codes so I forgot already the error since i'm trying the implementation 'com.google.vr:sdk-panowidget:1.150.0' and it's perfectly working fine but as what you've said on the previous issues better to start here "https://github.com/googlevr/gvr-android-sdk/issues/510?fbclid=IwAR1W1mY1zVpm0P-HH3gb67cDusRBT8NogLjjjz3IySTRe2Wk1PSFiKXAUp4" if we need a more complex panoramic view.