logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt
How to install Tencent/tinker. Official installation instructions. Project installation guide. Framework or library installation. Build installation instructions. How to setup and install from GitHub. Installation steps and setup instructions. Official docs and installation instructions GitHub.

Tencent/tinker Installation Guide

How to install Tencent/tinker. Official project installation instructions and setup guide.

Automated Install (Recommended)

Quick installation instructions for Tencent/tinker. This is the fastest way to complete project installation and setup.

Install via curl

curl -fsSL https://hexmos.com/ipm-install | bash && 
ipm i Tencent/tinker
or

Install via npx

npx @hexmos/ipm i Tencent/tinker

Prerequisites

Android Studio

build_tool

Version: 4.0.3 or later

Gradle

build_tool

Version: 7.1.1 or later

Tinker-gradle-plugin

package_manager

Version: 1.9.1

Proguard

system_tool

For optimizing APK size and performance.

Manual Installation Methods

Manual installation instructions. How to install from GitHub source.

Building Patch via Command Line

bash build_patch_dexdiff.sh old=xxx new=xxx

Install Tinker using Gradle Plugin (Windows)

echo 'Tencent/tinker setup for Windows using Gradle plugin.' && echo 'Ensure you have Java Development Kit (JDK) and Gradle installed.'

echo 'Add the following to your project-level build.gradle file:'

echo "buildscript {\n    dependencies {\n        classpath ('com.tencent.tinker:tinker-patch-gradle-plugin:1.9.1')\n    }\n}"

echo 'Add the following to your app-level build.gradle file:'

echo "dependencies {\n    provided('com.tencent.tinker:tinker-android-anno:1.9.1')\n    compile('com.tencent.tinker:tinker-android-lib:1.9.1')\n}...\napply plugin: 'com.tencent.tinker.patch'"

echo 'Modify your Application class as described in the Tinker documentation (e.g., use SampleApplicationLike and TinkerApplication).'

Post Installation Steps

  • Open the app and start using it!
  • You can now access the app's features.
  • If you need to configure anything, refer to the documentation.