Add the apk file to the Android simulator (AVD) for running,
Different exe and jar files of apk, apk needs to be run in Android. It is useless to run a single apk file and cannot be directly dragged into AVD (of course, it can be directly put into the Android mobile phone)
Because most of our eclipse products have been installed and used directly after decompression, you can run the simulator without configuring environment variables. However, it takes several steps to add an apk (no source program) to AVD. Adb non-Internal commands will always appear in the previous operations on the Internet! Later, I asked Chen !!!
1. Do not rush to open the simulator. First configure the environment, copy the directories of the tools and platform-tools folders in the android file, and put them in the environment variables:
2. Start the simulator:
3. Place the apk file in the Android toolsfolder directory, for example, firstapp.apk.
4. Open the directory command of Android tools on the dos interface:Adb install FirstApp.apkYou can see it in the simulator later.