When i run android studio it freeze on indexing and show me message:
indexing suspended (context: Gradle Sync)
it take more then 42 min and still show me this message i can't stop process and almost every thing is disable
Solutions I've tried
1- enable offline mode
2- select local gradle
3- invalidate caches/ Restart
but no one of this is solve my problem .
The way to cancel the build is just simply click on the little red x at the task at the bottom.
android.arch.persistence.room.Index. Declares an index on an Entity. see: SQLite Index Documentation. Adding an index usually speeds up your select queries but will slow down other queries like insert or update. You should be careful when adding indices to ensure that this additional cost is worth the gain.
Open Start menu > Computer > System Properties > Advanced System Properties In the Advanced tab > Environment Variables. Add new system variable JAVA_HOME that points to JDK folder, C:\Program Files\Java\jdk1. 7.0_13\
I've solved closing project (Menu File -> Close Project) and reopening it selecting his build.gradle.
Hope that helps
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