Skip to content
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

android studio 3.0 can't build #40

Open
IvanGarza07 opened this issue Oct 26, 2017 · 2 comments
Open

android studio 3.0 can't build #40

IvanGarza07 opened this issue Oct 26, 2017 · 2 comments

Comments

@IvanGarza07
Copy link

this is the error that android studio 3.0 show when run the project

Error inflating class info.hoang8f.widget.FButton

Caused by: java.lang.UnsupportedOperationException: Can't convert value at index 1 to color: type=0x5
at android.content.res.TypedArray.getColor(TypedArray.java:463)
at info.hoang8f.widget.FButton.parseAttrs(FButton.java:116)

@AsifShaafi
Copy link

Well I think the problem is with the android gradle plugin version. Try changing it to 2.3.3 in File -> Project Structure -> Project. It worked for me.

@Abdulwahid80
Copy link

I have the same problem and I have solved it by changing the build gradle to 2.3.3 but still doesn't work.
Also I have delete -google()- from build script repositories and allprojects repositories and it works perfectly. I don't know what the problem exactly or why adding google() repository cause this problem?

vignesh-s added a commit to testpress/android that referenced this issue May 18, 2018
- Updated SDK version to 1.3.0
- Updated build tools & gradle versions.
- Removed fbutton library since it is not supporting lastest build
  tools version hoang8f/android-flat-button#40
  & replaced with AppCompatButton.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants