Deploying the app on android device - android

I have a situation, I don't have any usb cable to connect my device with my system to deploy my android app from eclipse and my device is not rooted so I can't use wifi adb for deployment, Is there any fastest way to deploy on device ?? please suggest
Thanks in advance

Step #1: Upload the APK to the Internet (e.g., Dropbox)
Step #2: Download the APK from the Internet to the device (e.g., via Dropbox app)

I assume you have an apk. So you can send it to an e-mail address. Then open that mail from device and download the attached apk. After download is finished install the apk by clicking on it.
Remember to enable Unknown sources under Settings / Security.

Related

How do I install an APK file using Android Studio?

I have an APK file and my developer assistant said to use it to install the app onto my phone, question is, how can I do it? Just click run? I think I tried it and it's not working, only the workshop files were editable ones and could run.
if you have ADB (android debugger) installed and set as environment path:
1st option:
i'd use that from cmd line. First you have to setup unknown sources from Settings menu and enable developer mode, and then trust USB Debug Options from your device. Go to system and you have to tap the version number a few times, you can google this. (That's how it used to be).
From Mac/Windows/Linux:
type:
To see if it's in path it should give you help:
adb
To enumerate devices connected via USB
adb devices
To install apk on your local machine to device (force install)
adb install -r ~/Desktop/some.apk
Or in Windows you can put your full path (force install)
adb install -r c:\Users\something\Desktop\some.apk
2nd option:
You can put APK on google drive, or some website you can access, even one drive or via email, then you can save it onto your device. Using ES File Manager, or some files manipulation tool, you can install it directly from there.
3rd option:
Use Google Play Beta or Alpha delivery methods. You can do a closed or open beta, and post it up there. That way all you need is a play.google link and then you will be able to install it, and manage updates via this method. I use this as I test alpha/beta APK Android Game deployment, and am able to distribute a URL (for open beta/alpha), and users can easily test it via this method. Amazon App Store and iTunes App Connect (iOS) has similar type options, too, but I'm just assuming you would distribute this App/Game via Play.
Remember if it's unsigned apk, you need to be able to enable side-loaded apks via your settings, app sources. If it's signed by a trusted developer then this shouldn't be a problem.
If you have an APK file you don’t need android studio.
Copy the file to the device you want to run it on and open it. You’ll be promoted to either enable developer mode or trust the app as a one off occasion.
You’ll then be given the option to install the app.
First you need to turn on "download from other sources" or something(I can not remember the option exactly) from your phone's setting. You can upload the apk file to google drive. And navigate to the directory use you phone, click and download file. And then you should be able to run and install the app to your phone.
Try PdaNet+.
It will easily install android studio application to your android mobile.
Download PdaNet+ for PC.
In mobile open Debugging.For Debugging go to Settings -> About phone -> SoftwareInfo -> Build Number -> Click 7 to 8 times on Build Number.It will open Developer Option.Go back to Setting there you see Developer option.Then in Developer Option search for USB Debugging and open it.Then connect your mobile to PC with USB.
Insatll PdaNet+ it ask to connect mobile,connect it with USB it will download mobile software.
After completing your program,in Android studio click on 'Run App' (Green symbol as Play Button) then it will show your Android Mobile in Connected Device.Then it will install Android Studio application to your mobile.

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.

Is there a way to debug an android application on the phone without the USB connection?

Is there a way to install an application I'm in the middle of development on to my phone without going through all the steps of signing it, releasing it etc.? (Without the phone being connected by USB)
I'm still very much mid-development, but I need to demonstrate the progress I've made so far to other members of my team away from access to my development environment, so I need to install it on my phone.
Inside your project bin folder there is an apk file. If you copy that file to a device you can then install the app from it.
When I am in your situation I throw my apk into dropbox and send out links for people to download it.
You can try adb wireless http://www.helloandroid.com/content/connect-your-android-phone-adb-wireless
But i don't really see why you cannot export and install an unsigned app?
At&t (and possibly other carriers) set up the firmware to prohibit sideloading, so you need USB connection if that is your carrier. Otherwise, just put the apk on a web site and enable installation from unapproved sources.
See for the purpose of debugging you can use the adb-wireless which provides the same functionality as the use of a USB.
Also for installing it on the phone directly you can try this and see if this helps.
Go to Settings -> Applications
Select the Unknown sources option. This allows you to install apps on your phone even if the app is not released into the Android Market.
If you are using Eclipse or any other IDE just click on the project and run as android application. The app shall get installed directly. ( Installation shall not depend upon whether you are using adb-wireless or a USB)

steps to install new android application onto new htc device

I need to install an android application running in my local machine on to my new android htc handset, how to do this,and i also need to give this application to someones htc device who is not near to me.
On your device, go to Settings > Applications. Tick Unknown sources. Go to Development. Tick USB Debugging.
Connect your device to your PC via USB cable.
If using Eclipse, when running your application you should get a dialog asking you which device to use where you'll be able to select your phone.
If not using Eclipse, build your app to an APK file (it mustn't be signed) and run adb -d install /path/to/myApp.apk in a terminal or command line
Send the .apk and these instructions to your friend.
Another easy way to do this, without an USB cable. Upload your .apk to somewhere on the internet, and make your friend visit the link with his browser.
Ex. http://mydomain.com/apk/myappk.apk
He will automatically download the app and be promptet for install.
He needs to enable application from unknown sources. It does not need to be signed. (step1 from Felix)
#Felix applications are indeed signed using a debug key during development.

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