Fadi Obaji Fadi Obaji - 1 year ago 683
Android Question

Android Studio & ProGuard: cannot resolve symbol getDefaultProguardFile?

IDE: Android Studio 1.1.0

Subject: ProGuard

Problem: ProGuard files or tools not recognized by Android Studio,

can not be resolved and there's no
files in the app, see the image below: (from build.gradle)

build.gradle screenshot

How to fix this and achieve ProGuard protection to my App ?

Answer Source

Try to change into -

proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download