Closed tiger79 closed 10 years ago
Please refer to the documentation: https://github.com/frakbot/GlowPadBackport#usage Can't really be more helpful unless you explain what you're actually trying to do and what issues you're experiencing exactly.
Also please don't open an issue if you're not having any issue with the code. I'm not saying the code doesn't have issues, just that this is a support request and should not be put on an issue tracker.
Hi, I was wondering if you might let me know where to contact you regarding support questions ? I did edit the issue I made with some new info, but some direct contact would be better I guess... Thanks in advance, Eric
On Wed, Apr 30, 2014 at 2:53 PM, Sebastiano Poggi notifications@github.comwrote:
Closed #7 https://github.com/frakbot/GlowPadBackport/issues/7.
— Reply to this email directly or view it on GitHubhttps://github.com/frakbot/GlowPadBackport/issues/7 .
If you're using Android Studio, you are using Gradle.
If you're using Gradle, it means you can get the lib dependency from Maven Central.
To get the dependency from Maven Central, just add it to the dependencies
DSL of your app module's build.gradle
file, as shown in the aforementioned documentation (see link).
You don't need to clone the repo nor copy/paste anything. Just follow the instructions and Gradle will do everything for you. You might want to read how Gradle dependencies work first: http://developer.android.com/sdk/installing/studio-build.html#declareDeps
As per support requests, you can hook us up on Google+ or at our email frakbot [plus] glowpadbackport {at} gmaildotcom
.
Aha ! Ok gonna try that, sorry I actually did not notice that the Usage part of the documentation replaces the Installation part... So I actually started out there ;) Cmq grazie per il supporto fino ad ora ;)
Sfortunatamente non funziona :( Ho fatto le modifiche che stanno nella documentazione ma adesso mi da il seguente errore :
Error:(25, 0) Project with path ':GlowPadBackport' could not be found in project ':SPA'.
Ho semplicemente aggiunto include ':libs:GlowPadBackport'
nel mio settings.gradle
e ho ampliato la sequente nel build.gradle
del modulo della mia app.... :
dependencies {
compile files('src/main/libs/logback-android-1.1.1-2.jar')
compile files('src/main/libs/slf4j-api-1.7.6.jar')
compile "com.android.support:support-v4:19.0.+"
compile project(':GlowPadBackport')
}
Ho dato un occhiata anche al build.gradle del progetto vero e proprio :
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:0.9.+'
}
}
allprojects {
repositories {
mavenCentral()
}
}
Evidentemente e presente anche il mavenCentral !
Hai qualche idea al riguardo ?
Please keep using English (someone else might need this same information) and avoid commenting on a closed issue.
Your problem is that you're following the instructions to the letter -- these look to be outdated, I'm going to fix them ASAP to use the dependency from Maven Central. You should have in your app module:
dependencies {
// Your other dependencies
compile 'net.frakbot.glowpadbackport:glowpadbackport:2.1.0'
}
I'm going to avoid further discussion here, as this is not the right place for this kind of support.
EDIT: updated instructions are now available.
Thanks for the explanation Sebastiano ! I am sure the change you made to the documentation will help other peopel out, not to mention its correctness now.
I am wondering though,if you want to avoid further discussion here, where do you think would be the right place to do so ? Cause I noticed that this will include the project within my own, but what I'd like to do is make a custom version, which probably comes down to actually cloning the project, importing it and customizing the code itself ?
Again, for general discussion and support feel free to hook me up on Google+ or at our email frakbot [plus] glowpadbackport {at} gmaildotcom
.
The instructions are of course for using the library in your own app. If you want to change the code, you'll need to fork it and then do whatever you want. The documentation has a few instructions on that as well. I won't steer this issue too much towards Git & Gradle 101 though.
Ok, I added you at the beginning of the week on Google+ ;) I see you moved those instructions in the documentation, which were exactly what I did the first time :D Don't worry, I don't need a 101 course on Git, pretty handy with that... The whole Gradle on the other hand I have been using it within Android Studio (as is) but the inner workings I haven't yet worked out, thats why I was asking about the whole cloning and importing instead of referencing to a remote binary dependancy... Anyhow, thanks for the help up until now, I'll be looking into a customized version the next couple of days ! I do seem to get a vibe though (an I'd be happy to hear if thats not the case) that you won't be too happy to offer any further assistance/support ?
I will give support if I can, of course. Just not on an issue tracker ;)
Hi, I was wondering if you can tell me how to import the library in my Android Studio 0.5.7 ? I am having quite some issues :(
/edit : Is there any other way to contact you ? I actually read and tried the documentation first, and what I did was clone the project first, then copy the GlowPadBackport directory (so not the rest of the project/directories) under my own project /libs directory, and afterwards I would be getting errors (Error : configuration with name 'deffault' not found)... Whilst writing this I already am wondering if I should not copy the whole project and then get rid of the GlowPadBackport-sample directory....