When I upgraded Android Studio 1.5.1 to Play Services Rev. 29, the main activity (as well as the Android Manifest) in my existing project was auto-updated to include the App Indexing boilerplate code. The unaltered boilerplate code then caused an exception in onStart of the activity (which is when I realized it had been added). I'm in the middle of production code development & am unwilling to divert.
How do I prevent this auto-generation in the future?
This question is similar to the question: What is the new generated code “This was auto-generated to implement the App Indexing API.”?
However, I don't care "what it is" right now - I want it not to darken my door next time I upgrade Android Studio.
Thanks!
Today I recognized the same issue. Maybe it is up to the plugin called "Google App Indexing". I deactivated this plugin right now and hope that will never modify my code on his own.
File -> Settings -> Plugins -> uncheck "Google App Indexing"
I do not now if the plugin is the real reason but I think it is worth a try. For what that App Indexing is you could take a look to this page:
https://developers.google.com/app-indexing/android/publish
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With