dProtect icon indicating copy to clipboard operation
dProtect copied to clipboard

Is there any example Android project / known compatible Gradle version?

Open SirionRazzer opened this issue 2 years ago • 1 comments

I tried to use dProtect in Android project with Gradle versions 7.* and 8.* , but I couldn't make it work. Is there any example Android project that uses Gradle 7.* / which version of Gradle should work?

So far I found out Proguard is not compatible with AGP 8 (Android Studio already comes with AGP 8 by default) (https://github.com/open-obfuscator/dProtect/issues/1 , https://github.com/Guardsquare/proguard/issues/280)

SirionRazzer avatar Oct 23 '23 11:10 SirionRazzer

Came here from the issue you mentioned. Following may help you, or may not =) Proguard itself works for me with AGP 7.4.2 (it's com.android.application in root build.gradle) and Gradle version 7.6.3 (it's in /gradle/wrapper/gradle-wrapper.properties) Versions of AGP and Gradle are somewhat coupled, you have to move them carefully together. These are the last supported version to my understanding.

listvin avatar Nov 05 '23 00:11 listvin