Android Studio not generating data store indexes for Google App Engine -
whenever run appengine project on local host , run queries datastore-indexes-auto.xml file not generate indexes. i've tried adding autogenerate="true" didn't change thing.
whenever run project file gets updates displays same text:
<!-- indices written @ wed, 27 jan 2016 21:08:31 cat --> <datastore-indexes/> i've searched fix issue couldn't find same problem.
this happens app engine modules have on android studio.
i'm using android studio 1.2.2 , libraries i'm using are:
- app engine sdk 1.9.21;
- objectify 5.0.
making comment answer.
you need set autogenerate="true" attribute in web-inf/datastore-indexes.xml file:
from using automatic index configuration:
determining indexes required application's queries manually can tedious , error-prone. thankfully, development server can determine index configuration you. use automatic index configuration, add attribute autogenerate="true" web-inf/datastore-indexes.xml file's
<datastore-indexes>element. automatic index configuration used if app not have datastore-indexes.xml file.
Comments
Post a Comment