Comments (7)
Are you using version 1.1.0?
If so, you cannot use fab_expandDirection because it was added later (in #3d88e629).
You have to clone the repository and import library module in your project (or generate .aar).
from android-floating-action-button.
I have the same problem and I use the latest version from code.. fab_expandDirection is implemented there..
Error:(226) No resource identifier found for attribute 'fab_expandDirection' in package 'uk.co.nephila.mobi'
from android-floating-action-button.
Can you post your build.gradle dependencies?
from android-floating-action-button.
Sure,
dependencies {
repositories {
mavenCentral()
}
androidTestCompile('org.robolectric:robolectric:2.3') {
exclude module: 'classworlds'
exclude module: 'commons-logging'
exclude module: 'httpclient'
exclude module: 'maven-artifact'
exclude module: 'maven-artifact-manager'
exclude module: 'maven-error-diagnostics'
exclude module: 'maven-model'
exclude module: 'maven-project'
exclude module: 'maven-settings'
exclude module: 'plexus-container-default'
exclude module: 'plexus-interpolation'
exclude module: 'plexus-utils'
exclude module: 'wagon-file'
exclude module: 'wagon-http-lightweight'
exclude module: 'wagon-provider-api'
}
// Espresso
androidTestCompile files('lib/espresso-1.1.jar')
androidTestCompile files('lib/testrunner-1.1.jar')
androidTestCompile files('lib/testrunner-runtime-1.1.jar')
androidTestCompile 'com.google.guava:guava:14.0.1'
androidTestCompile 'com.squareup.dagger:dagger:1.1.0'
androidTestCompile 'org.hamcrest:hamcrest-integration:1.1'
androidTestCompile 'org.hamcrest:hamcrest-core:1.1'
androidTestCompile 'org.hamcrest:hamcrest-library:1.1'
androidTestCompile('junit:junit:4.11') {
exclude module: 'hamcrest-core'
}
androidTestCompile 'com.squareup:fest-android:1.0.+'
compile files('libs/okhttp-2.0.0.jar')
compile files('libs/okio-1.0.1.jar')
compile files('libs/android-async-http-1.4.6.jar')
compile files('libs/mockwebserver-1.2.1.jar')
compile files('libs/mockito-all-1.9.5.jar')
compile files('libs/roboguice-2.0.jar')
compile files('libs/javax.inject-1.jar')
compile files('libs/guice-3.0-no_aop.jar')
compile files('libs/jsr305-1.3.9.jar')
provided "org.parceler:parceler:0.2.13"
compile 'com.google.code.gson:gson:2.3'
compile 'com.google.android.gms:play-services:6.1.71'
compile 'org.parceler:parceler-api:0.2.13'
compile 'com.wefika:flowlayout:0.3.4'
compile 'com.android.support:support-v4:21.0.0'
compile 'com.android.support:appcompat-v7:21.0.+'
compile 'com.melnykov:floatingactionbutton:1.0.7'
compile 'com.getbase:floatingactionbutton:1.1.0'
}
from android-floating-action-button.
1.1.0
from maven central doesn't support expand direction. I'm pretty sure that your config will use that version. Try changing VERSION_NAME
in gradle.properties
to 1.2.0-SNAPSHOT
, gradle install
it to your local maven repo and use this version in your dependencies.
from android-floating-action-button.
Thank you! Done, but now I get
Error:Execution failed for task ':app:processDebugResources'.
> com.android.ide.common.internal.LoggedErrorException: Failed to run command:
/Users/astagi/android-sdk-macosx/build-tools/19.1.0/aapt package -f --no-crunch -I /Users/astagi/android-sdk-macosx/platforms/android-21/android.jar -M /Users/astagi/w/Mobi/app/build/intermediates/manifests/full/debug/AndroidManifest.xml -S /Users/astagi/w/Mobi/app/build/intermediates/res/debug -A /Users/astagi/w/Mobi/app/build/intermediates/assets/debug -m -J /Users/astagi/w/Mobi/app/build/generated/source/r/debug -F /Users/astagi/w/Mobi/app/build/intermediates/res/resources-debug.ap_ --debug-mode --custom-package uk.co.nephila.mobi -0 apk --output-text-symbols /Users/astagi/w/Mobi/app/build/intermediates/symbols/debug
Error Code:
138
from android-floating-action-button.
Ok, fixed using
buildToolsVersion "21.0.1"
now it works 👍 👍 Thanks!
from android-floating-action-button.
Related Issues (20)
- Bottom app bar
- How to expand on longClick?? HOT 2
- how to close FloatingActionMenu when Click on Fab button on FabMenu? HOT 1
- add border width border color
- Update Request HOT 5
- Sample code for using library HOT 1
- Drawable **** has unresolved theme attributes
- XML files don't work HOT 2
- Layout overlaping the fab title. Can anyone help me with this. HOT 1
- Can't add icon to the main fab icon button
- How do I change the size other than normal , mini HOT 1
- How to change color of Floating Action Menu on Normal State Programatically ? HOT 1
- support HOT 1
- How to onclick on Menu button? HOT 1
- Center in layout HOT 1
- Expand Direction to left
- feature requirment HOT 1
- AndroidX HOT 1
- Error inflating class com.getbase.floatingactionbutton.FloatingActionsMenu
- Widget from web
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-floating-action-button.