当前位置:编程学习 > wap >>

安卓最新开发工具安装—Android Studio

按照Android开发者网站指导具体安装在Ubuntu 11.10下,执行studio.sh后,遇到下列问题,求解!
~/Android_studio/android-studio/bin$ sh studio.sh Java HotSpot(TM) 64-Bit Server VM (build 20.6-b01, mixed mode)
[   2416]   WARN - plication.impl.ApplicationImpl -  
java.lang.NullPointerException
at java.io.File.<init>(File.java:222)
at com.android.tools.idea.startup.AndroidStudioSpecificInitializer.getSubFolders(AndroidStudioSpecificInitializer.java:302)
at com.android.tools.idea.startup.AndroidStudioSpecificInitializer.getJdkHome(AndroidStudioSpecificInitializer.java:252)
at com.android.tools.idea.startup.AndroidStudioSpecificInitializer.setupSdks(AndroidStudioSpecificInitializer.java:87)
at com.android.tools.idea.startup.AndroidStudioSpecificInitializer.run(AndroidStudioSpecificInitializer.java:62)
at com.android.tools.idea.AndroidInitialConfigurator.activateAndroidStudioInitializerExtensions(AndroidInitialConfigurator.java:115)
at com.android.tools.idea.AndroidInitialConfigurator.<init>(AndroidInitialConfigurator.java:54)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at org.picocontainer.defaults.InstantiatingComponentAdapter.newInstance(InstantiatingComponentAdapter.java:193)
at org.picocontainer.defaults.ConstructorInjectionComponentAdapter$1.run(ConstructorInjectionComponentAdapter.java:220)
at org.picocontainer.defaults.ThreadLocalCyclicDependencyGuard.observe(ThreadLocalCyclicDependencyGuard.java:53)
at org.picocontainer.defaults.ConstructorInjectionComponentAdapter.getComponentInstance(ConstructorInjectionComponentAdapter.java:248)
at org.picocontainer.defaults.DecoratingComponentAdapter.getComponentInstance(DecoratingComponentAdapter.java:60)
at org.picocontainer.defaults.CachingComponentAdapter.getComponentInstance(CachingComponentAdapter.java:58)
at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter$1.getComponentInstance(ComponentManagerImpl.java:575)
at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter.getComponentInstance(ComponentManagerImpl.java:633)
at com.intellij.util.pico.DefaultPicoContainer.getLocalInstance(DefaultPicoContainer.java:241)
at com.intellij.util.pico.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:228)
at com.intellij.util.pico.DefaultPicoContainer.getComponentInstance(DefaultPicoContainer.java:215)
at org.picocontainer.alternatives.AbstractDelegatingMutablePicoContainer.getComponentInstance(AbstractDelegatingMutablePicoContainer.java:75)
at com.intellij.openapi.components.impl.ComponentManagerImpl.createComponent(ComponentManagerImpl.java:131)
at com.intellij.openapi.application.impl.ApplicationImpl.createComponent(ApplicationImpl.java:416)
at com.intellij.openapi.components.impl.ComponentManagerImpl.createComponents(ComponentManagerImpl.java:112)
at com.intellij.openapi.components.impl.ComponentManagerImpl.initComponents(ComponentManagerImpl.java:357)
at com.intellij.openapi.components.impl.stores.ApplicationStoreImpl.load(ApplicationStoreImpl.java:87)
at com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:548)
at com.intellij.idea.IdeaApplication.run(IdeaApplication.java:143)
at com.intellij.idea.MainImpl$1.run(MainImpl.java:87)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:646)
at java.awt.EventQueue.access$000(EventQueue.java:84)
at java.awt.EventQueue$1.run(EventQueue.java:607)
at java.awt.EventQueue$1.run(EventQueue.java:605)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:616)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:700)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:525)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:348)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Android 最新 开发工具 Android Studio --------------------编程问答-------------------- lz真潮啊,
刚发布就试了
帮顶 --------------------编程问答-------------------- 预览版,还不敢用,嘿嘿 --------------------编程问答-------------------- 安装下openjava jdk就好了  --------------------编程问答-------------------- win8可以用啊,感觉还行吧 --------------------编程问答-------------------- WinXp sp3 安装成功,感觉有点慢 --------------------编程问答-------------------- 刚安装试了下,感觉一般啊,挺难用的,等待正式版发布 --------------------编程问答--------------------
引用 5 楼 rouqing 的回复:
WinXp sp3 安装成功,感觉有点慢

我的xp安装没有运行成功 --------------------编程问答--------------------
引用 7 楼 f839903061 的回复:
Quote: 引用 5 楼 rouqing 的回复:

WinXp sp3 安装成功,感觉有点慢

我的xp安装没有运行成功

我的XP跑起来没任何问题 --------------------编程问答--------------------
引用 7 楼 f839903061 的回复:
Quote: 引用 5 楼 rouqing 的回复:

WinXp sp3 安装成功,感觉有点慢

我的xp安装没有运行成功


Win7 下参考
http://blog.sina.com.cn/s/blog_4fcc6ef20100vzo3.html

WinXp sp3 

安装最新 jdk-7u21-windows-i586.exe

环境变量新增JDK_HOME
值为 C:\Program Files\Java\jdk1.7.0_21
我安装的路径

Win32系统把D:\Program Files\Android\android-studio\bin下的studio.bat文件
28行改为:
IF EXIST "%JRE%\lib\i386" SET BITS=64 

ok --------------------编程问答-------------------- 帖主,你的ubuntu 版的安装好了吗?
能不能将安装方法写个博客贴出来看看

谢谢! --------------------编程问答--------------------
引用 9 楼 rouqing 的回复:
Quote: 引用 7 楼 f839903061 的回复:

Quote: 引用 5 楼 rouqing 的回复:

WinXp sp3 安装成功,感觉有点慢

我的xp安装没有运行成功


Win7 下参考
http://blog.sina.com.cn/s/blog_4fcc6ef20100vzo3.html

WinXp sp3 

安装最新 jdk-7u21-windows-i586.exe

环境变量新增JDK_HOME
值为 C:\Program Files\Java\jdk1.7.0_21
我安装的路径

Win32系统把D:\Program Files\Android\android-studio\bin下的studio.bat文件
28行改为:
IF EXIST "%JRE%\lib\i386" SET BITS=64 

ok


谢谢,刚才解决! --------------------编程问答-------------------- 版主我的ubuntu 版的也弄好了
解决办法:http://goo.gl/sfOUv --------------------编程问答-------------------- --------------------编程问答-------------------- 我XP 怎么不行?? --------------------编程问答-------------------- --------------------编程问答-------------------- 为啥要用最新的?能开发不就行了么 --------------------编程问答-------------------- 对我有用,正在研究 --------------------编程问答-------------------- 对我有用,正在研究为啥要用最新的?能开发不就行了么 --------------------编程问答-------------------- 这玩意儿是干嘛的 --------------------编程问答-------------------- 正在安装中。。。。
补充:移动开发 ,  Android
CopyRight © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,