Git Product home page Git Product logo

Comments (17)

fengdai avatar fengdai commented on August 17, 2024

I haven't meet that error. Try to clean your project.

from alertdialogpro.

AndroidDeveloperLB avatar AndroidDeveloperLB commented on August 17, 2024

It didn't help. Using Android Studio 1.0.2 .
Maybe you could update the build tools that the project uses? Most updated one is 21.1.2

from alertdialogpro.

fengdai avatar fengdai commented on August 17, 2024

My Android Studio is 1.0.2. And after I change build tools to 21.1.2, it still works fine...

from alertdialogpro.

AndroidDeveloperLB avatar AndroidDeveloperLB commented on August 17, 2024

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.

from alertdialogpro.

fengdai avatar fengdai commented on August 17, 2024

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...

from alertdialogpro.

AndroidDeveloperLB avatar AndroidDeveloperLB commented on August 17, 2024

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).

from alertdialogpro.

AndroidDeveloperLB avatar AndroidDeveloperLB commented on August 17, 2024

I have this issue at my house too.
I got this dialog when trying to run the sample, even though I didn't interfere with what it wanted to do:
untitled20150108202623
When I choose no, I get this:
untitled20150108201703

No matter what I choose for any of the phases, I get the same error. How could it be?

from alertdialogpro.

fengdai avatar fengdai commented on August 17, 2024

http://stackoverflow.com/questions/21645961/android-studio-processdebugresources-failed/21648362#21648362

from alertdialogpro.

fengdai avatar fengdai commented on August 17, 2024

You suggest you to try VM4's answer:

If this is happenning to you after switching to compileSdkVersion 21 make sure you use buildToolsVersion "21.0.2" (or later), not "21.0.1".

How to do that:

  1. Open ${Project Root}/gradle.properties
  2. Change property ANDROID_BUILD_TOOLS_VERSION from 21.0.0 to 21.1.2(the latest).
  3. Rebuild project

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.

from alertdialogpro.

AndroidDeveloperLB avatar AndroidDeveloperLB commented on August 17, 2024

@fengdai This time it worked. Please do it officially for the library itself.
I don't get why Android Studio works this way. If I install the latest build tools, it should use it since it's better than the previous ones (plus why would I want to have others installed).
This example shows that compatibility (which is probably why this feature exists) wasn't achieved.

from alertdialogpro.

fengdai avatar fengdai commented on August 17, 2024

Fixed.

from alertdialogpro.

AndroidDeveloperLB avatar AndroidDeveloperLB commented on August 17, 2024

Thank you. You're the best.
How did you find the solution to the problem? Do you have other tips for Android Studio of how to import correctly libraries ?

from alertdialogpro.

fengdai avatar fengdai commented on August 17, 2024

I found the solution with StackOverFlow:
http://stackoverflow.com/questions/21645961/android-studio-processdebugresources-failed/21648362#21648362

Be honest, I'm a Gradle noob and also a beginner of Android Studio...

from alertdialogpro.

AndroidDeveloperLB avatar AndroidDeveloperLB commented on August 17, 2024

Oh, ok. Thank you.

from alertdialogpro.

AndroidDeveloperLB avatar AndroidDeveloperLB commented on August 17, 2024

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?

from alertdialogpro.

fengdai avatar fengdai commented on August 17, 2024

I published it to Maven Central repository. You can Google "publish Maven" to learn how to do this.

from alertdialogpro.

AndroidDeveloperLB avatar AndroidDeveloperLB commented on August 17, 2024

OK thank you again.

from alertdialogpro.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.