mancj / mancj/MaterialSearchBar
resource not found when compile, solved by adding a android name space.
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 2k
- Forks
- 324
- PR merge metrics
- No merged PRs in 30d
Description
Hi mancj, Thanks for the nice searchBar.
I encounered a small issue when i use AS 3.0 beta 6, gradle 4.1 with the code
```
```
I got an err, ```can't resolve the symbol``` or when compile ```Error:resource style/MaterialSearchBarLight (aka com.dm.package:style/MaterialSearchBarLight) not found```
Changing second line to :
```
style="android:@style/MaterialSearchBarLight"
```
solve the issue
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the XML layout snippet using MaterialSearchBarLight and reproduce the resource error under Android Studio 3.0 beta 6 with Gradle 4.1. Trace how that style resource is referenced and verify the layout compiles with the intended resource declaration rather than relying on the reported workaround.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100