Open starapple2 opened 6 years ago
Despite all the warnings from Lint, when I suppressed the failure on errors in build.gradle, the project built and worked perfectly, uploading a test video and activating the video recorder when requested.
I'm still interested in getting a clean version of the code example using more up-to-date libraries.
@starapple2 Please check this updated fork https://github.com/alfredmack/YouTube-Video-Uploader
@alfredmack, will give it a go. Eventually, my real problem became authentication/permissions. I couldn't get permissions to work correctly for pre and post Android 6 in one app.
@starapple2 i have fixed all your issues in my fork
I cleaned and built the project from git after Android Studio finally agreed on the process after it insisted on upgrading Gradle etc. But I still ended up with errors. Lint reported 4 errors and 68 warnings.
It stopped building on something related to 'com.google.http-client:google-http-client-android:+'.
It also listed Obsolete Gradle Dependency: (1) com.google.android.gms:play-services-plus:7.8.0 and (2) com.google.code.gson:gson:2.2.4.
When I upgraded to play-services-plus:11.6.0 as suggested by Gradle, it still showed a related error.
After several clean and builds import "com.google.android.gms.auth.GoogleAuthException" was finally recognized in utils.java. The Lint overview and the details on the first issue "DuplicatePlatformClasses: