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

error: expected reference but got (raw string) #000000 with Gradle "implementation" #20

Open
ValentinTaleb opened this issue Jul 18, 2018 · 3 comments

Comments

@ValentinTaleb
Copy link

Thanks for this library that looks super cool.

Sadly, when I add implementation 'com.github.chyrta:AndroidOnboarder:0.7' to Gradle, I get this error: error: expected reference but got (raw string) #000000.

This error looks to point to this:

<style name="Widget.Support.CoordinatorLayout" parent="android:Widget">
        <item name="statusBarBackground">#000000</item>
</style>

This happen only when I use implementation instead of 'compile' (which is deprecated).

Can you do something to fully support the new implementation in Gradle?

@TomWayne98
Copy link

I have exactly same problem.
It also points to

<style name="Widget.Support.CoordinatorLayout" parent="android:Widget">
        <item name="statusBarBackground">#000000</item>
</style>

@ruinarbo
Copy link

Add this to your styles.xml to solve this issue <style name="Widget.Support.CoordinatorLayout" parent="android:Widget">
@null
</style>

@luqman-hussain
Copy link

Thanks for the answer but why is that needed? Is it a bug?

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

4 participants