开发者

Can't find my installed application

Greets,

Made some app on android. I for the life of me can't get it to install on the phone as a stand alone application. It runs fine when I deploy from eclipse but never remains on the device. any idea whats happening?

开发者_如何学编程

I put the apk file on a web server, went to the address downloaded and installed but still it wasn't to be found.

I'm lost!


Make sure your application manifest defines an activtity with a category of LAUNCHER. For example:

    <activity android:name=".MainActivity"
              android:label="@string/app_name">
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />
            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>

Otherwise, the Android apps screen won't pick it up.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜