run .apk file from emulator in Android
I want to run .apk file from emulator but in the command line I am getting message "error: de开发者_如何转开发vice not found" .How can I overcome this . PLease HELP. Thanks
I run into the same situation. You can do the following to detect the device again:
adb kill-server
adb start-server
Follow this steps ..
1: open the Eclipse i assume that u have install the android SDK in in eclipse
2: Start AVD Manager in your Eclipse by tracing the path "Window > Android SDK and AVD Manager"
3: Create your new AVD using the folowing link "http://developer.android.com/guide/developing/devices/managing-avds.html"
4: Then start the AVD Using above link
5: open command promt in (for windows os ) , trace your android sdk pathe LIKE -- "E:\abdroid-sdk-windows\platform-tools>adb install F:\yourApplication.apk"
in this example the 'yourApplication.apk' is my apk which is in the F: drive
you may refer the following link for this insatllation
"http://www.botskool.com/geeks/how-install-apk-files-android-windows-sdk-emulator"
精彩评论