Twitter login sdk 1.0.0 with eclipse from china

eclipse

#1

Hello,
I am asking here because I was unable to find answer to my problem.
Last week I succeed to login twitter with my app, but I worked on android studio, with gradle. My problem is that now my company ask me to make it works but on eclipse, without using gradle (and if possible without maven, just using a downloaded sdk). To make it more complicated, I work with the twitter sdk 1.0.0 because my app have to work on old smartphones. Last thing, I am currently working in China, and cannot reach Twitter with fabric (I mean that the plugin doesn’t show me twitter stuff, I still can write about twitter kit manually), even when I use a vpn (I already sent an email to the fabric support to know why I couldn’t access it…)
Once again, it worked with android studio and gradle but I finally cannot use it… I post my graddle lines to give you an idea about what I try to have on eclipse :

buildscript {
    repositories {
        maven { url 'https://maven.fabric.io/public' }
    }
    dependencies {
        classpath 'io.fabric.tools:gradle:1.+'
    }
}
[...]
apply plugin: 'io.fabric'
[...]
repositories {
    maven { url 'https://maven.fabric.io/public' }
}
[...]
compile('com.twitter.sdk.android:twitter:1.0.0@aar') {
    transitive = true;
}

I wish you can help me, I try to solve that for days … (I even think about start from scratch using twitter4j…)
Thank you in advance


#2

Im also facing similar issue in setting the sdk in eclipse. I used https://fabric.io/download/eclipse to update the plugin in eclipse and added twitter login code from the Fabric tool in eclipse


#3

How are you looking to build with Eclipse? Just through the IDE or using Ant?


#4

Only through the IDE.
For example, to be able to use facebook sdk, I downloaded it, opened it in eclipse as a project, solves the differents errors, set the facebook SDK project as a librairy (doing in eclipse “Properties” -> “Android” -> “is librairy”), and finally add this new librairy in my app project in eclipse (“Properties” -> “Android” -> “Library” -> “Add”).
After if it’s not possible to do something like this with twitter sdk, it’s okay since It respect the differents constraints… I wish I could use twiiter kit in fabric but being in China make this really complicated/impossible, even if I can install the fabric plugin, but can’t find the twitter kit.
Anyway thank you for your answer


#5