Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

what is Alternative of android.enableD8=false because it is deprecated

Hello I am using okio and okhttp library for socket connect. After updating android studio and build tool 3.1.2, I am facing this issue.

And suggestion is android.enableD8=false. but, it's deprecated.

So, Please Suggest What I need to do for solving this issue?

like image 612
Abhay Koradiya Avatar asked May 14 '18 06:05

Abhay Koradiya


2 Answers

To solve this you have only one option that is using android.enableD8=false.And as it is deprecated not removed.Hence,you can use it without any problem.

Also keep an eye on the LINK for update about the fix.

like image 169
Koustuv Ganguly Avatar answered Nov 11 '22 03:11

Koustuv Ganguly


read this https://android-developers.googleblog.com/2018/04/android-studio-switching-to-d8-dexer.html

then go to

gradle.properties

and Use 'android.enableD8=true' to remove this warning.

like image 4
leonidaa Avatar answered Nov 11 '22 03:11

leonidaa