Android-App auf Moto G testen
-
Ich habe eine kleine Android-App, die AndEngine benutzt, in Eclipse entwickelt. USB-Debugging ist an. Wenn ich Run -> Debug mache, kommt in der Console:
[2014-07-31 15:05:39 - Androut] ------------------------------ [2014-07-31 15:05:39 - Androut] Android Launch! [2014-07-31 15:05:39 - Androut] adb is running normally. [2014-07-31 15:05:39 - Androut] No Launcher activity found! [2014-07-31 15:05:39 - Androut] The launch will only sync the application package on the device! [2014-07-31 15:05:39 - Androut] Performing sync [2014-07-31 15:05:39 - Androut] Automatic Target Mode: using device 'TA93005LDN' [2014-07-31 15:05:40 - Androut] Application already deployed. No need to reinstall. [2014-07-31 15:05:40 - Androut] \Androut\bin\Androut.apk installed on device [2014-07-31 15:05:40 - Androut] Done!
Aber auf meinem Moto G startet keine Anwendung. Wo liegt der Fehler? In der App-Liste ist auch kein "Androut" zu finden.
-
Das ist mein Manifest:
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.example.androut" android:versionCode="1" android:versionName="1.0" > <uses-sdk android:minSdkVersion="8" android:targetSdkVersion="19" /> <application android:allowBackup="true" android:icon="@drawable/ic_launcher" android:label="@string/app_name" android:theme="@style/AppTheme" > </application> </manifest>
Fehlt vielleicht eine activity?
-
Yupp, gelöst: Ins Manifest einfügen:
<activity android:name="AndroudActivity" android:label="@string/app_name" > <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity>
und es läuft