5
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Android StudioにTwitter4jを追加

Posted at

Android StudioのプロジェクトにTwitter4jを追加

Twitter4jライブラリのダウンロード

http://twitter4j.org/ja/index.html

最新安定バージョンを落としておく

jarファイルの配置

app/libsの直下にtwitter4j-core-4.0.4.jarを置く

配置したjarファイルを「Add As Library」から追加

build.gradleの確認

```build.gradle dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) compile files('libs/twitter4j-core-4.0.4.jar') } ```
5
3
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?