Click here to Skip to main content
15,885,365 members
Please Sign up or sign in to vote.
1.00/5 (4 votes)
See more:
I have latest version of Android Studio and JAVA. I have JDK version jdk1.7.0_79.I have 32-bit window 7 OS. I have this problem while opening android studio.

XML
Internal error. Please report to https://code.google.com/p/android/issues

java.lang.RuntimeException: java.lang.IllegalArgumentException: Argument for @NotNull parameter 'name' of com/android/tools/idea/welcome/Platform.<init> must not be null
    at com.intellij.idea.IdeaApplication.run(IdeaApplication.java:178)
    at com.intellij.idea.MainImpl$1$1$1.run(MainImpl.java:52)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
    at java.awt.EventQueue.access$200(EventQueue.java:103)
    at java.awt.EventQueue$3.run(EventQueue.java:694)
    at java.awt.EventQueue$3.run(EventQueue.java:692)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
    at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:362)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
Caused by: java.lang.IllegalArgumentException: Argument for @NotNull parameter 'name' of com/android/tools/idea/welcome/Platform.<init> must not be null
    at com.android.tools.idea.welcome.Platform.<init>(Platform.java)
    at com.android.tools.idea.welcome.Platform.getLatestPlatform(Platform.java:72)
    at com.android.tools.idea.welcome.Platform.createSubtree(Platform.java:89)
    at com.android.tools.idea.welcome.InstallComponentsPath.createComponentTree(InstallComponentsPath.java:81)
    at com.android.tools.idea.welcome.InstallComponentsPath.init(InstallComponentsPath.java:215)
    at com.android.tools.idea.wizard.DynamicWizardPath.attachToWizard(DynamicWizardPath.java:97)
    at com.android.tools.idea.wizard.DynamicWizard.addPath(DynamicWizard.java:233)
    at com.android.tools.idea.welcome.FirstRunWizard.init(FirstRunWizard.java:75)
    at com.android.tools.idea.welcome.FirstRunWizardHost.setupWizard(FirstRunWizardHost.java:100)
    at com.android.tools.idea.welcome.FirstRunWizardHost.getWelcomePanel(FirstRunWizardHost.java:92)
    at com.intellij.openapi.wm.impl.welcomeScreen.WelcomeFrame.<init>(WelcomeFrame.java:68)
    at com.intellij.openapi.wm.impl.welcomeScreen.WelcomeFrame.showNow(WelcomeFrame.java:173)
    at com.intellij.idea.IdeaApplication$IdeStarter.main(IdeaApplication.java:302)
    at com.intellij.idea.IdeaApplication.run(IdeaApplication.java:172)
    ... 16 more
Posted
Updated 1-Aug-18 22:38pm
Comments
Patrice T 22-Aug-15 8:21am    
Read first line !
Maciej Los 9-Oct-15 10:59am    
Wow! The shortest answer (even if it is a comment) i've ever seen!
Patrice T 9-Oct-15 11:48am    
I think sometimes a question do not earn more explanation :)
See solution 1 which the same, just longuer.

The first thing to do with any error message is to read it carefully.
Then if you don't immediately get joy, Google it.

In this case, the error tells you exactly what you should do:
Please report to https://code.google.com/p/android/issues
So do exactly that!
 
Share this answer
 
Problem is Solved.
I use 32 bit operating system and set path for JDK in Environment Variables.
 
Share this answer
 
Here is my way to avoid this problem:

Open the folder "bin" under the directory where you installed your Android Studio.
Find the file "idea.properties" and open it with Notepad++/UltraEdit/other_edit_tools.
Add "disable.android.first.run=true" as the final line and save the file.
Restart Android Studio
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900