Giter VIP home page Giter VIP logo

Comments (7)

IzanRodrigo avatar IzanRodrigo commented on May 29, 2024

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.

astagi avatar astagi commented on May 29, 2024

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.

chalup avatar chalup commented on May 29, 2024

Can you post your build.gradle dependencies?

from android-floating-action-button.

astagi avatar astagi commented on May 29, 2024

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.

chalup avatar chalup commented on May 29, 2024

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.

astagi avatar astagi commented on May 29, 2024

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.

astagi avatar astagi commented on May 29, 2024

Ok, fixed using

buildToolsVersion "21.0.1"

now it works 👍 👍 Thanks!

from android-floating-action-button.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.