Hi!
I'm using android-gradle-plugin 0.12.1 with following configuration:
apply plugin: 'android'
dependencies {
compile 'com.android.support:support-v4:19.+'
compile 'org.jsoup:jsoup:1.7.+'
}
android {
compileSdkVersion 19
buildToolsVersion '19.1.0'
defaultConfig {
versionCode 2
versionName '0.1'
minSdkVersion 17
targetSdkVersion 19
}
signingConfigs {
release {
storeFile file(System.properties['user.home'] + "/.android/alpha.keystore")
storePassword 'password'
keyAlias 'defaultkey'
keyPassword 'password'
}
}
buildTypes {
release {
runProguard false
proguardFile 'proguard.cfg'
signingConfig android.signingConfigs.release
}
}
lintOptions {
abortOnError false
}
}
Release apk builds fine, but debug version is too small (release - 438kb against debug - 119kb). And debug version falls with exception: Caused by: java.lang.ClassNotFoundException: Didn't find class: "com.sample.MainActivity". Release starts fine.
What could be wrong in my configuration?
Thank you!