Stack Overflow
Questions

Tags

Users

Badges

Unanswered

Ask Question
Take the 2-minute tour × Stack Overflow is a question and answer site for professional and enthusiast programmers. It’s 100% free, no registration required.
Android Studio (IntelliJ) Error Message

up vote
3
down vote
favorite
After I have created a new project in the latest Android Studio (IntelliJ), I got an error message:

Moverover, how to bring out the UI in the Android studio (IntelliJ) which was previously in the Android Eclipse?
Gradle FirstApp project refresh failed:

Error: Unable to start the daemon process.

This problem might be caused by incorrect configuration of the daemon. For example, an unrecognized JVM option is used. Please refer to the user guide chapter on the daemon.

Please read the following process output to find out more:

21:05:33.924 [main] DEBUG o.g.l.daemon.bootstrap.DaemonMain - Assuming the daemon was started with following jvm opts: [-XX:MaxPermSize=256m, -XX:+HeapDumpOnOutOfMemoryError, -Xmx1024m, -Dfile.encoding=windows-1252, -Duser.country=NZ, -Duser.language=en, -Duser.variant]
FAILURE: Build failed with an exception.

What went wrong: Could not create service of type DaemonContext using DaemonServices.createDaemonContext().

Try: Run with –stacktrace option to get the stack trace. Run with –info or –debug option to get more log output. Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0

java android eclipse intellij-idea
shareimprove this question
edited Dec 20 ‘14 at 15:41

Anton Dozortsev
1,1921627
asked Dec 20 ‘14 at 8:10

dfefef
256

Restart Android Studio? (or IntellIJ IDEA, which one you use?) – Marco Acierno Dec 20 ‘14 at 15:43

I’ve restarted several times, problem still exist. The latest Android Studio uses IntelliJ, previous Android Studio was associated with Eclipse. – dfefef Dec 21 ‘14 at 1:36
add a comment
1 Answer
activeoldestvotes
up vote

***1down voteRight click on the Android Studio and run as administrator...I had the same problem after updating Android Studio and this problem was resolved by running the Android Studio with administrator privilege.*****《博主备注:解决办法已经出现:running the Android Studio with administrator privilege。运行android studio时右键以管理员身份运行,问题就解决了!》**

更多相关文章

  1. Android(安卓)HandlerThread
  2. xbmc for android 编译
  3. Android(安卓)flutter Json转Dart Model类
  4. Android(安卓)studio Dialog 弹出式对话框
  5. android 访问SQLite
  6. Android运行报错:Error: Static interface methods are only supp
  7. [原]运行编译好的Android模拟器
  8. Android(安卓)KITKAT 以上实现沉浸式状态栏
  9. 移动应用测试框架—Calabash Android(安卓)简介

随机推荐

  1. Android隐藏标题栏
  2. android adb命令安装和删除apk应用
  3. Android 接口定义语言AIdl
  4. Android Webview upload 图片上传
  5. [AndroidUI]使用DrawerLayout实现侧滑菜
  6. Android(安卓)在SQLite中存取二进制图片
  7. Android动画原理分析
  8. Android开发之 shape的使用
  9. Android(安卓)实现以太网口共享3G网卡连
  10. android全局异常检测并处理