emre1512 / CircleProgressBar

A simple library for creating circular progressbars for Android
Other
113 stars 33 forks source link

error: duplicate value for resource 'attr/strokeWidth' with config '' #8

Closed Tsabary closed 5 years ago

Tsabary commented 5 years ago

Can't build the project, getting the following error

java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource compilation failed C:\Users\Yanay.gradle\caches\transforms-1\files-1.1\jetified-circleprogressbar-1.0.4.aar\0fe22733a8a04170d80035415cb5406a\res\values\values.xml:6:5-533: AAPT: error: duplicate value for resource 'attr/strokeWidth' with config ''.

C:\Users\Yanay.gradle\caches\transforms-1\files-1.1\jetified-circleprogressbar-1.0.4.aar\0fe22733a8a04170d80035415cb5406a\res\values\values.xml:6:5-533: AAPT: error: resource previously defined here.

hetsgandhi commented 5 years ago

Even i am getting the same error! Please need help asap.

Thank you in advance

cv0cv0 commented 5 years ago

Me too.

emre1512 commented 5 years ago

Didn't tested yet but this issue should be handled by commit 8166fb16643a8d0132d9805af7904111dcf107c2

allan-on commented 5 years ago

Hi. This issue isn't fixed in the version specified in the README (1.0.4) Still encountering -> Android resource compilation failed due to the same bug

AkAndroid commented 5 years ago

hi, this issue isnt fixed yet, please give a solution on this , if possible.

allan-on commented 5 years ago

@AkAndroid You can check out my fix here https://github.com/emre1512/CircleProgressBar/pull/9

jomarierafa commented 5 years ago

hello please update the library, i got the same error , thanks

com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource compilation failed C:\Users\OA-JomRafa.gradle\caches\transforms-2\files-2.1\29204a68ef067df083cd438d66f53a13\res\values\values.xml:6:5-533: AAPT: error: duplicate value for resource 'attr/strokeWidth' with config ''.

C:\Users\OA-JomRafa.gradle\caches\transforms-2\files-2.1\29204a68ef067df083cd438d66f53a13\res\values\values.xml:6:5-533: AAPT: error: resource previously defined here.

C:\Users\OA-JomRafa\AndroidStudioProjects\ForexApp\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml: error: file failed to compile.

allan-on commented 5 years ago

I submitted a pull request which if merged will fix the issue but the author hasn't done that and looks like they aren't active in maintaining the library. You can clone or fork from my fix and use that and it should work

emre1512 commented 5 years ago

Hi, Sorry for the inconvinience, I am too busy. I will fix the issue as soon as possible. I will merge the pull requests without testing them (bad idea but I have no time). Then I will update the gradle dependency statement.

allan-on commented 5 years ago

Cool. No worries. I can handle any other fixes for any other issues if they do come up :+1:

amsakthi83 commented 5 years ago

Hi Mr. Emre Deverci, Please fix the issues and commit the changes in GitHub as soon as possible. My app is in production so i need to fix this issue immediately and deploy.

amsakthi83 commented 5 years ago

Hi, Sorry for the inconvinience, I am too busy. I will fix the issue as soon as possible. I will merge the pull requests without testing them (bad idea but I have no time). Then I will update the gradle dependency statement.

Hi Mr. Emre Deverci, Please fix the issues and commit the changes in GitHub as soon as possible. My app is in production so i need to fix this issue immediately and deploy.

allan-on commented 5 years ago

Hi @amsakthi83 I think he merged a PR with fixes for the issue. Are you using the latest code?

emre1512 commented 5 years ago

I am working on it, trying to upload the library to bintray.

amsakthi83 commented 5 years ago

I am working on it, trying to upload the library to bintray.

Please let me know when i can expect ? Approximate time?

amsakthi83 commented 5 years ago

I am working on it, trying to upload the library to bintray.

Please let me know when i can expect ? Approximate time?

Can you please upload bug fixes in git?

amsakthi83 commented 5 years ago

Hi @amsakthi83 I think he merged a PR with fixes for the issue. Are you using the latest code?

Please help me is this issue fixed?

amsakthi83 commented 5 years ago

I am working on it, trying to upload the library to bintray.

Please let me know when i can expect ? Approximate time?

Can you please upload bug fixes in git?

Can you please let me know when it will be solved and released?

emre1512 commented 5 years ago

Hi, I fixed the issue and upload the newest version of library to bintray. Please check the main page.

Please let me know if the issue is fixed. Please use:

implementation 'com.emredavarci:CircleProgressBar:1.0.8'

emre1512 commented 5 years ago

So, I will close this issue tomorrow if there are still no feedbacks. I guess it is fixed.