Note that there are some explanatory texts on larger screens.

plurals
  1. POCan't run Hello World app in Eclipse w/ADT
    primarykey
    data
    text
    <p>I am trying to build/run my first Android app. Unfortunately, I'm a .Net guy and the Java-related world is a bit of a black box to me.</p> <p>I have found the error log in Eclipse, which states</p> <pre><code>!SESSION 2013-02-22 22:50:24.263 ----------------------------------------------- eclipse.buildId=M20120914-1800 java.version=1.7.0_13 java.vendor=Oracle Corporation BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US Command-line arguments: -os win32 -ws win32 -arch x86 -data C:\Users\Ben\workspace2 !ENTRY com.android.ide.eclipse.adt 4 0 2013-02-22 22:51:44.187 !MESSAGE Failed to load properties file for project 'Test' !ENTRY org.eclipse.ui 2 2 2013-02-23 12:17:14.008 !MESSAGE Invalid property category path: ValidationPropertiesPage (bundle: org.eclipse.wst.xml.ui, propertyPage: org.eclipse.wst.xml.ui.propertyPage.project.validation) </code></pre> <p>Following Google's instructions, I have done the following:</p> <ol> <li><p>Loaded the 1.7x JDK into the default directory</p></li> <li><p>Downloaded/Installed the 64-bit Eclipse software for Windows from <a href="http://eclipse.org/mobile/" rel="nofollow">http://eclipse.org/mobile/</a> </p></li> <li><p>Downloaded/Installed the Android SDK Starter Kit</p></li> <li><p>From eclipse Help/Install Software menu, added "<a href="https://dl-ssl.google.com/android/eclipse/" rel="nofollow">https://dl-ssl.google.com/android/eclipse/</a>" to obtain the ADT plug-in.</p></li> <li><p>Confirmed in the Eclipse preferences settings for the "Android Location" is valid and seems reasonable (C:\Program Files (x86)\Android\android-sdk)</p></li> <li><p>Ran SDK Manager to pull down/install everything.</p></li> <li><p>Created an AVD and launched it to confirm it works</p></li> <li><p>Created a new "Android Application Project" from the File/New menu. Entered a name of "Test" and took all defaults except for selecting the activity type of "Blank".</p></li> </ol> <p>The project opens and shows me tab with an activity that has a layout. Selecting Run/Run As...Android Application causes nothing noticeable to happen. Poking around I found the above error in the log.</p> <p>Been searching and not finding relevant resolutions. Tried setting various path settings and ANDROID_SDK_HOME values, closing and re-launching Eclipse between each change. These currently have:</p> <ul> <li><p>PATH (includes)=C:\Progra~1\Java\jdk1.7.0_13\bin;C:\Users\Ben.android\avd;C:\Progra~2\Android\android-sdk\tools;c:\eclipse\plugins;</p></li> <li><p>ANDROID_SDK_HOME=C:\Users\Ben.android\avd (These paths are all valid directories)</p></li> </ul> <p>Seems odd that my 64 bit eclipse is passing "Win32" parameters, but that may be normal in the Java world and I am just a noob.</p> <p>I am running Windows 7 on a 64-bit MacBook Pro under bootcamp.</p> <p>Any ideas?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload