+8 votes
164 views
in Android by
Hello,

I have a fully functional app on an Android 4.2 emulator. I would like to test it on a mobile phone that is running the same version of Android, and I copied the archive apk I in the Eclipse workspace folder mnt / sdcard / download the phone in question.

When I try to install I give me the error "Error while parsing the package."

Where am I wrong ??

Thank you, bye!

4 Answers

+9 votes
by
You have to check "unknown sources" in Settings / Application?
+10 votes
by
Try to install it with the command adb.exe, in <android-sdk> \ platform-tools.
Remember to switch your phone to the option Unknown sources in Settings> Applications.
+11 votes
by
The option that you say to me was enabled, then the error is not that.

Could you tell me how to use adb.exe on the phone?
+12 votes
by

Enable USB debugging on your phone option in Settings> Applications> Development. Connect your phone to the PC via USB. On the Task Bar phone should comparirti 2 icons, a USB symbol and a robot. At this point the phone and connected properly. Open a DOS window on your PC (or terminal) and run the following command:

<android-sdk>\platform-tools\adb install -r <percorso apk>

Make sure that you have not opened the emulator and the app is not installed on your phone (not your case).

Ask a Question
Welcome to WikiTechSolutions where you can ask questions and receive answers from other members of the community.

You can ask a question without registration.

Categories

...