2 Replies - 547 Views - Last Post: 06 April 2019 - 04:31 AM

#1 Yambee   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 5
  • Joined: 22-March 19

Can't create virtual device in Android Studio

Posted 23 March 2019 - 08:49 PM

I need some help setting up my virtual device in Android Studio (on Xubuntu).

When I try setting it up, I get...

"An error occurred while creating the AVD. See idea.log for details."

Long story short, where is the error in my log?

I've searched for various things on the net but I still can't work out whether it's a Java problem, a problem setting up the SD card, something that must not return null or some other problem.

Basically I'm stuck, so if anyone could point me in the right direction that would be great.

Here's my log (and yes I saw the errors at the end of the log but I still can't work it out)...

2019-03-24 14:31:32,779 [ain Thread] INFO - #com.intellij.idea.Main - ------------------------------------------------------ IDE STARTED ------------------------------------------------------
2019-03-24 14:31:32,796 [.0_201-b09] INFO - #com.intellij.idea.Main - IDE: Android Studio (build #AI-182.5107.16.33.5314842, 16 Feb 2019 10:32)
2019-03-24 14:31:32,796 [.0_201-b09] INFO - #com.intellij.idea.Main - OS: Linux (4.15.0-46-generic, i386)
2019-03-24 14:31:32,796 [.0_201-b09] INFO - #com.intellij.idea.Main - JRE: 1.8.0_201-b09 (Oracle Corporation)
2019-03-24 14:31:32,796 [.0_201-b09] INFO - #com.intellij.idea.Main - JVM: 25.201-b09 (Java HotSpot™ Server VM)
2019-03-24 14:31:32,796 [.0_201-b09] INFO - #com.intellij.idea.Main - JVM Args: -Xms256m -Xmx768m -XX:ReservedCodeCacheSize=240m -XX:+UseConcMarkSweepGC -XX:SoftRefLRUPolicyMSPerMB=50 -Dsun.io.useCanonCaches=false -Djava.net.preferIPv4Stack=true -Djdk.http.auth.tunneling.disabledSchemes="" -Djna.nosys=true -Djna.boot.library.path= -da -Dawt.useSystemAAFontSettings=lcd -Dsun.java2d.renderer=sun.java2d.marlin.MarlinRenderingEngine -XX:ErrorFile=/home/user/java_error_in_STUDIO_%p.log -XX:HeapDumpPath=/home/user/java_error_in_STUDIO.hprof -Didea.paths.selector=AndroidStudio3.3 -Djb.vmOptionsFile=/home/user/android-studio/bin/studio.vmoptions,/home/user/.AndroidStudio3.3/config/studio.vmoptions -Didea.platform.prefix=AndroidStudio -Didea.jre.check=true
2019-03-24 14:31:32,796 [.0_201-b09] INFO - #com.intellij.idea.Main - ext: /usr/lib/jvm/java-8-oracle/jre/lib/ext: [meta-index, cldrdata.jar, dnsns.jar, localedata.jar, zipfs.jar, sunpkcs11.jar, nashorn.jar, sunec.jar, jaccess.jar, sunjce_provider.jar, jfxrt.jar]
2019-03-24 14:31:32,796 [.0_201-b09] INFO - #com.intellij.idea.Main - charsets: JNU=UTF-8 file=UTF-8
2019-03-24 14:31:32,807 [.0_201-b09] INFO - #com.intellij.idea.Main - JNA library (32-bit) loaded in 11 ms
2019-03-24 14:31:32,960 [.0_201-b09] INFO - #com.intellij.util.ui.JBUI - System scale factor: 1.0 (IDE-managed HiDPI)
2019-03-24 14:31:32,960 [.0_201-b09] INFO - #com.intellij.util.ui.JBUI - User scale factor: 1.0
2019-03-24 14:31:33,032 [entQueue-0] INFO - .intellij.idea.IdeaApplication - CPU cores: 8; ForkJoinPool.commonPool: [email protected][Running, parallelism = 7, size = 0, active = 0, running = 0, steals = 0, tasks = 0, submissions = 0]; factory: [email protected]
2019-03-24 14:31:33,060 [entQueue-0] INFO - .intellij.idea.IdeaApplication - WM detected: Xfwm4
2019-03-24 14:31:33,463 [entQueue-0] INFO - llij.ide.plugins.PluginManager - Cannot find optional descriptor duplicates-groovy.xml
2019-03-24 14:31:33,890 [entQueue-0] INFO - llij.ide.plugins.PluginManager - 38 plugins initialized in 706 ms
2019-03-24 14:31:33,890 [entQueue-0] INFO - llij.ide.plugins.PluginManager - Loaded bundled plugins: Android APK Support (1.0), Android Games (1.0), Android NDK Support (1.0), Android Support (10.3.3.2), App Links Assistant (0.1), CVS Integration (11), Copyright (8.1), Coverage (182.5107.16.33.5314842), EditorConfig (182.5107.16.33.5314842), Firebase App Indexing (0.1), Firebase Services (0.1), Firebase Testing (1.0), Git Integration (8.1), GitHub (182.5107.16.33.5314842), Google Cloud Tools Core (0.2.8), Google Cloud Tools For Android Studio (0.2.8), Google Developers Samples (0.3.1), Google Login (1.0), Google Services (0.1), Gradle (182.5107.16.33.5314842), Groovy (9.0), I18n for Java (182.5107.16.33.5314842), IDEA CORE (182.5107.16.33.5314842), IntelliLang (8.0), JUnit (1.0), Java Bytecode Decompiler (182.5107.16.33.5314842), Java Stream Debugger (182.5107.16.33.5314842), Kotlin (1.3.21-release-Studio3.3-1), Mercurial Integration (10.0), Properties Support (182.5107.16.33.5314842), Settings Repository (182.5107.16.33.5314842), Smali Support (1.0), Subversion Integration (1.1), Task Management (1.0), Terminal (0.1), Test Recorder (1.0), TestNG-J (8.0), YAML (182.5107.16.33.5314842)
2019-03-24 14:31:34,556 [entQueue-0] INFO - ellij.util.io.PagedFileStorage - lower=100; upper=200; buffer=10; max=722
2019-03-24 14:31:34,601 [entQueue-0] INFO - pl.local.NativeFileWatcherImpl - Starting file watcher: /home/user/android-studio/bin/fsnotifier
2019-03-24 14:31:34,609 [entQueue-0] INFO - pl.local.NativeFileWatcherImpl - Native file watcher is operational.
2019-03-24 14:31:34,738 [entQueue-0] INFO - tellij.openapi.util.Iconloader - replace '/nodes/newFolder.png' with 'AllIcons.Nodes.Folder'
2019-03-24 14:31:35,029 [entQueue-0] WARN - nSystem.impl.ActionManagerImpl - keymap "Xcode" not found [Plugin: com.android.tools.ndk]
2019-03-24 14:31:35,030 [entQueue-0] WARN - nSystem.impl.ActionManagerImpl - keymap "Xcode" not found [Plugin: com.android.tools.ndk]
2019-03-24 14:31:35,030 [entQueue-0] WARN - nSystem.impl.ActionManagerImpl - keymap "Xcode" not found [Plugin: com.android.tools.ndk]
2019-03-24 14:31:35,255 [.0_201-b09] INFO - j.ide.ui.OptionstopHitProvider - 159 ms spent to cache options in application
2019-03-24 14:31:35,255 [entQueue-0] INFO - til.net.ssl.CertificateManager - Default SSL context initialized
2019-03-24 14:31:35,255 [.0_201-b09] INFO - .openapi.application.Preloader - com.intellij.ide.ui.OptionstopHitProvider$Activity took 159 ms
2019-03-24 14:31:35,268 [d thread 3] INFO - rains.ide.BuiltInServerManager - built-in server started, port 63342
2019-03-24 14:31:35,301 [entQueue-0] INFO - gs.impl.UpdateCheckerComponent - channel: release
2019-03-24 14:31:35,405 [entQueue-0] INFO - il.indexing.FileBasedIndexImpl - Index exts enumerated:73, number of extensions:40
2019-03-24 14:31:35,561 [entQueue-0] INFO - il.indexing.FileBasedIndexImpl - Index scheduled:156
2019-03-24 14:31:35,598 [entQueue-0] INFO - tellij.psi.stubs.StubIndexImpl - All stub exts enumerated:30, number of extensions:50
2019-03-24 14:31:35,598 [entQueue-0] INFO - tellij.psi.stubs.StubIndexImpl - stub exts update scheduled:0
2019-03-24 14:31:36,119 [entQueue-0] INFO - ellij.project.impl.ProjectImpl - 19 project components initialized in 329 ms
2019-03-24 14:31:36,568 [d thread 4] WARN - StatisticsPersistenceComponent - Unable to get current time from Google's servers, using local system time instead.
2019-03-24 14:31:36,662 [cture Pool] INFO - pl$FileIndexDataInitialization - Initialization done:1100
2019-03-24 14:31:36,685 [entQueue-0] INFO - com.intellij.ide.ui.UISettings - Loaded: fontSize=12, fontScale=1.0; restored: fontSize=12, fontScale=1.0
2019-03-24 14:31:36,688 [cture Pool] INFO - exImpl$StubIndexInitialization - Initialization done:26
2019-03-24 14:31:37,568 [entQueue-0] INFO - plication.impl.ApplicationImpl - 90 application components initialized in 4387ms
2019-03-24 14:31:37,582 [entQueue-0] INFO - .intellij.idea.IdeaApplication - App initialization took 5206 ms
2019-03-24 14:31:37,630 [d thread 5] INFO - ateSettings.impl.UpdateChecker - dl.google.com
java.net.UnknownHostException: dl.google.com
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:666)
at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:463)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:558)
at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:264)
at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1199)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1050)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1564)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492)
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:347)
at com.intellij.util.io.HttpRequests.openConnection(HttpRequests.java:558)
at com.intellij.util.io.HttpRequests.access$300(HttpRequests.java:47)
at com.intellij.util.io.HttpRequests$RequestImpl.getConnection(HttpRequests.java:329)
at com.intellij.util.io.HttpRequests$RequestImpl.getInputStream(HttpRequests.java:338)
at com.intellij.util.io.HttpRequests$RequestImpl.getReader(HttpRequests.java:356)
at com.intellij.util.io.HttpRequests$RequestImpl.getReader(HttpRequests.java:349)
at com.intellij.openapi.updateSettings.impl.UpdateChecker$checkPlatformUpdate$1.process(UpdateChecker.kt:174)
at com.intellij.openapi.updateSettings.impl.UpdateChecker$checkPlatformUpdate$1.process(UpdateChecker.kt:53)
at com.intellij.util.io.HttpRequests.doProcess(HttpRequests.java:475)
at com.intellij.util.io.HttpRequests.process(HttpRequests.java:451)
at com.intellij.util.io.HttpRequests.access$100(HttpRequests.java:47)
at com.intellij.util.io.HttpRequests$RequestBuilderImpl.connect(HttpRequests.java:303)
at com.intellij.openapi.updateSettings.impl.UpdateChecker.checkPlatformUpdate(UpdateChecker.kt:171)
at com.intellij.openapi.updateSettings.impl.UpdateChecker.doUpdateAndShowResult(UpdateChecker.kt:122)
at com.intellij.openapi.updateSettings.impl.UpdateChecker.access$doUpdateAndShowResult(UpdateChecker.kt:53)
at com.intellij.openapi.updateSettings.impl.UpdateChecker$updateAndShowResult$1.run(UpdateChecker.kt:84)
at com.intellij.openapi.application.impl.ApplicationImpl$1.run(ApplicationImpl.java:314)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
2019-03-24 14:31:37,634 [d thread 5] INFO - ateSettings.impl.UpdateChecker - Connection failed (dl.google.com). Please check network connection and try again.
2019-03-24 14:31:37,814 [entQueue-0] INFO - m.intellij.ui.mac.touchbar.NST - OS doesn't support touchbar, skip nst loading
2019-03-24 14:31:38,059 [.0_201-b09] INFO - .openapi.application.Preloader - com.intellij.openapi.actionSystem.impl.ActionPreloader took 2801 ms
2019-03-24 14:31:38,223 [.0_201-b09] INFO - dk.ClangTidyInspectionProvider - The clang-tidy inspection is disabled.
2019-03-24 14:31:38,913 [d thread 5] INFO - ellij.project.impl.ProjectImpl - 158 project components initialized in 937 ms
2019-03-24 14:31:39,527 [.0_201-b09] INFO - .openapi.application.Preloader - com.intellij.ide.ui.search.SearchableOptionPreloader took 1468 ms
2019-03-24 14:31:39,635 [d thread 5] INFO - le.impl.ModuleManagerComponent - 2 module(s) loaded in 720 ms
2019-03-24 14:31:39,860 [d thread 3] INFO - j.ide.script.IdeStartupScripts - 0 startup script(s) found
2019-03-24 14:31:39,874 [.0_201-b09] INFO - .openapi.application.Preloader - com.intellij.codeInsight.completion.CompletionPreloader took 346 ms
2019-03-24 14:31:39,880 [.0_201-b09] INFO - .openapi.application.Preloader - com.intellij.ide.actions.GotoClassPresentationUpdater took 4 ms
2019-03-24 14:31:40,517 [entQueue-0] INFO - idea.project.IndexingSuspender - Subscribing project 'Project '/home/user/Desktop' Desktop' to indexing suspender events ([email protected])
2019-03-24 14:31:40,994 [d thread 3] INFO - .diagnostic.PerformanceWatcher - Pushing properties took 65ms; general responsiveness: ok; EDT responsiveness: ok
2019-03-24 14:31:41,504 [d thread 5] INFO - ge.ExternalProjectsDataStorage - Loaded external projects data in 573 millis
2019-03-24 14:31:41,544 [d thread 5] INFO - tartup.impl.StartupManagerImpl - ExternalSystemStartupActivity run in 629ms under project opening modal progress
2019-03-24 14:31:42,686 [d thread 5] INFO - tartup.impl.StartupManagerImpl - OpenFilesActivity run in 1096ms under project opening modal progress
2019-03-24 14:31:42,689 [d thread 5] INFO - .diagnostic.PerformanceWatcher - Post-startup activities under progress took 1831ms; general responsiveness: ok; EDT responsiveness: 0/2 sluggish, 1/2 very slow
2019-03-24 14:31:43,848 [entQueue-0] INFO - j.ide.ui.OptionstopHitProvider - 280 ms spent on EDT to cache options in application
2019-03-24 14:31:43,937 [entQueue-0] INFO - tartup.impl.StartupManagerImpl - /home/user/Desktop/.idea case-sensitivity: expected=true actual=true
2019-03-24 14:31:43,948 [d thread 6] INFO - pl.projectlevelman.NewMappings - VCS Root: [] - [<Project>]
2019-03-24 14:31:44,172 [entQueue-0] INFO - tor.impl.FileEditorManagerImpl - Project opening took 6257 ms
2019-03-24 14:31:44,699 [d thread 3] INFO - .diagnostic.PerformanceWatcher - Indexable file iteration took 3703ms; general responsiveness: ok; EDT responsiveness: 1/4 sluggish, 1/4 very slow
2019-03-24 14:31:44,721 [d thread 3] INFO - #com.jetbrains.cidr.lang - Clearing symbols finished in 8 ms
2019-03-24 14:31:44,728 [d thread 3] INFO - #com.jetbrains.cidr.lang - Building symbols in FAST mode, 0 source files from total 0 project files
2019-03-24 14:31:44,898 [d thread 3] INFO - #com.jetbrains.cidr.lang - Loading symbols finished in 177 ms
2019-03-24 14:31:44,903 [d thread 3] INFO - #com.jetbrains.cidr.lang - Loading Header Maps finished in 4 ms
2019-03-24 14:31:44,921 [d thread 3] INFO - #com.jetbrains.cidr.lang - Loading Module Maps finished in 17 ms
2019-03-24 14:31:44,925 [d thread 3] INFO - #com.jetbrains.cidr.lang - Saving Module Maps finished in 2 ms
2019-03-24 14:31:44,925 [d thread 3] INFO - #com.jetbrains.cidr.lang - Loaded 0 tables for 0 files (0 project files)
2019-03-24 14:31:44,925 [d thread 3] INFO - #com.jetbrains.cidr.lang - Building symbols for 0 source files
2019-03-24 14:31:44,933 [d thread 3] INFO - #com.jetbrains.cidr.lang - Building symbols for 0 unused headers
2019-03-24 14:31:44,935 [d thread 3] INFO - #com.jetbrains.cidr.lang - Building symbols finished in 10 ms
2019-03-24 14:31:44,936 [d thread 3] INFO - #com.jetbrains.cidr.lang - Saving modified symbols for 0 files (0 tables of total 0)
2019-03-24 14:31:44,939 [d thread 3] INFO - #com.jetbrains.cidr.lang - Saving symbols finished in 3 ms
2019-03-24 14:31:45,062 [entQueue-0] INFO - j.ide.ui.OptionstopHitProvider - 104 ms spent to cache options in project
2019-03-24 14:31:45,062 [entQueue-0] INFO - tartup.impl.StartupManagerImpl - Some post-startup activities freeze UI for noticeable time. Please consider making them DumbAware to do them in background under modal progress, or just making them faster to speed up project opening.
2019-03-24 14:31:45,062 [entQueue-0] INFO - tartup.impl.StartupManagerImpl - Activity run in 104ms on UI thread
2019-03-24 14:31:45,069 [d thread 3] INFO - dvertisement.PluginsAdvertiser - plugins.jetbrains.com
java.net.UnknownHostException: plugins.jetbrains.com
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:666)
at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:463)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:558)
at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:264)
at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1199)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1050)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1564)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492)
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:347)
at com.intellij.util.io.HttpRequests.openConnection(HttpRequests.java:558)
at com.intellij.util.io.HttpRequests.access$300(HttpRequests.java:47)
at com.intellij.util.io.HttpRequests$RequestImpl.getConnection(HttpRequests.java:329)
at com.intellij.ide.plugins.RepositoryHelper.lambda$loadPlugins$1(RepositoryHelper.java:134)
at com.intellij.util.io.HttpRequests.doProcess(HttpRequests.java:475)
at com.intellij.util.io.HttpRequests.process(HttpRequests.java:451)
at com.intellij.util.io.HttpRequests.access$100(HttpRequests.java:47)
at com.intellij.util.io.HttpRequests$RequestBuilderImpl.connect(HttpRequests.java:303)
at com.intellij.ide.plugins.RepositoryHelper.loadPlugins(RepositoryHelper.java:129)
at com.intellij.ide.plugins.RepositoryHelper.loadPlugins(RepositoryHelper.java:93)
at com.intellij.ide.plugins.RepositoryHelper.loadPlugins(RepositoryHelper.java:84)
at com.intellij.ide.plugins.RepositoryHelper.loadPluginsFromAllRepositories(RepositoryHelper.java:64)
at com.intellij.openapi.updateSettings.impl.pluginsAdvertisement.PluginsAdvertiser$4.run(PluginsAdvertiser.java:301)
at com.intellij.openapi.application.impl.ApplicationImpl$1.run(ApplicationImpl.java:314)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
2019-03-24 14:31:45,328 [entQueue-0] INFO - tartup.impl.StartupManagerImpl - CreateKotlinSdkActivity run in 113ms on UI thread
2019-03-24 14:31:45,332 [entQueue-0] INFO - idea.project.IndexingSuspender - Consuming IndexingSuspender activation event: SYNC_TASK_CREATED
2019-03-24 14:31:45,484 [entQueue-0] INFO - j.ide.ui.OptionstopHitProvider - 104 ms spent on EDT to cache options in project
2019-03-24 14:31:45,497 [entQueue-0] INFO - e.project.sync.GradleSyncState - Started sync with Gradle for project 'Desktop'.
2019-03-24 14:31:45,534 [entQueue-0] INFO - idea.project.IndexingSuspender - Consuming IndexingSuspender activation event: SYNC_STARTED
2019-03-24 14:31:45,534 [entQueue-0] INFO - idea.project.IndexingSuspender - Starting batch update for project: Project '/home/user/Desktop' Desktop
2019-03-24 14:31:45,609 [entQueue-0] INFO - e.project.sync.GradleSyncState - Started setup of project 'Desktop'.
2019-03-24 14:31:45,609 [entQueue-0] INFO - idea.project.IndexingSuspender - Consuming IndexingSuspender activation event: SETUP_STARTED
2019-03-24 14:31:46,409 [d thread 7] INFO - etup.post.PluginVersionUpgrade - Gradle model version: 3.3.0, recommended version for IDE: 3.3.2
2019-03-24 14:31:46,422 [d thread 7] INFO - e.project.sync.GradleSyncState - Gradle sync finished in 924 ms (from cached state)
2019-03-24 14:31:46,613 [entQueue-0] INFO - idea.project.IndexingSuspender - Consuming IndexingSuspender deactivation event: SYNC_FINISHED
2019-03-24 14:31:46,613 [entQueue-0] INFO - idea.project.IndexingSuspender - Finishing batch update for project: Project '/home/user/Desktop' Desktop
2019-03-24 14:31:46,668 [cessToken]] INFO - pl.ProjectRootManagerComponent - project roots have changed
2019-03-24 14:31:46,690 [d thread 3] INFO - roid.tools.ndk.GradleWorkspace - Updating model took 0.0s
2019-03-24 14:31:46,700 [entQueue-0] INFO - idea.project.IndexingSuspender - Consuming IndexingSuspender deactivation event: BUILD_FINISHED
2019-03-24 14:31:46,700 [entQueue-0] INFO - idea.project.IndexingSuspender - IndexingSuspender deactivation event received and ignored: BUILD_FINISHED
2019-03-24 14:31:46,785 [d thread 6] INFO - .diagnostic.PerformanceWatcher - Pushing properties took 48ms; general responsiveness: ok; EDT responsiveness: ok
2019-03-24 14:31:46,888 [d thread 6] INFO - .diagnostic.PerformanceWatcher - Indexable file iteration took 103ms; general responsiveness: ok; EDT responsiveness: ok
2019-03-24 14:31:46,889 [d thread 6] INFO - indexing.UnindexedFilesUpdater - Unindexed files update started: 1 files to update
2019-03-24 14:31:46,976 [d thread 6] INFO - .diagnostic.PerformanceWatcher - Unindexed files update took 87ms; general responsiveness: ok; EDT responsiveness: ok
2019-03-24 14:31:47,410 [d thread 7] INFO - CompilerWorkspaceConfiguration - Available processors: 8
2019-03-24 14:32:05,958 [d thread 4] INFO - s.RepoProgressIndicatorAdapter - File /home/user/.android/repositories.cfg could not be loaded.
2019-03-24 14:32:05,959 [d thread 4] INFO - s.RepoProgressIndicatorAdapter - Downloading https://dl.google.co...dons_list-3.xml
2019-03-24 14:32:05,962 [d thread 4] WARN - s.RepoProgressIndicatorAdapter - Failed to connect to host: https://dl.google.co...dons_list-3.xml
2019-03-24 14:32:05,962 [d thread 4] INFO - s.RepoProgressIndicatorAdapter - Downloading https://dl.google.co...dons_list-2.xml
2019-03-24 14:32:05,963 [d thread 4] WARN - s.RepoProgressIndicatorAdapter - Failed to connect to host: https://dl.google.co...dons_list-2.xml
2019-03-24 14:32:05,963 [d thread 4] INFO - s.RepoProgressIndicatorAdapter - Downloading https://dl.google.co...dons_list-1.xml
2019-03-24 14:32:05,963 [d thread 4] WARN - s.RepoProgressIndicatorAdapter - Failed to connect to host: https://dl.google.co...dons_list-1.xml
2019-03-24 14:32:05,963 [d thread 4] WARN - s.RepoProgressIndicatorAdapter - Failed to download any source lists!
2019-03-24 14:32:05,965 [7-thread-2] INFO - s.RepoProgressIndicatorAdapter - Downloading https://dl.google.co...pository2-1.xml
2019-03-24 14:32:05,965 [7-thread-1] INFO - s.RepoProgressIndicatorAdapter - Downloading file:/home/user/android-studio/plugins/sdk-updates/offline-repo/offline-repo.xml
2019-03-24 14:32:05,969 [7-thread-2] WARN - s.RepoProgressIndicatorAdapter - IO exception while downloading manifest
java.net.UnknownHostException: dl.google.com
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:666)
at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:463)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:558)
at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:264)
at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1199)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1050)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1564)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492)
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:347)
at com.intellij.util.io.HttpRequests.openConnection(HttpRequests.java:558)
at com.intellij.util.io.HttpRequests.access$300(HttpRequests.java:47)
at com.intellij.util.io.HttpRequests$RequestImpl.getConnection(HttpRequests.java:329)
at com.android.tools.idea.sdk.StudioDownloader.lambda$doDownloadFully$1(StudioDownloader.java:140)
at com.intellij.util.io.HttpRequests.doProcess(HttpRequests.java:475)
at com.intellij.util.io.HttpRequests.process(HttpRequests.java:451)
at com.intellij.util.io.HttpRequests.access$100(HttpRequests.java:47)
at com.intellij.util.io.HttpRequests$RequestBuilderImpl.connect(HttpRequests.java:303)
at com.android.tools.idea.sdk.StudioDownloader.doDownloadFully(StudioDownloader.java:139)
at com.android.tools.idea.sdk.StudioDownloader.downloadFully(StudioDownloader.java:99)
at com.android.tools.idea.sdk.StudioDownloader.downloadFully(StudioDownloader.java:154)
at com.android.tools.idea.sdk.StudioDownloader.downloadAndStream(StudioDownloader.java:89)
at com.android.repository.impl.manager.RemoteRepoLoaderImpl.lambda$fetchPackages$0(RemoteRepoLoaderImpl.java:139)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
2019-03-24 14:32:19,125 [d thread 7] WARN - vdmanager.AvdManagerConnection - /home/user/Android/Sdk/emulator/mksdcard: 1: /home/user/Android/Sdk/emulator/mksdcard: Syntax error: Unterminated quoted string
2019-03-24 14:32:19,125 [d thread 7] WARN - vdmanager.AvdManagerConnection - Failed to create the SD card.
2019-03-24 14:32:19,125 [d thread 7] WARN - vdmanager.AvdManagerConnection - Failed to create sdcard in the AVD folder.
2019-03-24 14:32:21,125 [entQueue-0] ERROR - llij.ide.plugins.PluginManager - @NotNull method com/android/tools/idea/avdmanager/AvdOptionsModel.getCreatedAvd must not return null
java.lang.IllegalStateException: @NotNull method com/android/tools/idea/avdmanager/AvdOptionsModel.getCreatedAvd must not return null
at com.android.tools.idea.avdmanager.AvdOptionsModel.$$$reportNull$$$0(AvdOptionsModel.java)
at com.android.tools.idea.avdmanager.AvdOptionsModel.getCreatedAvd(AvdOptionsModel.java:796)
at com.android.tools.idea.avdmanager.CreateAvdAction.actionPerformed(CreateAvdAction.java:44)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
at java.awt.Component.processMouseEvent(Component.java:6539)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6304)
at java.awt.Container.processEvent(Container.java:2239)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2297)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
at java.awt.Container.dispatchEventImpl(Container.java:2283)
at java.awt.window.dispatchEventImpl(window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:84)
at java.awt.EventQueue$4.run(EventQueue.java:733)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:817)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:754)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:394)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
2019-03-24 14:32:21,126 [entQueue-0] ERROR - llij.ide.plugins.PluginManager - Android Studio 3.3.2 Build #AI-182.5107.16.33.5314842
2019-03-24 14:32:21,126 [entQueue-0] ERROR - llij.ide.plugins.PluginManager - JDK: 1.8.0_201
2019-03-24 14:32:21,126 [entQueue-0] ERROR - llij.ide.plugins.PluginManager - VM: Java HotSpot™ Server VM
2019-03-24 14:32:21,126 [entQueue-0] ERROR - llij.ide.plugins.PluginManager - Vendor: Oracle Corporation
2019-03-24 14:32:21,126 [entQueue-0] ERROR - llij.ide.plugins.PluginManager - OS: Linux
2019-03-24 14:32:21,126 [entQueue-0] ERROR - llij.ide.plugins.PluginManager - Last Action: Android.RunAndroidAvdManager

Is This A Good Question/Topic? 0
  • +

Replies To: Can't create virtual device in Android Studio

#2 modi123_1   User is online

  • Suitor #2
  • member icon



Reputation: 15359
  • View blog
  • Posts: 61,588
  • Joined: 12-June 08

Re: Can't create virtual device in Android Studio

Posted 24 March 2019 - 08:40 AM

A suggestion from a few years ago:

https://stackoverflo...g-nullpointerex
Was This Post Helpful? 0
  • +
  • -

#3 Yambee   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 5
  • Joined: 22-March 19

Re: Can't create virtual device in Android Studio

Posted 06 April 2019 - 04:31 AM

Sorry for the late reply.

Thanks for the tip!

But...

Long story short, after trying and I mean REALLY trying to get Android Studio to work (even with a physical testing device) all I got in return was the knowledge that this software is absolute rubbish. I ended up wasting so much time. I wouldn't recommend it to my worst enemy.

So, good riddance to Android Studio, problem solved.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1