Description
An Android debug / develop tools written using Kotlin language. All the features in Debug bottle are only available on debug build version with your app, it doesn't has an impact on release version.
Debug Bottle alternatives and similar packages
Based on the "Tools" category.
Alternatively, view Debug Bottle alternatives based on common mentions on social networks and blogs.
-
Freeline
A super fast build tool for Android, an alternative to Instant Run -
dex-method-counts
Command-line tool to count per-package methods in Android .dex files -
scalpel
A surgical debugging tool to uncover the layers under your app. -
maven-android-sdk-deployer
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. -
ViewInspector
View Inspection Toolbar for Android Development -
AdaptiveTableLayout
Library that makes it possible to read, edit and write CSV files -
vectalign
Tool for create complex morphing animations using VectorDrawables (allows morphing between any pair of SVG images) -
android-resource-remover
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. -
Uber Apk Signer
A cli tool that helps signing and zip aligning single or multiple Android application packages (APKs) with either debug or provided release certificates. It supports v1, v2 and v3 Android signing scheme has an embedded debug keystore and auto verifies after signing. -
AndroidLocalizationer
This is a Android Studio/ IntelliJ IDEA plugin to localize your Android app, translate your string resources automactically. -
scrollscreenshot
Make Android screenshots of scrollable screen content -
osmtracker-android
GPS tracking tool for OpenStreetMap -
Let
Annotation based simple API flavored with AOP to handle new Android runtime permission model -
android-gradle-template
Combines tools for fast android app devlopment -
PDFCreatorAndroid
Simple library to generate and view PDF in Android -
density-converter
A multi platform image density converting tool converting single or batches of images to Android, iOS, Windows or CSS specific formats and density versions given the source scale factor or width/height in dp. It has a graphical and command line interface and supports many image types (svg, psd, 9-patch, etc.) aswell as some lossless compressors like pngcrush. -
USB-Device-Info
This application will provide information about almost all currently plugged-in USB devices. -
enroscar
A set of Android tools that facilitate apps development -
TaggerString
TaggerString is very light library which allows to build dynamic string resource in much more readable way. -
release-android-library
Remote script to create a maven compatible release of an android library (aar) -
Layout-to-Image
Android Layout (Relative Layout, Linear Layout etc) to Image -
PackageHunter
:inbox_tray: [Android Library] Hunt down all package information -
NotificationLog
Use an expanded notification as a makeshift Android log output console -
Uber Adb Tools for Android
A tool that enables advanced features through adb installing and uninstalling apps like wildcards and multi device support. Useful if you want to clean your test device from all company apks or install a lot of apks in one go. Written in Java so it should run on your platform. -
Java7-on-Android
Java 7 features backported to Android 2.2+ -
Shutdown
An android library that handles the closing of your app interactively. -
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 codes like Share, Contacts, Email and etc, which you can easily use. -
AnUitor
AnUitor is a result of my rebranding experiences of one android app. -
IntroApp
This Android app adds splash screen slides to make a great intro for an app. -
open-weather-retriever-z
A wrapper that gets weather information from OpenWeatherMap -
change-scene
Switch between different layouts for different states, easily. -
gplay.ws
create a badge to promote your own Android application in a single step
Appwrite - The Open Source Firebase alternative introduces iOS support
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of Debug Bottle or a related project?
README
[🇨🇳 中文](README-ZH.md) / [🇯🇵日本語](README-JP.md) / [🇬🇧 English](README.md)
🍼Debug Bottle
An Android debug / develop tools written using Kotlin language. All the features in Debug bottle are only available on debug build version with your app, it doesn't has an impact on release version.
- [CHANGELOG](CHANGELOG.md)
- [TODO](TODO.md)
Demo App is now available at Google Play:
[](screenshots/introduction.gif) [](screenshots/raw/quick-toggles.png) [](screenshots/raw/features-2.png)
What can I do with Debug Bottle?
- Simple OkHttp Sniffer
- 3D preview an Activity with Scalpel
- Simple shared preferences editor
- Open strict mode any time
- [Catch crashes and get stacktrace log](crash-log)
- Find leaks by using Leak Canary
- Find UI Blocks by using Block Canary
- Mock Activity or function entries in developing
OkHttp Sniffer
Enable "Network Listener" at Settings, then you can see all network traffics what requested by your app.
[](screenshots/raw/network-sniffer-1.png) [](screenshots/raw/network-sniffer-2.png)
Scalpel Viewer
Enable "3D View", then you can view your Activity. When interaction is enabled the following gestures are supported:
- Single touch: Controls the rotation of the model.
- Two finger vertical pinch: Adjust zoom.
- Two finger horizontal pinch: Adjust layer spacing.
[](screenshots/raw/network-sniffer-2.png) [](screenshots/raw/scalpel-view.gif)
Shared Preferences editor
Preview and edit the Shared Preferences of app more simply.
[](screenshots/raw/network-sniffer-2.png) [](screenshots/raw/network-sniffer-2.png)
Strict Mode
Enable or disable Android strict mode at runtime. StrictMode is a developer tool which detects things you might be doing by accident and brings them to your attention so you can fix them. StrictMode is most commonly used to catch accidental disk or network access on the application's main thread, where UI operations are received and animations take place. For more information, see Android Developers.
Crash Log
List all crash stacktrace logs.
[](screenshots/raw/crash.gif)
Leak Canary
Leak Canary is fully imported. Leak Canary is a memory leak detection library for Android and Java. More about using Leak Canary by visiting Leak Canary wiki.
Block Canary
Detect UI blocks at runtime.
[](screenshots/raw/network-sniffer-2.png) [](screenshots/raw/block-canary-demo.gif)
Development Entries
Launch any Activity with custom Intents, or Runnable you want.
[](screenshots/raw/network-sniffer-2.png) [](screenshots/raw/run-activity-with-intent.gif)
How do I use it?
After installing Debug Bottle Demo app, you'll find there are two app icons appears to launcher. Click bottle icon to run Debug Bottle.
Setting up
1. Configure your Gradle project
Add snapshot of maven central repository to primary Gradle file:
allprojects {
repositories {
...
mavenCentral()
}
}
Edit and add dependencies in your app module:
dependencies {
debugCompile 'com.exyui.android:debug-bottle-runtime:1.1.1'
// Use this in your Java project
releaseCompile 'com.exyui.android:debug-bottle-noop-java:1.1.1'
testCompile 'com.exyui.android:debug-bottle-noop-java:1.1.1'
// Use this in your Kotlin project
releaseCompile 'com.exyui.android:debug-bottle-noop-kotlin:1.1.1'
testCompile 'com.exyui.android:debug-bottle-noop-kotlin:1.1.1'
compile 'com.android.support:appcompat-v7:23.2.0+'
}
Specially, Debug Bottle not only support API 23+, but also 22. To support API 22, please add dependencies like this:
dependencies {
debugCompile 'com.exyui.android:debug-bottle-runtime:1.0.6-support22'
// Use this in your Java project
releaseCompile 'com.exyui.android:debug-bottle-noop-java:1.0.6-support22'
testCompile 'com.exyui.android:debug-bottle-noop-java:1.0.6-support22'
// Use this in your Kotlin project
releaseCompile 'com.exyui.android:debug-bottle-noop-kotlin:1.0.6-support22'
testCompile 'com.exyui.android:debug-bottle-noop-kotlin:1.0.6-support22'
compile 'com.android.support:appcompat-v7:22+'
}
To support API 23, add dependencies like this:
dependencies {
debugCompile 'com.exyui.android:debug-bottle-runtime:1.0.6-support23'
// Use this in your Java project
releaseCompile 'com.exyui.android:debug-bottle-noop-java:1.0.6-support23'
testCompile 'com.exyui.android:debug-bottle-noop-java:1.0.6-support23'
// Use this in your Kotlin project
releaseCompile 'com.exyui.android:debug-bottle-noop-kotlin:1.0.6-support23'
testCompile 'com.exyui.android:debug-bottle-noop-kotlin:1.0.6-support23'
compile 'com.android.support:appcompat-v7:23+'
}
2. Edit Manifest
Add Debug Bottle main Activity in your Manifest:
<activity
android:name="com.exyui.android.debugbottle.components.DTDrawerActivity"
android:theme="@style/Theme.AppCompat.Light"
android:label="The Name You Like"/>
The value of tag label, will display to your android launch pad.
3. Inject Debug Bottle into your Application
First, you may implement Block Canary Context:
public class AppBlockCanaryContext extends BlockCanaryContext {...}
Now you could inject Debug Bottle in your Application like:
public class MyApplication extends Application{
@Override
public void onCreate() {
super.onCreate();
DTInstaller.install(this)
.setBlockCanary(new AppBlockCanaryContext(this))
.setOkHttpClient(httpClient)
.setInjector("your.package.injector.ContentInjector")
.setPackageName("your.package")
.enable()
.run();
}
}
Or if you use Kotlin, you can inject like:
class MyApplication: Application() {
override fun onCreate() {
super.onCreate()
DTInstaller.install(this)
.setBlockCanary(AppBlockCanaryContext(this))
.setOkHttpClient(httpClient)
.setInjector("your.package.injector.ContentInjector")
.setPackageName("your.package")
.enable()
.run()
}
}
Links
License
Debug Bottle
Copyright 2016 Yuriel (http://exyui.com).
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Debug Bottle required features are based on or derives from projects below:
- Apache License 2.0
*Note that all licence references and agreements mentioned in the Debug Bottle README section above
are relevant to that project's source code only.