Closed grestuccia1 closed 9 years ago
+1 Same here! I can't compile the project.
Warning: com.rey.material.drawable.ContactChipDrawable: can't find referenced method 'float ceil(float)' in library class android.util.FloatMath
Warning: com.rey.material.text.style.ContactChipSpan: can't find referenced method 'float ceil(float)' in library class android.util.FloatMath
Warning: com.rey.material.widget.Spinner: can't find referenced field 'int Spinner_android_gravity' in program class com.rey.material.R$styleable
Warning: com.rey.material.widget.Spinner: can't find referenced field 'int Spinner_prompt' in program class com.rey.material.R$styleable
Warning: com.rey.material.widget.Spinner: can't find referenced field 'int Spinner_disableChildrenWhenDisabled' in program class com.rey.material.R$styleable
Warning: there were 3 unresolved references to program class members.
Your input classes appear to be inconsistent.
You may need to recompile the code.
(http://proguard.sourceforge.net/manual/troubleshooting.html#unresolvedprogramclassmember)
Warning: there were 2 unresolved references to library class members.
You probably need to update the library versions.
Alternatively, you may have to specify the option
'-dontskipnonpubliclibraryclassmembers'.
(http://proguard.sourceforge.net/manual/troubleshooting.html#unresolvedlibraryclassmember)
@rey5137 Impossible to use with SDK 23 :(
Same error
same error
Turns out all _android_gravity
_prompt
and _disableChildrenWhenDisabled
were straight up all removed in 23. http://developer.android.com/sdk/support_api_diff/23/changes/android.support.v7.appcompat.R.styleable.html
I have published 1.2.1.6-SNAPSHOT version that fixed this issue. Pls test it out.
Snapshot version works okay for me. Thanks a lot.
@rey5137 1.2.2-SNAPSHOT don't have fixed it yet?
@ppamorim Yes, pls use 1.2.1.6-SNAPSHOT.
@rey5137 if i use
compile 'com.github.rey5137:material:1.2.1.6-SNAPSHOT'
Return this error
Error:(27, 13) Failed to resolve: com.github.rey5137:material:1.2.1.6-SNAPSHOT
Show in File
Show in Project Structure dialog
With compileSdkVersion 23 buildToolsVersion '22.0.1' targetSdkVersion 22
Did you add the snapshot repository?
repositories {
maven {
url "https://oss.sonatype.org/content/repositories/snapshots"
}
}
nop
I am getting exact same issue with the old library ViewPagerIndicator from JakeWharton. It is related to LinePageIndicator. Is it related to the removed attributes in the support library?
Warning can't find referenced method 'float ceil(float)' in library class android.util.FloatMath
Snapshot version works okay. Thanks a lot.
@rey5137 ProgressView don't exists on 1.2.1.6 :( I can't use this version. Do you know any date to release an stable version with this issue fixed?
@ppamorim Are you sure? I use ProgressView in my app with 1.2.1.6-SNAPSHOT just fine.
Hey people some one can help me to know how to set the snapshot..... i dont know how to
Open build.gradle (Module: app)
Change compile 'com.github.rey5137:material:1.2.1'
to compile 'com.github.rey5137:material:1.2.1.6-SNAPSHOT'
Then after apply plugin: 'com.android.application'
, put
repositories { maven { url "https://oss.sonatype.org/content/repositories/snapshots" } }
Then make a Gradle sync as suggested by Android Studio.
Found the answer here http://stackoverflow.com/questions/20574111/add-maven-repository-to-build-gradle
@adityanaik thanks!
Where can one find this "snapshot"?
Is this snapshot available for download? if not, what must be changed in source code?
java.lang.RuntimeException: Unable to start activity ComponentInfo{yobdo.yobapp/yobdo.yobapp.activity.EditPositionActivity}: android.view.InflateException: Binary XML file line #69: Error inflating class com.rey.material.widget.Spinner at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2298) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2360) at android.app.ActivityThread.access$800(ActivityThread.java:144) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1278) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:135) at android.app.ActivityThread.main(ActivityThread.java:5221) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694) Caused by: android.view.InflateException: Binary XML file line #69: Error inflating class com.rey.material.widget.Spinner at android.view.LayoutInflater.createView(LayoutInflater.java:633) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:743) at android.view.LayoutInflater.rInflate(LayoutInflater.java:806) at android.view.LayoutInflater.rInflate(LayoutInflater.java:809) at android.view.LayoutInflater.rInflate(LayoutInflater.java:809) at android.view.LayoutInflater.inflate(LayoutInflater.java:504) at android.view.LayoutInflater.inflate(LayoutInflater.java:414) at android.view.LayoutInflater.inflate(LayoutInflater.java:365) at android.support.v7.app.AppCompatDelegateImplV7.setContentView(AppCompatDelegateImplV7.java:257) at android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:109)