The build config packaging has been fixed for the next release. https://code.google.com/p/android/issues/detail?id=61151
On Mon, Mar 17, 2014 at 12:24 AM, Dominik Schulz <[email protected]>wrote: > Hey there, > i have the same problem as Croc, i can compile with defaultpublishconfig > debug, but when i deploy and start the app it crashs with an > NoClassDefFound Exception, the reason in my case is that it cant find the > BuildConfig.class inside the apk. > Does anyone have an Idea? > > Am Montag, 10. März 2014 13:03:47 UTC+1 schrieb Croc: > >> I know that bug >> 52962<https://code.google.com/p/android/issues/detail?id=52962>hasn't been >> fixed yet, but I've found out that I can specify/build >> debug variant of a library and everything seems to work fine, except that >> BuildConfig file is not included in the APK (if I build release variant >> everything works fine, BuildConfig is included in the APK). I don't really >> know where the problem is because sources seem to build correctly as in, I >> have in my library build/source/buildConfig/ >> debug/packagename/BuildConfig.java. Is there something I'm missing or >> this just isn't supported yet (as per bug status)? I'm using plugin 0.9.0 >> (and AS 0.5.1). Oh, and I'm building the debug/release lib variant by >> specifying *defaultPublishConfig "debug"* (maybe that's the 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 [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- Xavier Ducrohet Android SDK Tech Lead Google Inc. http://developer.android.com | http://tools.android.com Please do not send me questions directly. Thanks! -- 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.
