I continued testing, and it's not intermittent.

What seems to make the difference is whether it's installed first as debug 
or signed apk.

   - So fresh debug installs will always run perfectly.
   - Fresh signed apks will fail when run. Subsequent debug runs (without 
   uninstalling) will then fail.

Turning proguard off fixes the error. Not sure what's wrong with the 
proguard settings and why they would produce a different result on 
Marshmallow. Here's my current proguard settings:

-keep public class cyanogenmod.** {
 public *;
}
-dontwarn cyanogenmod.**

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/17937a55-b964-4bac-97f2-2647d68426ae%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to