Comments (17)
I haven't meet that error. Try to clean your project.
from alertdialogpro.
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.
My Android Studio is 1.0.2. And after I change build tools to 21.1.2, it still works fine...
from alertdialogpro.
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.
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.
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.
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:
When I choose no, I get this:
No matter what I choose for any of the phases, I get the same error. How could it be?
from alertdialogpro.
from alertdialogpro.
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:
- Open ${Project Root}/gradle.properties
- Change property
ANDROID_BUILD_TOOLS_VERSION
from 21.0.0 to 21.1.2(the latest). - 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.
@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.
Fixed.
from alertdialogpro.
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.
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.
Oh, ok. Thank you.
from alertdialogpro.
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.
I published it to Maven Central repository. You can Google "publish Maven" to learn how to do this.
from alertdialogpro.
OK thank you again.
from alertdialogpro.
Related Issues (20)
- Compatibility with support v20 HOT 3
- Suggestion: publish on those websites HOT 3
- Possible to use AlertDialogPro with ListPreference widget?
- White buttons in Activity when using dark theme with AppCompat 22 HOT 2
- ProgressDialogPro exception HOT 12
- adpButtonBarPositiveButtonStyle with Holo theme HOT 5
- Add support for the new Support library 22.1 HOT 6
- Resource not found Exception for Api > 21 HOT 4
- Checkbox Buttons Offset on Xperia T HOT 1
- Error when tryin do compile 23 SDK version HOT 3
- Do it support accent color of edittext in the alert dialog pro? HOT 1
- NoClassDefFoundError AllCapsTransformationMethod HOT 2
- Caused by: java.lang.NoClassDefFoundError: android.support.v7.internal.widget.TintTypedArray HOT 1
- hope upgrade to compile 'com.android.support:appcompat-v7:23.1.1' HOT 2
- in support v7 23.1.1 android.support.v7.internal become private how to solve this problem? HOT 1
- Failed to resolve: com.github.fengdai:alertdialogpro-theme-material:0.2.6 HOT 2
- Changing texts' typeface HOT 3
- have error with compile 'com.android.support:appcompat-v7:23.2.1' HOT 2
- 示例代码报错? HOT 1
- Issue About Deprecated Then How Can Handle That Issue HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alertdialogpro.