Skip to content

Latest commit

 

History

History
51 lines (33 loc) · 1.85 KB

getstarted.md

File metadata and controls

51 lines (33 loc) · 1.85 KB

Configuring into your project

In order to use envoy, you will need to download the following project from the link https://github.com/greatfire/envoy . After downloading the project from the above link, Download the cronet.arr files from ReadMe file or click on the below links. There are two variants of cronet.

cronet-debug.aar

cronet-release.aar

Download both and Copy these files and paste it into directory cronet which is inside folder android. image

Importing this project as a module into your project:

Step 1

image

Step 2

Mark check on import module name: cronet and module name: envoy Mark uncheck on import module name: demo

image

Step 3

Your project’s minimum sdk should be 21

image

Step 4

Add following dependencies into your build.gradle (Module:app)

implementation project(path: ':envoy')
releaseImplementation project(path: ':cronet', configuration: 'release')
debugImplementation project(path: ':cronet', configuration: 'debug')

if you are using OkHttp then add this dependency

implementation 'com.squareup.okhttp3:okhttp:4.6.0'

if you are using Volley then add this dependency

implementation 'com.android.volley:volley:1.1.1'

Now sync and build the project. Envoy has successfully integrated into your project. For various libraries, refer to libraries.