What's new
DroidForums.net | Android Forum & News

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Difficulty installing an app I created.

tff

New Member
I built HelloLinearLayout.apk from the droid tutorial. It runs fine on the emulator. I now really need to get this to run on the phone, but have been unsuccessful.

I'm using a Verizon Motorola phone with 2.1 and a windows laptop for the SDK. I have a bit of experience programming, but absolutely none with phones.

I put the file on the sd card. I dismounted the pc drive. I then used ASTRO file manager to locate the file on the phone and attempt to install it. The install button does not come up.

I have set the phone to allow third party apps.
I have downloaded the file many times.

When I select App Manager from ASTRO, I get no install button, but instead get two tabs that read "summary" and "details." All items under "summary" are empty. When I click "details" I get:

Could not open /sdcard/DCIM/HelloLinearLayout.apk as APK file

Again, I have downloaded the file numerous times.
I have set the phone to allow third party apps.
I dismount the drive before attempting to load the app.

Is it necessary for me to sign a test app that I'm just trying out on my own phone?

tx,
tff
 
I have tried several different ways to do this.

In one case, I tried to just do a straight install using adb.

adb devices
(The the serial #)
then,
adb -s <ser-num> install HelloLinearLayout.apk

In this case, I get the error msg:
Failure: [INSTALL_FAILED_OLDER_SDK]

(even though I think my SDK is quite current)

I also tried as per my previous message by mounting the phone's SD to my PC, using windows to copy the apk file to the SD card, unmounting the SD from the PC, and then using astro to install.

All to no avail.
 
Back
Top