Wrote app for an android device whose installed Android version is Lollipop 5.1 (AZPEN A1040 tablet - latest version available for it).
The app installs and works correctly in the emulator (setup to emulate a Lollipop 5.1 device)
However, after archiving without any issues, when attempting to install the app's apk file to the actual target device, I get the following error:
"There was a problem parsing the package"
The project's properties in Visual Studio 2015 are displayed in the graphics below:
All the referenced libraries in the project are shown in the picture below:
I have neither errors nor warnings during the build, deploy to emulator or archiving processes.
The target device has already the following settings enabled:
- "Allow installation of apps from unknown sources"
- "USB Debugging" (installation has been attempted with this setting on or off without success)
EDIT: To add pertinent info based on comments below
- The apk is signed (previously archived apks have worked correctly. New code has been added since those working apks, but as mentioned I have no errors or warning when building the latest apk).
- Have not tried archiving in Debug mode (not sure if it will let me, not sure I'd like to try since this is for a client).
- The apks are named during archiving process. After the creation, apk file's name has not been changed(I did change the 'suggested' name to something shorter during the archiving process, but did it so also for the previously working apk vesions whose installation worked on the target device).
At this point I'm at a loss as to what to do to make this install on the target device.
Any ideas?