Https://www.cnblogs.com/wangcp-2014/p/6144530.html
First, the source of the situation
Open the Androidmanifest.xml file directly and find the activity that contains the Android.intent.action.MAIN and Android.intent.category.LAUNCHER.
If the third line of the package is Com.cola.ui, the seventh row of the main activity is Com.cola.ui.ColaBox (. Colabox is the activity shorthand method).
<?xml version="1.0"encoding="Utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" Package="Com.cola.ui"Android:versioncode="1"Android:versionname="1.0.0"> <application android:icon="@drawable/icon"Android:label="@string/app_name"> <activity android:name=". Colabox"Android:label="@string/app_name"> <intent-filter> <action android:name="Android.intent.action.MAIN"/> <category android:name="Android.intent.category.LAUNCHER"/> </intent-filter> </activity> <activity android:name="Frm_addbills"></activity> <activity android:name="Frm_editacctitem"></activity> <activity android:name="Grid_bills"></activity> <service android:name="LocalService"Android:exported="true"Android:enabled="true"/> </application> <uses-permission android:name="Android.permission.READ_CONTACTS"/>
Two, only the situation of the APK
(1) AAPT (under the Build-tools directory of the SDK, you can use the command directly after configuring the environment variable)
1. Enter CMD on the directory address bar where the APK installation package is located
2, command line input AAPT dump Xmltree colabox.apk androidmanifest.xml>d:\log.txt----The XML tree structure output path D disk under the Log.txt file, to resolve the problem of the console display is not complete
The same activity that is located in Android.intent.action.MAIN and Android.intent.category.LAUNCHER
Android View package name, activity method