Android Studio 0.4.6
Hello,
I am creating an App that will use the email client. However, having created a Nexus4 emulator targeting Jelly Bean 4.2.2. I see there is no email client. Is this normal behavior?
I have tried going through the settings, but cannot find any indication that there exists an Email client.
Just a followup question. If I wanted to install gmail email client, is that possible on an emulator? As there is no google play store App.
Yes its Possible to install Any app On Emulator.
But You need that Apk file..
First in your Emulator setting(settings > application Manager or Setting > Security) You need to enable.
Allow Unknown Sources Then You can Install any .apk file..
like this
Then Can Download Play store
Or You can Download Gmail
From those Links at bottom you will have download option. download the .apk file
After Downloading You need to Push the file to Emulator .. and browse it and install
or else follow this To install that application directly..
OR Refer this to install any apk file to Emulator.
This is the only process which works..
That's normal. Stock android does not come with Gmail. It's a proprietary package that is not installed on emulators. You'll need to install an email app manually by uploading an apk via adb or test on a real device.
Related
I want to copy apk file from android studio project on my mobile without connecting it to any machine.
what is path of that apk file.
You can send it to your mobile via emailing and then install it by clicking the attachment.
PS: You need your developer options in enabled mode and your install app from un-trusted source must be enable as well.
PSS: Please google properly before asking question.
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.
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.
I am not able to access android market through emulator.
I got Android Market to work on Emulator for Platform 2.3 using OS 10.6.6:
First download and setup emulator on your mac.
Launch emulator and create an AVD. I created one called vd1.
Close vd1.
Launch Terminal in Utilities and enable the Finder to show hidden system files and folders by executing following commands:
lsy$ defaults write com.apple.finder AppleShowAllFiles TRUE
lsy$ killall Finder
Download system.img
http://www.mediafire.com/?s8eeph3r71ho1lz
Copy system.img to two locations:
[username]\.android\avd\[vd1]\
[username]\android\platforms\android-9\images\
Launch emulator from Terminal
lsy$ cd android\tools
lsy$ ./emulator -avd [vd1] -partition-size 100
Android Market is not available through the emulator for similar reasons it is not available through the developer phone. Allowing people to buy applications with an unlocked phone (or the emulator) would make it easier for those paid apps to be redistributed as freee apps.
Will's right. But also see this if it helps: http://forum.openhandsetdevelopers.com/running-android-market-on-emulator-no-download-issue-t82.html
Check out this link.
http://tech-droid.blogspot.com/2009/11/android-market-on-emulator.html
You get a full featured market on your emulator. I don't know if it's
legal(allowed by Google), but the image file, that this post mentions,
is a link to HTC's download page.
I am able to access all the market apps now, right from the emulator,
the paid ones, and the copy-protected ones also.
Cheers.
Dexter.
The emulator does not have the Android Market. The Android Market is only available for devices whose manufacturers have licensed the Android Market from Google.
Android Studio from version 2.3.2 has Google Play System Images.
You are able to create the simulator with the Play Store (old name: Android Market App).
You can use this test framework : android-test-billing to test the In-App billing on the emulator.
This library was used in the project Horer - horaires de RER.
I have did it in my 1.6 emulator it worked fine , Try this,
Download system.img from following link
http://www.4shared.com/get/x6pZm3-W/system.html
Go to avd folder. It will be in your c drive probably
( example C:\Documents and Settings\Vadivelan.android\avd\market.avd)
Paste the download file
Now launch the emulator
Market is ready
But am not sure it will work in 2.2 emulator, because the given system.img file is specific to 1.6. For 2.2 download the 2.2 system.img (but i doubt it works, as per my information it gives error)
Regards,
Vadivelan
just find the same app from a trusted website that allows you to download the .apk file to launch the app without using the play store. You wont be able to find all apps, but most of them should be relatively easy to find and download without using the play store.
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.