That's odd. Like I said earlier, I DON'T get this problem in Eclipse, when 
setting jumbo mode to true in project.properties. Must be a gradle thing 
then?

I've solved it for now by stripping out unused classes from play services 
in the build.gradle script. It's at least better than running proguard and 
having breakpoints not work.

Ryan

On Wednesday, October 8, 2014 9:05:07 PM UTC-4, liatsineam wrote:
>
> JumboMode cannot solve the method ID not in (65536) error
>
> On Thursday, October 9, 2014 6:50:25 AM UTC+8, Ryan Bis wrote:
>>
>> I'm trying to get JumboMode to work, and I seem to be missing something. 
>> In Eclipse, it works if I add the option to project.properties. But, I'm 
>> just migrated our code over to Android Studio, and it's giving me the 
>> method ID not in (65536) error when I try to debug the app.
>>
>> This is what I have for the android section in the project's build.gradle:
>>
>> android {
>>     compileSdkVersion 19
>>     buildToolsVersion "20.0.0"
>>
>>     dexOptions {
>>         jumboMode = true
>>     }
>>
>>     defaultConfig {
>>         applicationId "com.businesstexter.biztexter2"
>>         minSdkVersion 14
>>         targetSdkVersion 19
>>
>>         compileOptions {
>>             sourceCompatibility JavaVersion.VERSION_1_7
>>             targetCompatibility JavaVersion.VERSION_1_7
>>         }
>>     }
>>
>>     productFlavors {
>>         googlePlay {
>>         }
>>         amazon {
>>         }
>>         gxv3275 {
>>         }
>>     }
>>
>>     buildTypes {
>>         debug {
>>             debuggable true
>>             runProguard false
>>             proguardFiles 'proguard_debug.cfg'
>>         }
>>         release {
>>             debuggable false
>>             runProguard true
>>             proguardFiles 'proguard.cfg'
>>         }
>>     }
>> }
>>
>>
>> To get it to just build and run for now, I have to enable proguard to 
>> strip out extra methods. This seems to cause breakpoints not to function 
>> properly (the app never gets suspended at the breakpoints I selected). 
>> Plus, I don't want it to have to run proguard when debugging the app. Any 
>> ideas on how to get this working?
>>
>> Thanks,
>> Ryan
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"adt-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to