android - app installation - android

i developed a application and it works fine on the emulator, so tried to install it on my phone using a .apk of the file
(NOTE: It is a unSigned one).
on installing the app on the phone, during installation i get a error as installation failed.
(NOTE: Other applications from the market are installing without any errors, the ones downloaded from the internet are working fine, but one developed by me aren't)
tried to debug the application on my phone using USB debugging.
the app gets installed fine by USB debugging.
Still can't figure out how to install using the .apk file.
Thanks in advance. :)

You have to sign your application if you do not want to install it using adb. If you use Eclipse and ADT just click on your project folder, choose Android tools -> Export Signed Application Package. Then provide access (or create new) to your keystore file and choose key. After you've signed an application you can, for instance, send it by email and install it on a real smartphone.

What you can also do is copy the .apk to the phone via the ISB cable into the sim card out the SD card. Then you don't have to send any emails to yourself.

Related

Newbie help for installing app on Android device

I'm working on developing my first mobile app on the Appery.io platform. I'm just about done building the app and need to beta test it for Android.
Appery lets you generate an Android certificate and export your app as a .apk file. I have my .apk file and I want to install it on my friend's phone. Is there anything else I need to do or can I install the .apk file? How do I go about actually getting it installed on the phone? It's not clear from the site's instructions how to do it when using a platform that generates the .apk file for you.
The easiest solution is to email the APK file to your friend. Then click on the attachment on your friend's phone. Alternatively, you can install the Android SDK and use its adb tool.
You can send it via Bluetooth or Share it on Dropbox, Google Drive, etc. When you install the app be sure that in the phone settings the "Install apps from unknown publisher" is checked. And don't verify the app with google play. Just click package installer.
There are several ways to install apk like:
send apk as attachment to your friend and open the attachment on their device.
copy the apk to their device and open it using any file manager, it will lead to install it.
send apk whiya bluetooth/ wifi tethering etc and open it on their device.
upload it to any file hosting website and open that link in their device using any web browser and download and install further.
if that device is with you, you can use adb.exe tool with following command "adb install your apkfile"
Note: but to use any of these ways, their device should have enabled "Install from Unknown sources" in their device settings->security.
Or alternately best approach:
upload your apk to GooglePlay Store and they can install it from there hassle free.

How to run an Android app which will run in any system without using Eclipse

I have created an Android Calculator app in Eclipse. If I want to run my app I need run it through Eclipse. But I want to run my app without Eclipse in any system as normal apps run, just download it and run.
If any one knows how to do this, please help me.
You probably want to take the .apk file in your bin folder. This file is your entire app packaged together.
You can run & install this on other Android phones, but they will have to have enabled "unknown sources" in application settings.
Otherwise, you'll have to publish to the app store, from where the entire world that owns an Android device can download it directly.
app run without eclipse in any system as a normal apps run
may I know how the normal apps run?
it need any emulator or device.
you can run the .apk file without eclipse also!.
download the Android SDk and create an emulator thru avd command and install any app.
the other way you can do by 3rd party software called BlueStacks App Player
this software is only for mac and Windows download here
Inside bin folder of your Calculator app project located on Hard disk there will be .apk file which you can transfer to your device then open file browser whichever you have that will allow you to install and run your application cheers.
Do you mean you want to install it on any device from your system, without the need to run Eclipse?
The command would be something like "adb install bin/MyCalculator.apk". Once you do that, your app is installed just like any other.
Do you mean you want anybody to install your app on their device? Your best bet is to just put it on the Android Market. Don't forget to generate a real signing key (don't use the Eclipse debug key) and sign your app properly before uploading it to the market.
If you don't want to use the market, then you can put the apk file on any web page, and have people download it with their browser. Then they go to their device settings and enable "Unknown sources". After that, they can run their browser, go to "Menu > Download" and select the apk they just downloaded.
Or, you can send the apk file to someone directly, and have them attach their device to their computer, enable USB, and copy the apk to their /sdcard directory somewhere. Then they launch a file browser (they'll have to install that first) and navigate to the apk file. I think that will allow them to install the apk on their device.
I think that should cover it.
You should generate the .apk file, and install it on any device you want..
http://www.technobitez.com/how-to/create-apk-files-for-android-phone
How to build an APK file in Eclipse?

Need assistance for installing .apk file

I am trying to install a voice recognition app,that I builded ,on my device, the device is not supporting it, now I am trying to instal it on a LG Optimus 2x, I've updated this LG phone's OS to ICS using Cynogenmode, so no debugging options are getting displayed, can I directly copy the .apk file from the bin to LG phone? Would that work?
Just a note: If you install the APK directly do you phone, you have to enable that you can install applications from outside of the market in the settings of the phone. but then it should just work....
you have to install app installer from android market. Then copy apk file to memory card. Launch app installer, which will display apps from memory card and select, just install it.
another method
attach .apk file as an email attachment, open that email using your devices, email client will show install button

How to create .apk files for Android?

I tried right clicking on my project (in Eclipse) android tools->Export unsigned application package.
I then moved to .apk file to my Samsung Galaxi S device and tried to install it,
I got a message saying the app was not installed.
Did I do something wrong in creating the .apk (what could be the problem)?
Check this doc.
If you want to install the application with debug key then you need device driver(Kies in your case) installed on your development machine. Then attach your device to your machine through USB port. Close emulator and run your Android application on your device using Eclipse. The signing procedure mentioned in previous answers is mandatory only when you are uploading your application on Android Market.
you should Export signed Apk file:
http://developer.android.com/guide/publishing/app-signing.html

Application Install Unsuccessful-while installing app viaOTA

I have developed an application using Android SDK 1.5, application works well on Android Simulator.
Now, I am trying to install application on actual device. I don't have the Android device. So, I am going by OTA way.
For this, I have generated the self sign keystore using keytool utility.
And, using Eclipse's "Eclipse Signed Application package.." option I have generated the signed .apk file and moved it to my web server.
Also, i added MIME type on web server for .apk.
But, when I am trying to download and install the same application on device, application get downloaded and it also prompts for permission. After thag when I click on "Install", it fails with error Application Install Unsuccefull.
Interestingly, I test this url on simulator browser, and it worked perfectly well and application get installed successfully.
Even, I checked that, SDCard is there on device. Settings -> Applications and "Unknown sources" option is alos checked.
Am I clear to you all?
Any Idea what may be going wrong here?
Thanks and appreciate your response,
S.Satheesh
What happens if connect the phone via a USB cable and install the application using the adb install command? Testing this will allow you to determine if the problem is with the package or the over the air update.
Also, you could try running adb logcat to view the logs from your phone after the failed install as this should show you what the problem is.

Categories

Resources