Thanks. I created the feature request here https://issuetracker.google.com/issues/70261854
Is there any possible workaround now? Dne úterý 5. prosince 2017 17:22:58 UTC+1 Jerome Dochez napsal(a): > > it's not possible right now, we probably would need to add > manifestPlaceholders to testOptions. > > can you file a RFE, we will probably do it in the 3.2 train. > > jerome > > On Mon, Dec 4, 2017 at 3:20 PM, Tomáš Procházka <tomas.p...@gmail.com > <javascript:>> wrote: > >> I have library project with instrumentation test (AndroidTest). >> I'm using manifestPlaceholders which I don't want to replace during the >> library build but in the target app. >> >> Instrumentation tests and Gradle Sync in the AS itself will crash because >> value for found placeholder doesn't exists. >> But I can't define it in this way: >> >> defaultConfig { >> manifestPlaceholders = [certPlaceholder:""] >> } >> >> >> Because it will be already replaced in the produced AAR file. >> >> Is there any way how to define manifestPlaceholders just for use in tests? >> >> -- >> 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.