New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to import&run sample inside Android-Studio #39
Comments
I haven't meet that error. Try to clean your project. |
It didn't help. Using Android Studio 1.0.2 . |
My Android Studio is 1.0.2. And after I change build tools to 21.1.2, it still works fine... |
I meant the build tools configuration of the library. I've now tried to import it again (using this git URL: "https://github.com/fengdai/AlertDialogPro.git") , and it still doesn't work. |
I think the build tools configuration of the library is correct. I also tried to import it using this git URL: "https://github.com/fengdai/AlertDialogPro.git". And it works... |
Do you have an idea why it occurs? I will check it at home too (doesn't work at the office, not sure about it at home). |
You suggest you to try VM4's answer:
How to do that:
Try it. Since I don't have this problem, I don't know whether it can solve this problem... If it does, tell me. I'll update my code. |
@fengdai This time it worked. Please do it officially for the library itself. |
Fixed. |
Thank you. You're the best. |
I found the solution with StackOverFlow: Be honest, I'm a Gradle noob and also a beginner of Android Studio... |
Oh, ok. Thank you. |
Say, how did you create a Gradle repository ? One that lets the developers just put a single like of code in the dependencies to use your library? |
I published it to Maven Central repository. You can Google "publish Maven" to learn how to do this. |
OK thank you again. |
I just get this message:
"
Error:Execution failed for task ':alertdialogpro-core:processReleaseResources'.
How come? It worked fine in the past...
The text was updated successfully, but these errors were encountered: