Android Library Finder

Overview

alfi

Build Status Codacy Badge Gem Version

Android Library Finder

Search through thousands of android libraries that can help you scale your projects elegantly

Usage

Search for something

alfi picasso

Search for something by repository

alfi picasso --repository maven

This will search picasso only on maven, you can also define multiple repositories like:

alfi picasso -r mavencentral -r jcenter

This will search picasso on mavenCentral and jCenter

Final step: Copy the library you want to your build.gradle and sync it

Installation

Install it via terminal:

$ gem install alfi

Contributing

  1. Fork it ( https://github.com/cesarferreira/alfi/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Thanks

To @joaquimadraz for the ruby pro-tips

Comments
  • Add a way to choose which repository should be searched

    Add a way to choose which repository should be searched

    So now it is possible to search only maven, jcenter or mavencentral repositories, using "-r" or "--repository". Additionally the user can search more than 1 repository by doing alfi "repository_name" -r m -r jc This will search in maven and jcenter repositores

    enhancement 
    opened by luispereira 8
  • Gradle Kotlin-DSL has double quotes and parenthesis

    Gradle Kotlin-DSL has double quotes and parenthesis

    Can you add an option --format=[kotlin|groovy] to generate the dependency information compatible with build.gradle for groovy and build.gradle.kts for kotlin?

    Ideally calling with no format argument should use the previous value

    --format=kotlin would be like this:

    dependencies {
      implementation("com.squareup.picaso:picaso:2.5.2")
    }
    
    opened by jmfayard 7
  • Uninitialized constant Alfi::Providers::Base (NameError)

    Uninitialized constant Alfi::Providers::Base (NameError)

    I have just installed alfi with rvm all do gem install alfi when I try to use it I receive an error:

    $HOME/.rvm/gems/ruby-2.3.0/gems/alfi-0.4.3/lib/alfi/providers/bintray.rb:1:in `<top (required)>': uninitialized constant Alfi::Providers::Base (NameError)
        from $HOME/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
        from $HOME/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
        from $HOME/.rvm/gems/ruby-2.3.0/gems/alfi-0.4.3/lib/alfi.rb:10:in `block in <top (required)>'
        from $HOME/.rvm/gems/ruby-2.3.0/gems/alfi-0.4.3/lib/alfi.rb:10:in `each'
        from $HOME/.rvm/gems/ruby-2.3.0/gems/alfi-0.4.3/lib/alfi.rb:10:in `<top (required)>'
        from $HOME/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
        from $HOME/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
        from $HOME/.rvm/gems/ruby-2.3.0/gems/alfi-0.4.3/bin/alfi:3:in `<top (required)>'
        from $HOME/.rvm/gems/ruby-2.3.0/bin/alfi:23:in `load'
        from $HOME/.rvm/gems/ruby-2.3.0/bin/alfi:23:in `<main>'
        from $HOME/.rvm/gems/ruby-2.3.0/bin/ruby_executable_hooks:15:in `eval'
        from $HOME/.rvm/gems/ruby-2.3.0/bin/ruby_executable_hooks:15:in `<main>'
    

    Could you tell me what am I doing wrong?

    opened by pmendelski 7
  • missing OptionParser

    missing OptionParser

    /Library/Ruby/Gems/2.0.0/gems/alfi-0.4.1/lib/alfi/cli.rb:34:in `create_options_parser': uninitialized constant Alfi::Cli::OptionParser (NameError)
        from /Library/Ruby/Gems/2.0.0/gems/alfi-0.4.1/lib/alfi/cli.rb:10:in `call'
        from /Library/Ruby/Gems/2.0.0/gems/alfi-0.4.1/bin/alfi:5:in `<top (required)>'
        from /usr/local/bin/alfi:23:in `load'
        from /usr/local/bin/alfi:23:in `<main>'
    

    resolved by adding

    require 'optparse'
    include OptionParser::Arguable
    

    to /Library/Ruby/Gems/2.0.0/gems/alfi-0.4.1/lib/alfi/cli.rb

    opened by wilsonssss 7
  • Can't install on Mac OSX El Capitain

    Can't install on Mac OSX El Capitain

    Hi,

    Mac OSX does not allow anymore to install anything in /usr/bin/ so we wan't install Alfi anymore :(

    [ ~ ] sudo gem install alfi ERROR: While executing gem ... (Errno::EPERM) Operation not permitted - /usr/bin/alfi

    Could you release a new version which installs the binary into /usr/local/bin/ ?

    Thanks !

    opened by JulienDev 5
  • Can't install in MacOS Sierra

    Can't install in MacOS Sierra

    sudo gem install alfi ERROR: While executing gem ... (Errno::EPERM) Operation not permitted - /usr/bin/bundle

    ruby --version ruby 2.0.0p648 (2015-12-16 revision 53162) [universal.x86_64-darwin16]

    opened by merlin-zaraza 4
  • Error installing alfi using ruby 2.5.0

    Error installing alfi using ruby 2.5.0

    $ gem install alfi Building native extensions. This could take a while... ERROR: Error installing alfi: ERROR: Failed to build gem native extension.

    current directory: /usr/local/lib/ruby/gems/2.5.0/gems/json-2.0.4/ext/json/ext/generator
    

    /usr/local/opt/ruby/bin/ruby -r ./siteconf20180225-2421-jxjrmi.rb extconf.rb creating Makefile

    current directory: /usr/local/lib/ruby/gems/2.5.0/gems/json-2.0.4/ext/json/ext/generator make "DESTDIR=" clean xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

    current directory: /usr/local/lib/ruby/gems/2.5.0/gems/json-2.0.4/ext/json/ext/generator make "DESTDIR=" xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

    make failed, exit code 1

    Gem files will remain installed in /usr/local/lib/ruby/gems/2.5.0/gems/json-2.0.4 for inspection. Results logged to /usr/local/lib/ruby/gems/2.5.0/extensions/x86_64-darwin-16/2.5.0/json-2.0.4/gem_make.out

    opened by UltramanTIGA 2
  • Fails to install with ruby 2.4.0

    Fails to install with ruby 2.4.0

    This is what I get:

    ➜  ~ gem install alfi
    Building native extensions.  This could take a while...
    ERROR:  Error installing alfi:
    	ERROR: Failed to build gem native extension.
    
        current directory: /Users/dino/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/json-1.8.3/ext/json/ext/generator
    /Users/dino/.rbenv/versions/2.4.0/bin/ruby -r ./siteconf20170110-22634-1h2aq5u.rb extconf.rb
    creating Makefile
    
    current directory: /Users/dino/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/json-1.8.3/ext/json/ext/generator
    make "DESTDIR=" clean
    
    current directory: /Users/dino/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/json-1.8.3/ext/json/ext/generator
    make "DESTDIR="
    compiling generator.c
    generator.c:861:25: error: use of undeclared identifier 'rb_cFixnum'
        } else if (klass == rb_cFixnum) {
                            ^
    generator.c:863:25: error: use of undeclared identifier 'rb_cBignum'
        } else if (klass == rb_cBignum) {
                            ^
    generator.c:975:5: warning: division by zero is undefined [-Wdivision-by-zero]
        rb_scan_args(argc, argv, "01", &opts);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /Users/dino/.rbenv/versions/2.4.0/include/ruby-2.4.0/ruby/ruby.h:2143:9: note: expanded from macro 'rb_scan_args'
            rb_scan_args0(argc,argvp,fmt,\
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /Users/dino/.rbenv/versions/2.4.0/include/ruby-2.4.0/ruby/ruby.h:2329:8: note: expanded from macro 'rb_scan_args0'
                         rb_scan_args_verify(fmt, varc), vars)
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /Users/dino/.rbenv/versions/2.4.0/include/ruby-2.4.0/ruby/ruby.h:2201:11: note: expanded from macro 'rb_scan_args_verify'
            verify = rb_scan_args_verify_count(fmt, varc); \
                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
    /Users/dino/.rbenv/versions/2.4.0/include/ruby-2.4.0/ruby/ruby.h:2167:6: note: expanded from macro 'rb_scan_args_count_hash'
         rb_scan_args_count_block(fmt, ofs, varc, vari) : \
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /Users/dino/.rbenv/versions/2.4.0/include/ruby-2.4.0/ruby/ruby.h:2162:6: note: expanded from macro 'rb_scan_args_count_block'
         rb_scan_args_count_end(fmt, ofs, varc, vari) : \
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /Users/dino/.rbenv/versions/2.4.0/include/ruby-2.4.0/ruby/ruby.h:2158:12: note: expanded from macro 'rb_scan_args_count_end'
        ((vari)/(!fmt[ofs] || rb_scan_args_bad_format(fmt)))
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    generator.c:975:5: warning: division by zero is undefined [-Wdivision-by-zero]
        rb_scan_args(argc, argv, "01", &opts);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /Users/dino/.rbenv/versions/2.4.0/include/ruby-2.4.0/ruby/ruby.h:2143:9: note: expanded from macro 'rb_scan_args'
            rb_scan_args0(argc,argvp,fmt,\
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /Users/dino/.rbenv/versions/2.4.0/include/ruby-2.4.0/ruby/ruby.h:2329:8: note: expanded from macro 'rb_scan_args0'
                         rb_scan_args_verify(fmt, varc), vars)
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /Users/dino/.rbenv/versions/2.4.0/include/ruby-2.4.0/ruby/ruby.h:2201:11: note: expanded from macro 'rb_scan_args_verify'
            verify = rb_scan_args_verify_count(fmt, varc); \
                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
    /Users/dino/.rbenv/versions/2.4.0/include/ruby-2.4.0/ruby/ruby.h:2167:6: note: expanded from macro 'rb_scan_args_count_hash'
         rb_scan_args_count_block(fmt, ofs, varc, vari) : \
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /Users/dino/.rbenv/versions/2.4.0/include/ruby-2.4.0/ruby/ruby.h:2163:6: note: expanded from macro 'rb_scan_args_count_block'
         rb_scan_args_count_end(fmt, ofs+1, varc, vari+1))
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /Users/dino/.rbenv/versions/2.4.0/include/ruby-2.4.0/ruby/ruby.h:2158:12: note: expanded from macro 'rb_scan_args_count_end'
        ((vari)/(!fmt[ofs] || rb_scan_args_bad_format(fmt)))
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    generator.c:975:5: warning: division by zero is undefined [-Wdivision-by-zero]
        rb_scan_args(argc, argv, "01", &opts);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /Users/dino/.rbenv/versions/2.4.0/include/ruby-2.4.0/ruby/ruby.h:2143:9: note: expanded from macro 'rb_scan_args'
            rb_scan_args0(argc,argvp,fmt,\
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /Users/dino/.rbenv/versions/2.4.0/include/ruby-2.4.0/ruby/ruby.h:2329:8: note: expanded from macro 'rb_scan_args0'
                         rb_scan_args_verify(fmt, varc), vars)
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /Users/dino/.rbenv/versions/2.4.0/include/ruby-2.4.0/ruby/ruby.h:2201:11: note: expanded from macro 'rb_scan_args_verify'
            verify = rb_scan_args_verify_count(fmt, varc); \
                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
    /Users/dino/.rbenv/versions/2.4.0/include/ruby-2.4.0/ruby/ruby.h:2168:6: note: expanded from macro 'rb_scan_args_count_hash'
         rb_scan_args_count_block(fmt, ofs+1, varc, vari+1))
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /Users/dino/.rbenv/versions/2.4.0/include/ruby-2.4.0/ruby/ruby.h:2162:6: note: expanded from macro 'rb_scan_args_count_block'
         rb_scan_args_count_end(fmt, ofs, varc, vari) : \
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /Users/dino/.rbenv/versions/2.4.0/include/ruby-2.4.0/ruby/ruby.h:2158:12: note: expanded from macro 'rb_scan_args_count_end'
        ((vari)/(!fmt[ofs] || rb_scan_args_bad_format(fmt)))
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    generator.c:975:5: warning: division by zero is undefined [-Wdivision-by-zero]
        rb_scan_args(argc, argv, "01", &opts);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /Users/dino/.rbenv/versions/2.4.0/include/ruby-2.4.0/ruby/ruby.h:2143:9: note: expanded from macro 'rb_scan_args'
            rb_scan_args0(argc,argvp,fmt,\
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /Users/dino/.rbenv/versions/2.4.0/include/ruby-2.4.0/ruby/ruby.h:2329:8: note: expanded from macro 'rb_scan_args0'
                         rb_scan_args_verify(fmt, varc), vars)
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /Users/dino/.rbenv/versions/2.4.0/include/ruby-2.4.0/ruby/ruby.h:2201:11: note: expanded from macro 'rb_scan_args_verify'
            verify = rb_scan_args_verify_count(fmt, varc); \
                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
    /Users/dino/.rbenv/versions/2.4.0/include/ruby-2.4.0/ruby/ruby.h:2167:6: note: expanded from macro 'rb_scan_args_count_hash'
         rb_scan_args_count_block(fmt, ofs, varc, vari) : \
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /Users/dino/.rbenv/versions/2.4.0/include/ruby-2.4.0/ruby/ruby.h:2162:6: note: expanded from macro 'rb_scan_args_count_block'
         rb_scan_args_count_end(fmt, ofs, varc, vari) : \
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /Users/dino/.rbenv/versions/2.4.0/include/ruby-2.4.0/ruby/ruby.h:2158:12: note: expanded from macro 'rb_scan_args_count_end'
        ((vari)/(!fmt[ofs] || rb_scan_args_bad_format(fmt)))
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    generator.c:975:5: warning: division by zero is undefined [-Wdivision-by-zero]
        rb_scan_args(argc, argv, "01", &opts);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /Users/dino/.rbenv/versions/2.4.0/include/ruby-2.4.0/ruby/ruby.h:2143:9: note: expanded from macro 'rb_scan_args'
            rb_scan_args0(argc,argvp,fmt,\
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /Users/dino/.rbenv/versions/2.4.0/include/ruby-2.4.0/ruby/ruby.h:2329:8: note: expanded from macro 'rb_scan_args0'
                         rb_scan_args_verify(fmt, varc), vars)
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /Users/dino/.rbenv/versions/2.4.0/include/ruby-2.4.0/ruby/ruby.h:2201:11: note: expanded from macro 'rb_scan_args_verify'
            verify = rb_scan_args_verify_count(fmt, varc); \
                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
    /Users/dino/.rbenv/versions/2.4.0/include/ruby-2.4.0/ruby/ruby.h:2167:6: note: expanded from macro 'rb_scan_args_count_hash'
         rb_scan_args_count_block(fmt, ofs, varc, vari) : \
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /Users/dino/.rbenv/versions/2.4.0/include/ruby-2.4.0/ruby/ruby.h:2162:6: note: expanded from macro 'rb_scan_args_count_block'
         rb_scan_args_count_end(fmt, ofs, varc, vari) : \
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /Users/dino/.rbenv/versions/2.4.0/include/ruby-2.4.0/ruby/ruby.h:2158:12: note: expanded from macro 'rb_scan_args_count_end'
        ((vari)/(!fmt[ofs] || rb_scan_args_bad_format(fmt)))
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    generator.c:975:5: warning: division by zero is undefined [-Wdivision-by-zero]
        rb_scan_args(argc, argv, "01", &opts);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /Users/dino/.rbenv/versions/2.4.0/include/ruby-2.4.0/ruby/ruby.h:2143:9: note: expanded from macro 'rb_scan_args'
            rb_scan_args0(argc,argvp,fmt,\
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /Users/dino/.rbenv/versions/2.4.0/include/ruby-2.4.0/ruby/ruby.h:2329:8: note: expanded from macro 'rb_scan_args0'
                         rb_scan_args_verify(fmt, varc), vars)
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /Users/dino/.rbenv/versions/2.4.0/include/ruby-2.4.0/ruby/ruby.h:2201:11: note: expanded from macro 'rb_scan_args_verify'
            verify = rb_scan_args_verify_count(fmt, varc); \
                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
    /Users/dino/.rbenv/versions/2.4.0/include/ruby-2.4.0/ruby/ruby.h:2167:6: note: expanded from macro 'rb_scan_args_count_hash'
         rb_scan_args_count_block(fmt, ofs, varc, vari) : \
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /Users/dino/.rbenv/versions/2.4.0/include/ruby-2.4.0/ruby/ruby.h:2162:6: note: expanded from macro 'rb_scan_args_count_block'
         rb_scan_args_count_end(fmt, ofs, varc, vari) : \
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /Users/dino/.rbenv/versions/2.4.0/include/ruby-2.4.0/ruby/ruby.h:2158:12: note: expanded from macro 'rb_scan_args_count_end'
        ((vari)/(!fmt[ofs] || rb_scan_args_bad_format(fmt)))
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    6 warnings and 2 errors generated.
    make: *** [generator.o] Error 1
    
    make failed, exit code 2
    
    Gem files will remain installed in /Users/dino/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/json-1.8.3 for inspection.
    Results logged to /Users/dino/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/extensions/x86_64-darwin-16/2.4.0-static/json-1.8.3/gem_make.out
    

    Maybe you just need to bump the version of the json gem you are using?

    opened by reisub 2
  • cannot install by gem

    cannot install by gem

    ERROR: Could not find a valid gem 'alfi' (>= 0), here is why: Unable to download data from http://ruby.taobao.org/ - bad response Not Found 404 (http://ruby.taobao.org/specs.4.8.gz)

    opened by lawrencewqy 2
  • build fail in gem 2.3.0 of Mac Mojave

    build fail in gem 2.3.0 of Mac Mojave

    Building native extensions.  This could take a while...
    ERROR:  Error installing alfi:
    	ERROR: Failed to build gem native extension.
    
        current directory: /Library/Ruby/Gems/2.3.0/gems/json-2.0.4/ext/json/ext/generator
    /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby -r ./siteconf20190131-13583-1yv04yr.rb extconf.rb
    creating Makefile
    
    current directory: /Library/Ruby/Gems/2.3.0/gems/json-2.0.4/ext/json/ext/generator
    make "DESTDIR=" clean
    
    current directory: /Library/Ruby/Gems/2.3.0/gems/json-2.0.4/ext/json/ext/generator
    make "DESTDIR="
    compiling generator.c
    In file included from generator.c:1:
    In file included from ./../fbuffer/fbuffer.h:5:
    In file included from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/include/ruby-2.3.0/ruby.h:33:
    /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/include/ruby-2.3.0/ruby/ruby.h:24:10: fatal error: 'ruby/config.h' file not found
    #include "ruby/config.h"
             ^~~~~~~~~~~~~~~
    1 error generated.
    make: *** [generator.o] Error 1
    
    make failed, exit code 2
    
    Gem files will remain installed in /Library/Ruby/Gems/2.3.0/gems/json-2.0.4 for inspection.
    Results logged to /Library/Ruby/Gems/2.3.0/extensions/universal-darwin-18/2.3.0/json-2.0.4/gem_make.out
    

    how do I install Alfi

    opened by linjson 1
  • SSLError when searching

    SSLError when searching

    After installing the gem successfully..

    C:\DevKit>chcp 1252
    Active code page: 1252
    
    C:\DevKit>gem install alfi
    Fetching: json-2.0.4.gem (100%)
    Temporarily enhancing PATH to include DevKit...
    Building native extensions.  This could take a while...
    Successfully installed json-2.0.4
    Fetching: alfi-0.5.0.gem (100%)
    Successfully installed alfi-0.5.0
    Parsing documentation for json-2.0.4
    Installing ri documentation for json-2.0.4
    Parsing documentation for alfi-0.5.0
    Installing ri documentation for alfi-0.5.0
    Done installing documentation for json, alfi after 6 seconds
    2 gems installed
    

    Then I tried to search for any library.. this error shows??

    C:\DevKit>alfi picasso
    Searching...
    C:/Ruby22/lib/ruby/2.2.0/net/http.rb:923:in `connect': SSL_connect returned=1 errno=0 state=error: certificate verify failed (OpenSSL::SSL::SSLError)
            from C:/Ruby22/lib/ruby/2.2.0/net/http.rb:923:in `block in connect'
            from C:/Ruby22/lib/ruby/2.2.0/timeout.rb:73:in `timeout'
            from C:/Ruby22/lib/ruby/2.2.0/net/http.rb:923:in `connect'
            from C:/Ruby22/lib/ruby/2.2.0/net/http.rb:863:in `do_start'
            from C:/Ruby22/lib/ruby/2.2.0/net/http.rb:852:in `start'
            from C:/Ruby22/lib/ruby/2.2.0/net/http.rb:1375:in `request'
            from C:/Ruby22/lib/ruby/gems/2.2.0/gems/alfi-0.5.0/lib/alfi/providers/bintray.rb:40:in `call'
            from C:/Ruby22/lib/ruby/gems/2.2.0/gems/alfi-0.5.0/lib/alfi/search.rb:16:in `block in call'
            from C:/Ruby22/lib/ruby/gems/2.2.0/gems/alfi-0.5.0/lib/alfi/search.rb:16:in `each'
            from C:/Ruby22/lib/ruby/gems/2.2.0/gems/alfi-0.5.0/lib/alfi/search.rb:16:in `call'
            from C:/Ruby22/lib/ruby/gems/2.2.0/gems/alfi-0.5.0/lib/alfi/cli.rb:24:in `call'
            from C:/Ruby22/lib/ruby/gems/2.2.0/gems/alfi-0.5.0/bin/alfi:5:in `<top (required)>'
            from C:/Ruby22/bin/alfi:23:in `load'
            from C:/Ruby22/bin/alfi:23:in `<main>'
    
    opened by AlaaZarifa 1
Owner
César Ferreira
Senior Android Developer, currently working as a Tech Lead @GlueHome
César Ferreira
Simple library to generate and view PDF in Android

PDFCreatorAndroid Simple library to generate and view PDF in Android A simple library to create and view PDF with zero dependency Or native code. Add

Tej Pratap Singh 234 Dec 11, 2022
:inbox_tray: [Android Library] Hunt down all package information

Android library to hunt down package information. The library is built for simplicity and approachability. It not only eliminates most boilerplate cod

Nishant Srivastava 141 Nov 17, 2022
An android library that handles the closing of your app interactively.

Shutdown A library that handles the closing of your app interactively. Overview of Shutdown library Shutdown library handles the closing of your app i

Emmanuel Kehinde 56 Oct 5, 2022
Android Material Design Theme UI and Tool Library. Support: 4.0.3~O

GitHub OSChina 中文 English Genius-Android Genius-Android: by Material Design style and some commonly used packages. Starting in 2015, The divided into

Qiujuer 2.3k Dec 27, 2022
Android USB host serial driver library for CDC, FTDI, Arduino and other devices.

usb-serial-for-android This is a driver library for communication with Arduinos and other USB serial hardware on Android, using the Android USB Host M

mike w 3.8k Dec 30, 2022
Library that makes it possible to read, edit and write CSV files

AdaptiveTableLayout Welcome the new CSV Library AdaptiveTableLayout for Android by Cleveroad Pay your attention to our new library that makes it possi

Cleveroad 1.9k Jan 6, 2023
TaggerString is very light library which allows to build dynamic string resource in much more readable way.

TaggerString TaggerString is very light library which allows to build dynamic string resource in much more readable way. I guess that every Android de

polok 241 Jun 3, 2022
A library which will save you a lot of time from writing the same intent creation code. it consist of many intent creation codes like Share, Contacts, Email and etc, which you can easily use.

Android-Intent-Library A library which will save you a lot of time from writing the same intent creation code. it consist of many intent creation code

Next 67 Aug 24, 2022
The Kotlin fake data generator library!

Fakeit This library is a port of the Ruby gem Faker. It generates realistic fake data — like names, emails, dates, countries — for a variety of scenar

Moove It 517 Nov 20, 2022
A tool to install components of the Android SDK into a Maven repository or repository manager to use with the Android Maven Plugin, Gradle and other tools.

Maven Android SDK Deployer Original author including numerous fixes and changes: Manfred Moser [email protected] at simpligility technologies i

simpligility 1.4k Dec 27, 2022
A simple utility to remove unused resources in your Android app to lower the size of the APK. It's based on the Android lint tool output.

android-resource-remover android-resource-remover is utility that removes unused resources reported by Android Lint from your project. The goal is to

Keepsafe 1.3k Dec 16, 2022
This is a Android Studio/ IntelliJ IDEA plugin to localize your Android app, translate your string resources automactically.

#Android Localizationer This is a Android Studio/ IntelliJ IDEA plugin to localize your Android app, translate your string resources automactically. T

Wesley Lin 822 Dec 8, 2022
A tool to install components of the Android SDK into a Maven repository or repository manager to use with the Android Maven Plugin, Gradle and other tools.

Maven Android SDK Deployer Original author including numerous fixes and changes: Manfred Moser [email protected] at simpligility technologies i

simpligility 1.4k Dec 27, 2022
Automated-build-android-app-with-github-action - CI/CD Automated Build Android App Bundle / APK / Signed With Github Action

Automated Build Android With Using Github Action Project Github Action Script Us

Faisal Amir 34 Dec 19, 2022
proguard resource for Android by wechat team

AndResGuard Read this in other languages: English, 简体中文. AndResGuard is a tooling for reducing your apk size, it works like the ProGuard for Java sour

shwenzhang 8.1k Jan 9, 2023
A super fast build tool for Android, an alternative to Instant Run

Freeline Freeline is a super fast build tool for Android and an alternative to Instant Run. Caching reusable class files and resource indices, it enab

Alibaba 5.5k Jan 2, 2023
Command-line tool to count per-package methods in Android .dex files

dex-method-counts Simple tool to output per-package method counts in an Android DEX executable grouped by package, to aid in getting under the 65,536

Mihai Parparita 2.6k Nov 25, 2022
View Inspection Toolbar for Android Development

View Inspector Plugin View inspection toolbar for android development. Features Boundary show outlines show margins show paddings Layer Scalpel featur

Fumihiro Xue (Peter Hsieh) 2.2k Nov 14, 2022