Reputation: 4781
I'm using Android Studio 1.5.0. I have no issues in the project. Project compiles successfully and runs with no issues.
But problem is when i try to clean my project, it automatically generates signed APK. No matter how many times i clean, it always generates a signed APK. I'm not aware how does this happen. And also when i click on any options under build it automatically generates the Signed APK.
But previously i'm using the 1.3 android studio version. where everything works fine.
Is this the bug in IDE or some settings needs to be configured. Any help appreciated.
Edited : Added the Gradle info
apply plugin: 'com.android.application'
apply plugin: 'com.google.gms.google-services'
android {
compileSdkVersion 23
buildToolsVersion "23.0.3"
defaultConfig {
applicationId "com.example.com"
minSdkVersion 15
targetSdkVersion 22
versionCode 6
versionName "1.5"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
productFlavors
{
}
packagingOptions {
exclude 'META-INF/DEPENDENCIES'
exclude 'META-INF/NOTICE'
exclude 'META-INF/LICENSE'
exclude 'META-INF/LICENSE.txt'
exclude 'META-INF/NOTICE.txt'
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:23.0.1'
compile 'com.android.support:design:23.0.1'
}
Upvotes: 2
Views: 91
Reputation: 1830
It's not a bug. your build variant is set to release, so you have to set it back to debug mode like the image below
Access build variants option from bottom left side of the screen in Android studio.
Upvotes: 1