Discussion:
Android Studio "building symbols" taking a long time
Shayla Sawchenko
2017-08-03 19:00:12 UTC
Permalink
Disclaimer: First time poster, please let me know if I need to add anymore
information, or post differently

I have been tasked with maintaining a legacy Android NDK project, so the
bulk of the original setup/implementation was done by someone no longer
with the company. Our project is setup to use an Android.mk file to build
our custom library. This has worked relatively smoothly until a few days
ago when I upgraded my Android Studio IDE to 2.3.3 (NDK updated to
15.1.411...); now each time I open the project Android Studio launches a
background task "Updating Indicies - Building symbols" for roughly 30 mins.
This causing my machine CPU usage to spike through the roof, and the
project is essentially unusable until it is complete. This was no occurring
before I did the upgrade. Assembling and installing via gradle command line
DOES WORK, so this must be an Android Studio issue.

I have been searching for a solution for the past few days and have come up
empty handed. I have tried:
* Deleting the .idea files and reimporting the project (same thing happens)
* Recloning the repo and setting up the project again (same thing happens)
* Changing the VM options as described
here: https://stackoverflow.com/questions/39640433/android-studio-2-x-building-symbols-forever
(same thing happens)

I was attempting to convert the Android.mk file to a CMakeList.txt file,
but ran into so many issues that I gave up on that task for now.
This appears to be a new issue - has anyone else seen this, and does anyone
else have any ideas how to go about fixing this (or is it an Android Studio
bug)? I am starting to go mad.

Cheers in advance
--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-ndk+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-ndk/9d0e0639-3286-411c-87e2-d328977eb447%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
emymrin
2017-08-04 13:30:35 UTC
Permalink
Are you using an older MacBook Pro with a 4K monitor by chance? https://youtrack.jetbrains.com/issueMobile/IDEA-144261
--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-ndk+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-ndk/aa58522c-e5d0-4f7b-bb0e-fe34e620306b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Marina Cuello
2017-08-10 18:26:26 UTC
Permalink
I usually "fix" any weird error I get after updating Android Studio by
trying with a fresh Android Studio install. Sometimes it's just that you've
got a botched update and the IDE is behaving badly.

Marina
Post by Shayla Sawchenko
Disclaimer: First time poster, please let me know if I need to add anymore
information, or post differently
I have been tasked with maintaining a legacy Android NDK project, so the
bulk of the original setup/implementation was done by someone no longer
with the company. Our project is setup to use an Android.mk file to build
our custom library. This has worked relatively smoothly until a few days
ago when I upgraded my Android Studio IDE to 2.3.3 (NDK updated to
15.1.411...); now each time I open the project Android Studio launches a
background task "Updating Indicies - Building symbols" for roughly 30 mins.
This causing my machine CPU usage to spike through the roof, and the
project is essentially unusable until it is complete. This was no occurring
before I did the upgrade. Assembling and installing via gradle command line
DOES WORK, so this must be an Android Studio issue.
I have been searching for a solution for the past few days and have come
* Deleting the .idea files and reimporting the project (same thing happens)
* Recloning the repo and setting up the project again (same thing happens)
* Changing the VM options as described here: https://stackoverflow.
com/questions/39640433/android-studio-2-x-building-symbols-forever (same
thing happens)
I was attempting to convert the Android.mk file to a CMakeList.txt file,
but ran into so many issues that I gave up on that task for now.
This appears to be a new issue - has anyone else seen this, and does
anyone else have any ideas how to go about fixing this (or is it an Android
Studio bug)? I am starting to go mad.
Cheers in advance
--
You received this message because you are subscribed to the Google Groups
"android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send an
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit https://groups.google.com/d/
msgid/android-ndk/9d0e0639-3286-411c-87e2-d328977eb447%40googlegroups.com
<https://groups.google.com/d/msgid/android-ndk/9d0e0639-3286-411c-87e2-d328977eb447%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-ndk+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-ndk/CACaNmX1m%2BStS%2B8JELyFO8kyZcrRr7hws6w2TgeqSbX13asHkZQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
龚泽龙
2018-04-17 07:14:52 UTC
Permalink
I encounter the same issue when using Android Studio 3.1.1.
It takes a long time Updating indices- building symbols.
I had to wait for almost 10 minutes.
--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-ndk+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-ndk/db294ecf-a282-4e1b-b789-7ba3a40080b2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...