android-hidden-api icon indicating copy to clipboard operation
android-hidden-api copied to clipboard

if you have problem like finished with non-zero exit value 1 ,see my solution

Open Surrin1999 opened this issue 5 years ago • 0 comments

Recently i encounter a problem like inished with non-zero exit value 1(sorry i hava not saved the pic) but i finally resolve it. let me list my my solution steps.

step1 : check your external libraries ,if you see file name like Androidx and support at the same time, go to step2 ,if not , you can close this issure cause i can't help you :(

step2: the problem is androidX Library and Android Support conflict,so we need to Migrating to AndroidX.

     **first**: Update build tools to 3.2.0, gradle update to 4.6, and dependent libraries to update to 28.0.0
     

image

     **second**: click your project -> refactor -> Migrate to AndroidX. 

    

image

step3: rebuild your project

Then you can see that the problem has been solved.

Surrin1999 avatar Aug 13 '19 04:08 Surrin1999