• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Ranch Hand
Posts: 128
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.







 
Saloon Keeper
Posts: 7585
176
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Saloon Keeper
Posts: 7585
176
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Impossible to say. Can you install the APK successfully using the SDK after exporting it from Eclipse?
 
Ranch Hand
Posts: 38
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic