android - Facebook sdk integartion error with project -


i have facebook sdk latest version 4.4.0 , have import workspace.

now have created project , have give reference facebook sdk .

it done when have below xml:

  <com.facebook.login.widget.loginbutton         android:id="@+id/login_button"         android:layout_width="wrap_content"         android:layout_height="wrap_content"         android:layout_gravity="center_horizontal"         android:layout_marginbottom="30dp"         android:layout_margintop="30dp" /> 

now when wrote shows error log below:

resouce id 0x7f060011 not of type style (instead color) exception raised during rendering: color value '0.26' must start # exception details logged in window > show view > error log  java.lang.numberformatexception: color value '0.26' must start #     @ com.android.layoutlib.bridge.impl.resourcehelper.getcolor(resourcehelper.java:71)     @ android.content.res.bridgeresources.getcolor(bridgeresources.java:176)     @ com.facebook.login.widget.loginbutton.configurebutton(loginbutton.java:562)     @ com.facebook.facebookbuttonbase.<init>(facebookbuttonbase.java:60)     @ com.facebook.login.widget.loginbutton.<init>(loginbutton.java:213)     @ sun.reflect.nativeconstructoraccessorimpl.newinstance0(    @ sun.reflect.nativeconstructoraccessorimpl.newinstance(    @ sun.reflect.delegatingconstructoraccessorimpl.newinstance(    @ java.lang.reflect.constructor.newinstance(    @ com.android.ide.eclipse.adt.internal.editors.layout.projectcallback.instantiateclass(projectcallback.java:442)     @ com.android.ide.eclipse.adt.internal.editors.layout.projectcallback.loadview(projectcallback.java:194)     @ android.view.bridgeinflater.loadcustomview(bridgeinflater.java:206)     @ android.view.bridgeinflater.createviewfromtag(bridgeinflater.java:131)     @ android.view.layoutinflater.rinflate_original(layoutinflater.java:756)     @ android.view.layoutinflater_delegate.rinflate(layoutinflater_delegate.java:64)     @ android.view.layoutinflater.rinflate(layoutinflater.java:728)     @ android.view.layoutinflater.inflate(layoutinflater.java:492)     @ android.view.layoutinflater.inflate(layoutinflater.java:373) 

how can solved this?


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -