Skip to content
This repository has been archived by the owner on Jan 8, 2018. It is now read-only.

Unable to import and use the project in Android Studio #2

Closed
cprcrack opened this issue Feb 3, 2014 · 9 comments
Closed

Unable to import and use the project in Android Studio #2

cprcrack opened this issue Feb 3, 2014 · 9 comments

Comments

@cprcrack
Copy link

cprcrack commented Feb 3, 2014

I'm unable to import and use the project inside my project in Android Studio. What is the easiest way to use it?

@serj-lotutovici
Copy link

The simplest way would be to copy the library folder and add a build.gradle script which will explain to gradle what to do.

It will take some time to move the hole project to gradle. I'll get to it, and will replay here as soon as I have something.

@ncoolz
Copy link

ncoolz commented Feb 4, 2014

Thanks for your comment, serj-lotutovici. I think the library should support aar package as soon. Please wait for next version.

@ncoolz
Copy link

ncoolz commented Feb 27, 2014

The library supports now aar package.

You can use that by adding dependency in build.gradle.

 repositories {
    mavenCentral()
}

dependencies {
    compile 'com.navercorp.pulltorefresh:library:3.2.0@aar'
}

@ncoolz ncoolz closed this as completed Feb 27, 2014
@cprcrack
Copy link
Author

Awesome. Will try to import it in the following days and post hopefully successful results here.

@cprcrack
Copy link
Author

cprcrack commented Mar 5, 2014

Tested. Works flawlessly.

@ncoolz
Copy link

ncoolz commented Aug 27, 2014

Hello, cho.
Please create new github issue and give me a sample project that has the problem. Thanks.

@markthien
Copy link

hi,
I am using Android Studio 0.8.14 and I have put

com.navercorp.pulltorefresh:library:3.2.3

inside dependencies section as follow:

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile files('libs/google-http-client-1.16.0-rc.jar')
compile 'com.github.castorflex.smoothprogressbar:library-circular:1.0.1'
compile 'com.navercorp.pulltorefresh:library:3.2.3@arr'
}

however, I keep getting:

Error:
Failed to find: com.navercorp.pulltorefresh:library:3.2.3
Open File
Open in Project Structure dialog

Please give me a hand here. Thanks in advance
Mark

@ncoolz
Copy link

ncoolz commented Nov 9, 2014

':library:3.2.3@arr' in dependencies block should be corrected to ':library:3.2.3@aar'.

@markthien
Copy link

you are awesome man. that the most hilarious mistake I ever make. thanks a lot dude !

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants