For school assignment purposes, I have to work with Android Studio. I installed it preferably with the AS archive provided on the official website. I guess I’ve installed the required dependencies, the AS installation was OK (same for the SDK), but I encounter an error when trying to create the AVD.
Here is what idea.log tells me.
Code: Select all
2017-11-08 19:36:53,230 [6479300] WARN - vdmanager.AvdManagerConnection - Failed to create the SD card.
2017-11-08 19:36:53,231 [6479301] WARN - vdmanager.AvdManagerConnection - Failed to create sdcard in the AVD folder.
Code: Select all
sudo /usr/local/android-studio/bin/studio.sh
Password:
Looking in classpath from com.intellij.util.lang.UrlClassLoader@6d5380c2 for /com/sun/jna/linux-x86-64/libjnidispatch.so
Found library resource at jar:file:/usr/local/android-studio/lib/jna.jar!/com/sun/jna/linux-x86-64/libjnidispatch.so
Trying /root/.AndroidStudio2.3/system/tmp/jna2966690450378067686.tmp
Found jnidispatch at /root/.AndroidStudio2.3/system/tmp/jna2966690450378067686.tmp
Nov 09, 2017 12:07:51 PM java.util.prefs.FileSystemPreferences$1 run
INFO: Created user preferences directory.
Nov 09, 2017 12:07:51 PM java.util.prefs.FileSystemPreferences$6 run
WARNING: Prefs file removed in background /root/.java/.userPrefs/prefs.xml
[ 5135] WARN - dea.updater.SdkComponentSource - File /root/.android/repositories.cfg could not be loaded.
[ 5509] WARN - s.RepoProgressIndicatorAdapter - File /root/.android/repositories.cfg could not be loaded.
[ 8896] WARN - dea.updater.SdkComponentSource - java.io.FileNotFoundException: /tmp/StudioDownloadersys-img2-1.xml (No such file or directory)
Updater: uses bundled java.
Updater: java: /usr/local/android-studio/jre/jre copied to /root/.AndroidStudio2.3/system/restart/jre
Looking in classpath from sun.misc.Launcher$AppClassLoader@15db9742 for /com/sun/jna/linux-x86-64/libjnidispatch.so
Found library resource at jar:file:/usr/local/android-studio/lib/jna.jar!/com/sun/jna/linux-x86-64/libjnidispatch.so
Trying /tmp/jna-3506402/jna6660961181595254522.tmp
Found jnidispatch at /tmp/jna-3506402/jna6660961181595254522.tmp
Looking in classpath from sun.misc.Launcher$AppClassLoader@70dea4e for /com/sun/jna/linux-x86-64/libjnidispatch.so
Found library resource at jar:file:/tmp/jetbrains.patch.jar.androidstudio_copy_root!/com/sun/jna/linux-x86-64/libjnidispatch.so
Trying /tmp/jna-3506402/jna6066763618701288308.tmp
Found jnidispatch at /tmp/jna-3506402/jna6066763618701288308.tmp
Looking for library 'Rstrtmgr'
Adding paths from jna.library.path: null
Trying libRstrtmgr.so
Adding system paths: [/usr/lib64, /lib64, /usr/lib, /lib]
Trying libRstrtmgr.so
Looking for version variants
Looking in classpath from sun.misc.Launcher$AppClassLoader@70dea4e for Rstrtmgr
So, first of all, is there a way to safely remove the recent installation? Maybe I should also remove the 2.3.3 version, too, and restart from scratch? I thought that the original problem might be a lack of dependencies, even though I thought I had installed what was needed, but I may have missed something. Right now, what I worry about is this AS 3.0 installed in /root, where it should not be.