Great. Thanks for reply! So I created bug report based on this information https://code.google.com/p/android/issues/detail?id=233093
Dne neděle 29. ledna 2017 18:44:36 UTC+1 Jake Wharton napsal(a): > > Do you have more than 100 dex files? API 21 and 22 only looped for 100 dex > files when loading instead of looping until no more were found. This was > fixed in API 23. > > On Sat, Jan 28, 2017, 9:25 AM Tomáš Procházka <tomas.p...@gmail.com > <javascript:>> wrote: > >> Legacy multidex (com.android.support:multidex:1.0.1) should be used on >> API older than 21, so 19 and lower. >> But the problem with missing class affects only 21 and 22. >> >> Here are links for APK builded fro the IDE for emulator with API 19 and >> 22, the APK for the API 22 has 160 dex files, second APK just 4. >> It you will try to run app-default-debug-api22.apk on emulator od device >> with API 22 it will crash on ClassNotFoundException. >> >> https://dl.dropboxusercontent.com/u/998569/apk-issue/app-default-debug-api19.apk >> >> https://dl.dropboxusercontent.com/u/998569/apk-issue/app-default-debug-api22.apk >> >> Big thanks for help! >> >> Dne pátek 27. ledna 2017 17:21:56 UTC+1 Jerome Dochez napsal(a): >>> >>> well there is the 64K limit per dex file but that should be caught >>> during dexing. >>> which class is missing ? could it be the legacy multidex support ? >>> >>> if you can send both built APK, we can have forensics experts look at >>> them yes. >>> >>> >>> On Wed, Jan 25, 2017 at 5:07 AM Tomáš Procházka <tomas.p...@gmail.com> >>> wrote: >>> >>>> It looks that it works on small project correctly. I'm trying to figure >>>> out how to simulate it on the sample project. >>>> But I can send you builded apk. Main differences between new and old >>>> version is that new one contain 157 dex files! But in the old one just 4. >>>> There is some limit for number of dex files? >>>> >>>> >>>> Dne středa 25. ledna 2017 5:26:44 UTC+1 Jerome Dochez napsal(a): >>>>> >>>>> Hi Tomas, >>>>> >>>>> do you have a small project that would reproduce the issue ? >>>>> >>>>> On Tue, Jan 24, 2017 at 12:23 PM Tomáš Procházka <tomas.p...@gmail.com> >>>>> wrote: >>>>> >>>> Strange, that nobody has the same issue, or nobody is here. >>>>>> Is there is any different official Android SDK group? >>>>>> >>>>>> Dne čtvrtek 19. ledna 2017 17:33:37 UTC+1 Tomáš Procházka napsal(a): >>>>>> >>>>>>> Hi. >>>>>>> >>>>>>> It looks that deploy to connected device with API 22 and lower >>>>>>> doesn't work with AS 2.3-beta2 and build plugin with the same version, >>>>>>> does't works correctly. >>>>>>> It probably affect only only application with enabled multidex. >>>>>>> Because application always crash on some missing class. >>>>>>> It work correctly if app is builder from the command line by >>>>>>> assemble task. >>>>>>> I have turned of instant run, with instant run does't work nothing, >>>>>>> but it is already reported here >>>>>>> https://code.google.com/p/android/issues/detail?id=227610 >>>>>>> Deploy to API 23 works correctly. >>>>>>> >>>>>>> It is known problem? >>>>>>> >>>>>> -- >>>>>> 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 adt-dev+u...@googlegroups.com. >>>>> >>>>> >>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>> >>>>> -- >>>> 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 adt-dev+u...@googlegroups.com. >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> -- >> 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 adt-dev+u...@googlegroups.com <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > -- 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 adt-dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.