deploying a .apk file (App), Without the App store, could not open/mnt/sdcard/ActionBarExample.apk
jite eghagha
Ranch Hand
Joined: Oct 06, 2006
Posts: 124
posted
0
Hi,
I built, signed, and exported an app..... test.apk
I zipped it, and uploaded test.zip to godaddy
I downloaded test.zip on my phone and tablet, /scard/test.apk and /mnt/sdcard/test.apk , respectively.
Attempting to install on both devices leads to the error "Application not installed" and "could not open /mnt/sdcard/test.apk as APK file
What is the proper method, or alternative to what i tried to do.
Tim Moores
Rancher
Joined: Sep 21, 2011
Posts: 2407
posted
0
What's the point of zipping the apk? That is a compressed file format already.
Can you install the downloaded apk files via the SDK, meaning - are the files not corrupted?
You could also try installing them through a file manager like OI File Manager.
jite eghagha
Ranch Hand
Joined: Oct 06, 2006
Posts: 124
posted
0
I used File Manager and ES File Explore.
I zipped it cause my google chrom and godadday FPT manager weren't uploading the .apk successfully ......However, uploading the .apk worked just fine in firefox.
I've also emailed the .apk file to my phone and tablet but get error "There is a problem parsing the package".
I assume i probably did something wrong when exporting the .apk in eclipse?
Tim Moores
Rancher
Joined: Sep 21, 2011
Posts: 2407
posted
0
Impossible to say. Can you install the APK successfully using the SDK after exporting it from Eclipse?
"There is a problem parsing the package" error usually arises due to anyone or all of the following reasons.
1. The exported apk is programmed in an advanced version of sdk rather than in the version in the android mobile. Solution :- try setting the minSdkVersion tag in your Android Manifest to support the version of your android mobile
2. Check the name of your exported apk. sometimes it has to be same as the project name. (Don't change the name of your apk after application signing process) 3. Check your code in emulator once. (I believe you did that already. )