gpt4 book ai didi

android - 在 Ubuntu : Unable to run mksdcard SDK tool 中安装 Android Studio

转载 作者:搜寻专家 更新时间:2023-11-01 08:37:34 27 4
gpt4 key购买 nike

我正在 Ubuntu 中设置 Android Studio,我尝试安装 google 提到的用于 64 位操作系统的软件包

sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install libncurses5:i386 libstdc++6:i386 zlib1g:i386

但仍然无法正常工作并显示此错误: enter image description here

这是终端日志:

~/AndroidStudio/bin$ sh ./studio.sh
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=350m; support was removed in 8.0
[ 2252] WARN - api.vfs.impl.local.FileWatcher - Native file watcher is not executable: <a href="/home/ahmed/AndroidStudio/bin/fsnotifier64">/home/ahmed/AndroidStudio/bin/fsnotifier64</a>
[ 7618] WARN - dea.updater.SdkComponentSource - Couldn't find existing SDK
[ 72252] ERROR - ard.ConsolidatedProgressStep$1 - Unable to run mksdcard SDK tool.
com.android.tools.idea.welcome.install.WizardException: Unable to run mksdcard SDK tool.
at com.android.tools.idea.welcome.install.CheckSdkOperation.perform(CheckSdkOperation.java:128)
at com.android.tools.idea.welcome.install.CheckSdkOperation.perform(CheckSdkOperation.java:40)
at com.android.tools.idea.welcome.install.InstallOperation.execute(InstallOperation.java:68)
at com.android.tools.idea.welcome.install.InstallOperation$OperationChain.perform(InstallOperation.java:151)
at com.android.tools.idea.welcome.install.InstallOperation.execute(InstallOperation.java:68)
at com.android.tools.idea.welcome.install.InstallOperation$OperationChain.perform(InstallOperation.java:149)
at com.android.tools.idea.welcome.install.InstallOperation.execute(InstallOperation.java:68)
at com.android.tools.idea.welcome.install.InstallOperation$OperationChain.perform(InstallOperation.java:149)
at com.android.tools.idea.welcome.install.InstallOperation.execute(InstallOperation.java:68)
at com.android.tools.idea.welcome.install.InstallOperation$OperationChain.perform(InstallOperation.java:149)
at com.android.tools.idea.welcome.install.InstallOperation.execute(InstallOperation.java:68)
at com.android.tools.idea.welcome.wizard.InstallComponentsPath.runLongOperation(InstallComponentsPath.java:297)
at com.android.tools.idea.welcome.wizard.ConsolidatedProgressStep.doLongRunningOperation(ConsolidatedProgressStep.java:78)
at com.android.tools.idea.welcome.wizard.ConsolidatedProgressStep.access$000(ConsolidatedProgressStep.java:32)
at com.android.tools.idea.welcome.wizard.ConsolidatedProgressStep$1.run(ConsolidatedProgressStep.java:58)
at com.android.tools.idea.welcome.wizard.FirstRunWizardHost$LongRunningOperationWrapper.run(FirstRunWizardHost.java:434)
at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:563)
at com.intellij.openapi.progress.impl.CoreProgressManager$2.run(CoreProgressManager.java:152)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:452)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:402)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:137)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$1.run(ProgressManagerImpl.java:126)
at com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:400)
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:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
at org.jetbrains.ide.PooledThreadExecutor$1$1.run(PooledThreadExecutor.java:56)
[ 72254] ERROR - ard.ConsolidatedProgressStep$1 - Android Studio 1.5.1 Build #AI-141.2456560
[ 72255] ERROR - ard.ConsolidatedProgressStep$1 - JDK: 1.8.0_72
[ 72255] ERROR - ard.ConsolidatedProgressStep$1 - VM: Java HotSpot(TM) 64-Bit Server VM
[ 72255] ERROR - ard.ConsolidatedProgressStep$1 - Vendor: Oracle Corporation
[ 72255] ERROR - ard.ConsolidatedProgressStep$1 - OS: Linux
[ 72255] ERROR - ard.ConsolidatedProgressStep$1 - Last Action:

如何解决?谢谢!

最佳答案

就用

sudo apt-get install lib32stdc++6

这让我的排序。

关于android - 在 Ubuntu : Unable to run mksdcard SDK tool 中安装 Android Studio,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35555319/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com