buildTypes {
release {
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android.txt')
}
debug {
debuggable true
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt')
}
}
Set minifyEnabled false in debug block in build.gradle file.
Related Contents:
- Android Studio’s debugger not stopping at breakpoints within library modules
- Android Studio Error “Android Gradle plugin requires Java 11 to run. You are currently using Java 1.8”
- Invoke-customs are only supported starting with android 0 –min-api 26
- Android Gradle Apache HttpClient does not exist?
- “Gradle Version 2.10 is required.” Error
- Error: Execution failed for task ‘:app:clean’. Unable to delete file
- Build Android Studio app via command line
- What Product Flavor does Android Studio build by default in build.gradle?
- android studio 0.4.2: Gradle project sync failed error
- How to disable gradle ‘offline mode’ in android studio? [duplicate]
- how can I add the aidl file to Android studio (from the in-app billing example)
- Error:Jack is required to support java 8 language features [duplicate]
- Android Studio Gradle: Error:Execution failed for task ‘:app:processDebugGoogleServices’. > No matching client found for package
- “JCenter is at end of life” android lint warning, what is the replacement?
- Duplicate files copied (Android Studio 0.4.0) [duplicate]
- error: package com.android.annotations does not exist
- Android Studio: Gradle sync failed: Could not HEAD ‘…’. Received status code 502 from server: Bad Gateway [closed]
- How to set up gradle and android studio to do release build?
- how append date build to versionNameSuffix on gradle
- Android Studio 3.1 “Run” not compiling code
- No such property: scope for class: com.android.build.gradle.internal.variant.ApplicationVariantData
- DexException: Cannot merge new index 65536 into a non-jumbo instruction
- Gradle error: Minimum supported Gradle version is 3.3. Current version is 3.2
- No debuggable processes in logcat when phone detected by Android studio
- no cached version available for offline mode
- Cannot enable Gradle’s offline mode on Android Studio 3.6
- Failed to resolve: com.google.firebase:firebase-core:11.2.0
- android.dexOptions.incremental property is deprecated
- Gradle build failing after update to 3.0
- Can an AAR include transitive dependencies? [duplicate]
- Android build gradle is too slow (Dependency Resolution)
- Android Studio build.gradle warning message [duplicate]
- Error: could not find com.google.gms:google-services:4.2.0
- “The specified Android SDK Build Tools version (26.0.0) is ignored…”
- Resources$NotFoundException: File res/drawable/abc_ic_ab_back_material.xml
- app declares a dependency from configuration ‘compile’ to configuration ‘default’ which is not declared in the descriptor for project
- commons-logging defines classes that conflict with classes now provided by Android after Android Studio Update
- How to automatically uninstall android app from device before installing a new version
- Can’t attach Android Studio’s debugger to Android process
- Cannot change dependencies of configuration (after enabling instant run)
- Error:Execution failed for task ‘:ProjectName:mergeDebugResources’. > Crunching Cruncher *some file* failed, see logs
- UnsatisfiedLinkError: dlopen failed: cannot locate symbol “strtof” referenced by “libsupportjni.so” on API
- (Dis-) Advantage of having multiple modules in an Android Studio Project?
- Galaxy S5 Lollipop – not all breakpoints stop execution under Android Studio debugger
- How to use tools:overrideLibrary with multiple libraries
- invokedynamic requires –min-sdk-version >= 26
- How to add Android Support Repository to Android Studio?
- How to instruct Gradle to use Java from different location?
- How to use flavors with different app names in Android studio?
- Unable to switch to debug build variant in Android Studio