Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - krumelist

Pages: [1]
1
Support / Can't get HelloWorld running
« on: November 10, 2014, 08:33:53 pm »
Hello everyone  :)
I'm experienced with Java and Eclipse but never touched android development before and I cant get it running on my Nexus7. I really hope someone could help me out.
It's starting on the device but immediatly crashes with the dialog:  "testing" was closed.

I created the class com.example.testing.HelloWorld with the code provided at Hello World for Android.

My AndroidManifest.xml:

Code: [Select]
<manifest package="com.example.testing"
    android:versionCode="1"
    android:versionName="1.0" xmlns:android="http://schemas.android.com/apk/res/android">

    <uses-sdk
        android:minSdkVersion="8"
        android:targetSdkVersion="21" />
   
    <application android:label="@string/app_name" android:icon="@drawable/ic_launcher">
    <activity android:name="HelloWorld"
              android:label="@string/app_name">
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />
            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>
</application>

</manifest>

What my console loggs:
Code: [Select]
[2014-11-10 20:22:19 - testing] Android Launch!
[2014-11-10 20:22:19 - testing] adb is running normally.
[2014-11-10 20:22:19 - testing] Performing com.example.testing.HelloWorld activity launch
[2014-11-10 20:22:19 - testing] Automatic Target Mode: using device '06276380'
[2014-11-10 20:22:19 - testing] Application already deployed. No need to reinstall.
[2014-11-10 20:22:19 - testing] Starting activity com.example.testing.HelloWorld on device 06276380
[2014-11-10 20:22:20 - testing] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.example.testing/.HelloWorld }

I'd appreciate every help offered, since there are no errors displayed. There has to be thrown an error or exception, otherwise it should work. How do I access them on my device?

Thank you! ;D


Pages: [1]