andle is an Android tool help you sync dependencies, sdk or build tool version.

Overview

andle

PyPI version Build Status Code Climate Awesome

andle is an Android tool to help you sync dependencies, SDK or build tool version.

Installation

Simple install by pip:

$ sudo pip install andle

Usage

The most commonly used command:

$ andle setsdk -p <path>                    # set android sdk path
$ andle update -p <path> [-d] [-r] [-g]     # sync project gradle config

-h, --help            show this help message and exit
-p PATH, --path PATH  root path
-d, --dryrun          dryrun
-g, --gradle          check gradle version
-r, --remote          check jcenter repository

See andle --help or andle <command> --help for more information.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/Jintin/andle.

License

The package is available as open source under the terms of the MIT License.

Buy Me A Coffee

You might also like...
An auto IBCS API response status checking tool which test tax, address and account module

IB IBCS API Test Tool An auto IBCS API response status checking tool which test tax, address and account module. Getting Started Cd to the cloned dire

SL4A brings scripting languages to Android by allowing you to edit and execute scripts and interactive interpreters directly on the Android device.

#Scripting Layer for Android (SL4A) SL4A brings scripting languages to Android by allowing you to edit and execute scripts and interactive interpreter

This repository contains a simple script that lets you kill gradle and kotlin daemons.

AndroidDaemonKiller This repository contains a simple script that lets you kill gradle and kotlin daemons. After updating gradle or kotlin or checking

Make your IDE play Wilhelm Scream effect when you are using unsafe !! operator in Kotlin

Make your IDE play Wilhelm Scream effect when you are using unsafe !! operator in Kotlin

An application for runners and cyclists. Allows you to monitor your physical activity, weight and receive reminders about workouts.

An application for runners and cyclists. Allows you to monitor your physical activity, weight and receive reminders about workouts.

Starter-Android-Library - Starter Android Library is an Android Project with Modular Architecture.
Starter-Android-Library - Starter Android Library is an Android Project with Modular Architecture.

Starter-Android-Library - Starter Android Library is an Android Project with Modular Architecture.

****. Use the native and support library variants instead - https://developer.android.com/guide/topics/ui/look-and-feel/fonts-in-xml.html. An android library that makes it easy to add custom fonts to edittexts and textviews

Add to your project Add this line to your dependencies in build.gradle compile 'in.workarounds.typography:typography:0.0.8' Using the views There are

ZXing (
ZXing ("Zebra Crossing") barcode scanning library for Java, Android

Project in Maintenance Mode Only The project is in maintenance mode, meaning, changes are driven by contributed patches. Only bug fixes and minor enha

RxJava binding APIs for Android's UI widgets.

RxBinding RxJava binding APIs for Android UI widgets from the platform and support libraries. Download Platform bindings: implementation 'com.jakewhar

Comments
  • Gradle check does not take into account

    Gradle check does not take into account "distributionUrl: "

    When checking for the latest version of Gradle the script does not ignore the "distributionUrl: " portion of the line, resulting in a false positive.

    distributionUrl: https\://services.gradle.org/distributions/gradle-2.9-all.zip -> https\://services.gradle.org/distributions/gradle-2.9-all.zip

    bug 
    opened by dixonl90 4
  • Check to see file exists

    Check to see file exists

    andle will fail if dependency path does not exist

    file: andle/sdk.py see the following lines

     40    ...
     41     find_dependency(data["dependency"], "", path + "/extras/android/m2repository")
     42     find_dependency(data["dependency"], "", path + "/extras/google/m2repository")
     43    ...
    

    My configuration does not have "..../extras/google/m2repository"

    It's a good idea to check if the path exists in find_dependency function before modifying anything in data

    e.g.

     52 
     53 def find_dependency(data, tag, path):
     54     if os.path.exists(path):
     55         no_dir = True
     56         for f in os.listdir(path):
     57             if (os.path.isdir(path + "/" + f)):
     58                 no_dir = False
     59                 find_dependency(data, tag + "/" + f, path + "/" + f)
     60         if no_dir:
     61             list = tag[1:].split("/")
     62             version = list.pop(len(list) - 1)
     63             name = list.pop(len(list) - 1)
     64             package = ".".join(list)
     65 
     66             update_value(version, data, package + ":" + name)
     67 
    
    bug 
    opened by Artemid 3
  • buildToolsVersion suggested to be android-4.4W

    buildToolsVersion suggested to be android-4.4W

    Running the script gives the following line: buildToolsVersion: 23.0.2 -> android-4.4W

    This should not be suggested, 23.0.2 is the newest version of the build tools.

    question 
    opened by dixonl90 1
  • React native support

    React native support

    In react native it generate old sdk number, etc https://react-native.canny.io/feature-requests/p/update-android-build-tools-version-in-project-generated-by-react-native-init I wonder if you can add a guide to update react native gradle and dependencies modules.

    opened by amorenew 0
Owner
Jintin
Android/iOS developer, husband and dad. Love to build interesting things to make life easier.
Jintin
It makes a preview from an url, grabbing all the information such as title, relevant texts and images. This a version for Android of my web link preview https://github.com/LeonardoCardoso/Link-Preview

LeoCardz Link Preview for Android It makes a preview from an url, grabbing all the information such as title, relevant texts and images. Visual Exampl

Leonardo Cardoso 420 Nov 19, 2022
The Android Version in Kotlin of The Dialer App (in SwiftUI)

Dialer An intuitive USSD client to handle most of the common actions for you. Contains common MTN Rwanda USSD activation codes, which drastically simp

Cédric Bahirwe 1 Dec 14, 2021
A lightweight version of Zeebe from Camunda

A lightweight version of Zeebe from Camunda. It bundles Zeebe's workflow engine including some required parts to a library that can be used by other projects. Other parts of Zeebe, like clustering, are not included or are replaced with simpler implementations, for example with an In-Memory database.

Camunda Community Hub 18 Dec 22, 2022
Cache support for any video player with help of single line

Video cache support for Android Table of Content Why AndroidVideoCache? Features Get started Recipes Disk cache limit Listen caching progress Providin

Alexey Danilov 5.1k Jan 6, 2023
Tired of manually setup test data of Kotlin data classes or POJOs? Instantiator creates Instances of any class for you so that you can focus on writing tests instead of spending time and effort to setup test data

Instantiator Tired of manually setup test data of Kotlin data classes or POJOs? Instantiator creates Instances of any class for you so that you can fo

Hannes Dorfmann 54 Dec 30, 2022
Bulletin helps you to "swipe" through your favorite events in the campus and gives you the perfect match for your better experience

Bulletin helps you to "swipe" through your favorite events in the campus and gives you the perfect match for your better experience. Right swipe to add event to your calendar and left swipe to view the next event.

GDSC Navrachana University 7 Feb 11, 2022
Tool for Android app development

RateMeMaybe Asks the user if (s)he wants to open the Play Store to rate your application when certain requirements are met (see below). This can and s

Nicolai Spohrer 98 Dec 30, 2022
transai is a localization tool on Android and iOS.

transai transai is a command line tool to help you do Android and iOS translation management. You can extract string files to csv format, or generate

Jintin 56 Nov 12, 2022
An unofficial migration requirements checking tool for University of Tsukuba - School of Comprehension Studies faculty.

scs-migration-checker (English) An unofficial migration requirements checking tool for University of Tsukuba - School of Comprehension Studies faculty

Itsu 4 Mar 25, 2022
The BitbucketWatcher is a helpful tool to keep up to date with updates on your repo.

The BitbucketWatcher is a helpful tool to keep up to date with updates on your repo. The Watcher tracks new PullRequests, status changes on code reviews, merged branches and forgotten branches.

null 4 Jan 10, 2022