Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

deploying a .apk file (App), Without the App store, could not open/mnt/sdcard/ActionBarExample.apk

 
jite eghagha
Ranch Hand
Posts: 128
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Bartender
Posts: 3132
50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 128
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Bartender
Posts: 3132
50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Impossible to say. Can you install the APK successfully using the SDK after exporting it from Eclipse?
 
Mohan Prasath
Ranch Hand
Posts: 38
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"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. )

I hope this post will help you.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic