omadahealth / LolliPin

A Material design Android pincode library. Supports Fingerprint.
MIT License
1.6k stars 426 forks source link

couple errors rippleview related... #5

Closed sirvon closed 9 years ago

sirvon commented 9 years ago

/home/creator/AndroidStudioProjects/la/app/build/intermediates/exploded-aar/
com.github.orangegangsters/lollipin/1.0.2/res/layout/view_keyboard_button.xml

Error Code:
    1
  Output:
    /home/creator/AndroidStudioProjects/la/app/build/intermediates/res/MYAPP/release/layout
/view_keyboard_button.xml:2: error: No resource identifier found for attribute 'rv_centered' in
 package 'com.myapps.default'

    /home/creator/AndroidStudioProjects/la/app/build/intermediates/res/MYAPP//release/layout
/view_keyboard_button.xml:2: error: No resource identifier found for attribute 'rv_rippleDuration' in 
package 'com.myapps.default'

    /home/creator/AndroidStudioProjects/la/app/build/intermediates/res/MYAPP//release/layout
/view_keyboard_button.xml:2: error: No resource identifier found for attribute 'rv_ripplePadding' in 
package 'com.myapps.default'

    /home/creator/AndroidStudioProjects/la/app/build/intermediates/res/MYAPP//release/layout
/view_keyboard_button.xml:2: error: No resource identifier found for attribute 'rv_color' in package 
'com.myapps.default'
allprojects {
    repositories {
        mavenCentral()
        jcenter()
        maven { url "https://oss.sonatype.org/content/repositories/snapshots" }
        maven{
            url "https://github.com/omadahealth/omada-nexus/raw/master/release"
        }
        flatDir{
            dirs 'libs'
        }

    }
oliveeyay commented 9 years ago

Hello @sirvon

I see that you are importing our omada-nexus, which is meant for beta release. You should get rid of that one and add only this line to the build.gradle file under your app folder:

compile 'com.github.orangegangsters:lollipin:1.0.2@aar'

Cheers,

Olivier

sirvon commented 9 years ago

I took out the nexus repo. still I'm getting this...

/home/creator/AndroidStudioProjects/la/app/build/intermediates/exploded-aar/com.github.orangegangsters/lollipin/1.0.2/res/layout/view_keyboard_button.xml
Error:(2) No resource identifier found for attribute 'rv_centered' in package 'com.myapps.default'
Error:(2) No resource identifier found for attribute 'rv_rippleDuration' in package 'com.myapps.default'
Error:(2) No resource identifier found for attribute 'rv_ripplePadding' in package 'com.myapps.default'
Error:(2) No resource identifier found for attribute 'rv_color' in package 'com.myapps.default'
Error:Execution failed for task ':app:processMYAPPDebugResources'.
> com.android.ide.common.internal.LoggedErrorException: Failed to run command:
    /home/creator/Android/Sdk/build-tools/21.1.2/aapt package -f --no-crunch -I /home/creator/Android/Sdk/platforms/android-21/android.jar -M /home/creator/AndroidStudioProjects/la/app/build/intermediates/manifests/full/MYAPP/debug/AndroidManifest.xml -S /home/creator/AndroidStudioProjects/la/app/build/intermediates/res/MYAPP/debug -A /home/creator/AndroidStudioProjects/la/app/build/intermediates/assets/MYAPP/debug -m -J /home/creator/AndroidStudioProjects/la/app/build/generated/source/r/MYAPP/debug -F /home/creator/AndroidStudioProjects/la/app/build/intermediates/res/resources-MYAPP-debug.ap_ --debug-mode --custom-package com.myapps -0 apk --output-text-symbols /home/creator/AndroidStudioProjects/la/app/build/intermediates/symbols/MYAPP/debug
  Error Code:
    1
  Output:
    /home/creator/AndroidStudioProjects/la/app/build/intermediates/res/MYAPP/debug
/layout/view_keyboard_button.xml:2: error: No resource identifier found for attribute 'rv_centered' in package 'com.myapps.default'
    /home/creator/AndroidStudioProjects/la/app/build/intermediates/res/MYAPP/debug
/layout/view_keyboard_button.xml:2: error: No resource identifier found for attribute 'rv_rippleDuration' in package 'com.myapps.default'
    /home/creator/AndroidStudioProjects/la/app/build/intermediates/res/MYAPP/debug
/layout/view_keyboard_button.xml:2: error: No resource identifier found for attribute 'rv_ripplePadding' in package 'com.myapps.default'
    /home/creator/AndroidStudioProjects/la/app/build/intermediates/res/MYAPP/debug
/layout/view_keyboard_button.xml:2: error: No resource identifier found for attribute 'rv_color' in package 'com.myapps.default'

I really want to get this lib in play. it's a truly quite an awesome feature to just drop in apps. thanks again

sirvon commented 9 years ago

I only added the nexus repo because of these instructions in the read me.

Preparing dependencies

We are using a custom version of RippleView that contains a RippleAnimationListener. 
In order to be able to fetch this dependency, you need to add these lines into your
 main build.gradle file:
oliveeyay commented 9 years ago

Did you add our RippleView dependency then? Try to copycat what's done on the example app folder (is it working for you, the example app?).

Cheers,

Olivier

sirvon commented 9 years ago

It compiles now after I added this:

compile 'com.github.traex.rippleeffect:library:1.2.4'

In the example app I don't see a dependency for the custom ripple effect.

thanks!

oliveeyay commented 9 years ago

Ok thanks for the feedback. The dependency is on the lib folder of the library actually, that's why it was not on the example app.

Cheers,

Olivier