# Android VideoPlayer 0 size texture

**URL:** https://discourse.libcinder.org/t/android-videoplayer-0-size-texture/1530
**Category:** Uncategorized
**Created:** [June 17, 2019, 9:40pm UTC](https://discourse.libcinder.org/t/android-videoplayer-0-size-texture/1530 "2019-06-17T21:40:49Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![gabor\_papp](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.libcinder.org/gabor_papp/32/769_2.png) [@gabor\_papp](https://discourse.libcinder.org/u/gabor_papp)
#### Post date: [June 19, 2019, 9:19am UTC](https://discourse.libcinder.org/t/android-videoplayer-0-size-texture/1530/2 "2019-06-19T09:19:21Z")

</div>

It seems that Cinder on Android assumes that your videos are stored as assets. I’m trying to change the libcinder java sources similarly to @eight_io’s solution ([Files cannot be read in Documents directory by Android Cinder?](https://discourse.libcinder.org/t/files-cannot-be-read-in-documents-directory-by-android-cinder/368/3)).

I had to change the paths in `proj/android/libcinder_java/build.gradle` to `"${projectDir}/../../../tools/android/CinderAppBuild/repo"` and `/proj/android/libcinder_java/libcinder/build.gradle` to `"${projectDir}/../../../../src/cinder/java"`.  
Now the project almost builds:

```auto
BUILD SUCCESSFUL

Total time: 5.307 secs

FAILURE: Build failed with an exception.

* What went wrong:
Failed to notify build listener.

```

I tried to update gradle, but I got an error:

```auto
* Where:
Build file '.../cinder/proj/android/libcinder_java/app/build.gradle' line: 1

* What went wrong:
A problem occurred evaluating project ':app'.
> Failed to apply plugin [id 'com.android.application']
   > Gradle version 2.2 is required. Current version is 4.4.1. If using the gradle wrapper, try editing the distributionUrl in ...cinder/proj/android/libcinder_java/gradle/wrapper/gradle-wrapper.properties to gradle-2.2-all.zip

```

changing this to gradle-4.4.1-all.zip results in the same error.

build tools: 28.0.3  
android studio: 3.4.  
ndk 15c  
sdk 19 and 21

Any help or suggestions would be really appreciated.

-Gabor

---

_[View the full topic](https://discourse.libcinder.org/t/android-videoplayer-0-size-texture/1530)._
