问题描述
我想通过我的 android 应用程序在 twitter 上分享帖子,为此我需要将 twitter sdk 与我在 android studio 中的 android 应用程序集成.我得到的例子是在 Eclipse 中集成 twitter.
I want to share posts on twitter from my android application, For this i need to integrate the twitter sdk with my android application in android studio. The examples that i am getting is for integrating twitter in eclipse.
关于如何在android studio中集成twitter sdk有任何帮助吗?
Can any bodyhelp as how to integrate twitter sdk in android studio?
推荐答案
android studio 有一个插件可以集成 twitter,即 Fabric.
There's a plugin for android studio to integrate twitter that is Fabric.
步骤 1- 转到 dev.twitter.com
步骤 2- 下载 FabricAndroidStudioPlugin.
步骤 3- 下载后,按照 this 链接添加android studio 中的这个插件.
Step 3- After downloading, follow this link to add this plugin in android studio.
在android studio中添加这个插件
转到File
->> Settings
->> 点击Plugins
-->> 然后点击Install plugin fromdisk
按钮 -->> 然后选择那个 FabricAndroidStudioPlugin zip 文件,然后确定..!!工具栏上将出现一个织物图标.然后单击该图标并按照步骤操作.Fabric 现在会自动完成所有操作.
Go to File
->> Settings
->> Click on Plugins
-->> then click on Install plugin from disk
button -->> then select that FabricAndroidStudioPlugin zip file and ok..!! An icon of fabric will be there on toolbar. Then click that icon and follow the steps. fabric will now do everything automatically.
这篇关于在android studio中将twitter sdk与android应用程序集成?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!