I’m trying to load a movie from and android tablet sdcard, and the video size and the size of the returned texture is (0, 0). Has anyone encountered this issue before? The video can be played on the tablet, so I assume it is not a codec issue. Any suggestions would be appreciated how to tackle this problem.
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:
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:
* 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.
Managed to find a way to solve this. The output lib path was wrong and also had to update gradle. I post the changes that worked for me in case someone would like to build the java classes in the future.