Tag: android studio

无法下载和更新一些android sdk组件

我正在安装android studio但是在下载SDK组件时它失败并出现以下错误。 java.io.IOException: Cannot download ‘https://dl.google .com/android/repository/android_m2repository_r47.zip’: Read timed out , response: 200 OK Warning: An error occurred while preparing SDK package Android Support Repository: Cannot download ‘https://dl.google.com/android/repository/android_m2repository_r47.zip’: Read timed out , response: 200 OK.

Ubuntu 14 Android Studio 3 xrdp / dev / kvm权限被拒绝

我正在运行一个带有4个专用内核和4GB或内存的Ubuntu Server VPS lsb_release -a 说我在跑 Description: Ubuntu 14.04.5 LTS Codename: trusty 我安装了Android Studio 3.0.1我或多或少遵循本教程,只是得到了最新版本。 顺利安装。 然后我安装了xrdp和xfce4,我对远程连接没有任何问题 我从rdp中的提升终端窗口使用以下命令启动android studio sudo ~/bin/android-studio/bin/studio.sh 命令输出 Error parsing gtk-icon-sizes string: ” 但Android工作室运行良好,并允许我制作项目和代码,所以我尝试编译你好世界的应用程序,并在创建一个Android虚拟手机后试图运行ADV运行我得到以下错误 KVM is required to run this AVD. /dev/kvm device: permission denied Grant current user access to /dev/kvm 我跑了 usermod -aG kvm *username* usermod -aG libvirtd *username” adduser […]

此计算机上未安装KVM(缺少/ dev / kvm)

我正在使用Ubuntu 14.04。 我最近安装了Android Studio,但每当我尝试运行Hello World应用程序时,都会收到此错误: /home/praveen/Android/Sdk/tools/emulator -avd Nexus_6_API_21 -netspeed full -netdelay none emulator: ERROR: x86 emulation currently requires hardware acceleration! Please ensure KVM is properly installed and usable. CPU acceleration status: KVM is not installed on this machine (/dev/kvm is missing).

错误:android-studio-ide的校验和不匹配。 下载已损坏? 中止

超过三次: thufir@dur:~$ thufir@dur:~$ cat android Script started on 2017-10-26 05:49:38-0700 thufir@dur:~$ thufir@dur:~$ umake -v android android-studio –accept-license INFO: Logging level set to INFO INFO: Create a new apt cache INFO: clang isn’t installed INFO: openjdk-7-jdk isn’t installed INFO: openjdk-7-jdk isn’t installed INFO: Don’t register Eclipse ADT as it’s not installable on this configuration. INFO: Don’t […]

Gradle项目刷新失败 – Android Studio 2.2

我刚刚安装了Android Studio 2.2,从一开始我就收到了这个错误。 错误:进程’命令’/ usr / local / android-studio / jre / bin / java“以非零退出值2结束 我该如何解决这个错误?

无法在仿真器中的AVD中启动

大家好,我对Android Studio有疑问。 每当我想打开模拟器时,它都不起作用并说(或者你可以点击图片): Emulator: warning: host doesn’t support requested feature: CPUID.80000001H:ECX.sse4a [bit 6] 我无法解决这个问题。 我正在使用Ubuntu 16.04。 我已经安装了SDK,当然还有Android Studio。 谢谢你的回答。

android studio不会在ubuntu 14.04中启动

我想在ubuntu中安装android studio,但是当我执行studio.sh时,我收到以下错误: Unrecognized VM option ‘MaxPermSize=350m’ Error: Could not create the Java Virtual Machine. 我安装了java和jdk,我的JAVA_HOME: /usr/lib/jvm/jdk1.8.0_60/bin/ java -version输出: java版“1.9.0-ea”Java(TM)SE运行时环境(版本1.9.0-ea-b81)Java HotSpot(TM)64位服务器VM(版本1.9.0-ea-b81,混合模式)

Android开发需要将RAM从4GB升级到8GB吗?

我是一名Android开发人员,拥有4GB内存的笔记本电脑。 当我编译我的项目时,RAM的使用率为100%。 如果我添加更多RAM,它会解决问题吗?

VirtualBox错误内核头文件

我正在使用Ubuntu 15.04并且我正在尝试创建一个模拟器(genymotion),但是当运行virtualbox时,我收到了错误: 停止VirtualBox内核模块……完成。 卸载旧的VirtualBox DKMS内核模块……完成。 尝试使用DKMSError注册VirtualBox内核模块! 无法找到内核3.16.0-30-generic的内核头文件。 请安装linux-headers-3.16.0-30-generic软件包,或使用–kernelsourcedir选项告诉DKMS它位于何处……失败! (失败,没有DKMS尝试)重新编译VirtualBox内核模块……失败了! (查看/var/log/vbox-install.log以找出问题所在) 我表演了 uname -a 结果是: Linux道格拉斯3.16.0-30-通用#40-Ubuntu SMP周一1月12日22:06:37 UTC 2015 x86_64 x86_64 x86_64 GNU / Linux 有人帮帮我?我已经卸载并重新安装了。

Android Studio快捷方式无效

我在Ubuntu中使用Android Studio,一切正常。 由于快捷方式停止工作两周,因此按Ctrl + C , Ctrl + V , Ctrl + Z. 我尝试在Settings更改Keymap但没有成功。 可能是什么问题?