Apk is installed on the device, but I do not see it in applications

I wanted to fine-tune a piece of sample code from the Demos API group - GridLayout0. To do this, I created a separate project and copied GridLayout0.java into it. Now, when I try to see the results of my changes, I ended up in LogCat

Uploading GridLayoutSampleTwicked.apk onto device '0388920542204257' Installing GridLayoutSampleTwicked.apk... Success! /GridLayoutSampleTwicked/bin/GridLayoutSampleTwicked.apk installed on device Done! 

Apparently, apk was successfully installed on the device, but I do not see the application in the list of applications in which I could run it (was it launched immediately after installing it?)

I nob, maybe I missed something.

If that matters, when creating a new project, Eclipse asked me about the "parent root". I had to bundle it with the Demos API package because Eclipse did not allow me to switch to a new project.

+4
source share
2 answers

check if this element exists in your main action in the manifest.xml file:

  <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> 
+15
source

Yes, this part was missing. After adding this and deleting the fragment that I gave below, I started the application as I wanted it.

Eclipse generated this code, and I don’t quite understand what it does

 <meta-data android:name="android.support.PARENT_ACTIVITY" android:value="com.example.android.apis.view.GridLayout0" /> 
0
source

All Articles