I'm doing some debugging stuff over my Android app and I need to look what's going on in the internal SDK ObjectInputStream
class. I can set a breakpoint where I need, but as soon as I begin debugging, a cross appears telling this line isn't executable. I'm currently working with a device for debugging and, as I'm able to debug other internal Java classes, it seems the given SDK and the one from my device aren't the same, so some class sources match while others don't...
I have already tried rebuilding the project and invalidating cache.
Any idea about that?
EDITED
I tried modifying my build.gradle file in order to match the API version with the one of the device (16). The source code seems now to change, however I can only see the method signature now, no implementation code...
That's my gradle configuration:
android {
compileSdkVersion 16
buildToolsVersion "19.1.0"
defaultConfig {
minSdkVersion 8
targetSdkVersion 16
}
buildTypes {
release {
runProguard false
proguardFile getDefaultProguardFile('proguard-android.txt')
}
}
productFlavors {
defaultFlavor {
proguardFile 'proguard-rules.txt'
}
}
packagingOptions {
exclude 'META-INF/ASL2.0'
exclude 'META-INF/LICENSE'
exclude 'META-INF/license.txt'
exclude 'META-INF/NOTICE'
exclude 'META-INF/notice.txt'
}
sourceSets {
}
}