如何上传视频使用YouTube直接精简版应用程序为Android到youtbue [英] how to upload video to youtbue using YouTube Direct Lite App for Android

查看:159
本文介绍了如何上传视频使用YouTube直接精简版应用程序为Android到youtbue的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试上载来自YouTube的视频,而无需使用意图

i'm try to upload video from youtube without using intent

在我的previous Q
使用Android项目YouTube数据

in my previous Q using youtube data in android project

易卜拉欣Ulukaya建议在他的例子 https://开头code .google.com / p / YTD-的Andr​​oid /

Ibrahim Ulukaya Proposed to use in his example https://code.google.com/p/ytd-android/

当时我加我收到消息构建路径中包含项目重复条目'src'中直接在YouTube上......

at the time i add the project i receive message " built path contains duplicate entry 'src' for project "Youtube Direct ..."

这之后,我加入谷歌Play服务库的项目(这是否解决了所有编译出错EXAPT这个错误生成最终的归档文件:发现APK重复文件:resources.arsc)

this after i Include Google Play Services library to the project (this fix the all compile error exapt this "Error generating final archive: Found duplicate file for APK: resources.arsc")

在某种形式我看到这个问题的原因,从马文插件
所以我添加m2eclipse插件的maven-Android的插件

in some form i saw that problem cause from marven plug in so i add m2eclipse plugin maven-android-plugin

但我不明白后,我惊叹红introdution 什么奇迹做,什么项目需要这个插件???

but i dont understand after i red marvel introdution what marvel do and for what the project need this plug in ???

目前我在状态,我甚至不能启动,因为编制问题的项目。
有人在这种情况下,知道我需要什么,用以解决这一做,并开始与项目???

Currently I am in state that I can not even start the project because of compilation problem. Someone was in this situation and know what I need to do for resolve this and start working with the project???

易卜拉欣Ulukaya告诉我,我不需要整个项目,我可以只使用UploadService.java和ResumableUpload.java。
所以我删除其他文件,但并没有帮助

Ibrahim Ulukaya told me that i don't need the whole project, i can just use UploadService.java and ResumableUpload.java. so I deleted the other files but did not help

推荐答案

我觉得Maven是一个很好的工具,但如果你愿意,你可以创建一个没有Maven的Eclipse的Andr​​oid项目,这是简单的。然后,code从res文件夹的src文件和资源复制。

I think Maven is a really good tool, but if you want you can create an Eclipse Android project without Maven, that is simpler. Then copy the code from the src folder and resources from the res folder.

您必须包括谷歌Play中的Andr​​oid服务和最新的YouTube客户端库,其相关性:

You must include Google Play Services and the latest YouTube client library for Android with its dependencies:

https://开头code.google.com/p/google-api-java-client/wiki/APIs#YouTube_Data_API

这篇关于如何上传视频使用YouTube直接精简版应用程序为Android到youtbue的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆