I have been trying to install an app to other's devices both by downloading the APK and Google Play alpha testing. It installs on the handheld just fine, but for some reason it takes anywhere from 2 hours to 2 days to install onto the wearable.
The size of my wear APK is less than 2 MB, and the mobile's Gradle matches the wear Gradle as it should.
These devices are pretty old, I believe they are on Android 4.4. Does this have an effect? Android Wear still works for them. We have tried many combinations of restarting the watch, reinstalling the app, and doing a factory reset.
I appreciate any help.
Figured it out. The watch was queuing the apk because the Google Play version was too high (I was using 9.0.0), I lowered it to 7.5.0 (in the Wear gradle) and now it's installing quickly.
Related
I have an established Xamarin.Forms app which builds fine through the Microsoft App Center and installs on my own physical Android device after distribution as an APK for testing purposes.
A second user can no longer install the distributed version on their own Android device. They receive a generic "You can't install the app on your device" toast message when trying to install from the distributed APK.
This problem has only started since targeting API 30+ (tried on 30 and 31, it's fine on 29).
Strangely, when I publish the app and distribute through the Play Store, the app works fine on both test devices - so there is some issue on this one device that only occurs when installing from APK (and the API is targetting > 29).
I'm not sure what to investigate next, any pointers or insight would be much appreciated :-D
I seem to be having a problem with limiting the size of my installed Android Application. During development I used Android Studio to deploy my application to my testing device. The app took a total of 2.32 MB in storage when freshly installed.
The problem in size came up when I published my application to the Google Play Store for alpha testing. I uninstalled the same app I had loaded with Android Studio, then downloaded the one I listed on the Google Play Store. The funny thing is that the same app now takes up 4.11 MB in storage.
How did this occur? The testing environment is the same, therefore what additional libraries or information would need to be added to the app causing it to take up the extra 1.79 MB?
TL;DR
App installed on testing device via Android Studio: 2.32 MB in storage
Same app installed on the same testing device through the Google Play Store: 4.11 MB in storage
Why is there such a significant increase in the size of my application? No other variables aside from installation source have changed.
That's because compiling & installing app into one target device and all devices is different.
When you click the run button, you are targeting only single device.
When deploying a signed release apk, you are targeting all screen densities, intel and arm processors. It includes extra files. It makes your apk file bigger.
Check out this existing answer on SO. Android release apk bigger than debug
The answers point out how a debug version only includes resources for the connected devices screen density. For production all images/res are included. Also, you should be able to further reduce size of your apk by using pro guard if you aren't already.
I had installed AndroVM to use Android apps in computer. But when it comes to games like shadow fight even with OpenGL support enabled, AndroVM couldn't run many games such as Hill Climb racing, Gunship battle etc. Hence I tried Genymotion. When I installed Genymotion, it automatically detected AndroVM installed in Virtual Box. And I could only run Hill climb racing and rest of them didn't work. So I finally installed Android SDK and followed all instructions to add packages(Tools, extras and System Images). Even if I have installed Google play services and Google repository, I couldn't find Google playstore in the android emulator. Even this post suggests how to install Google playstore in emulator,it also have discussions about piracy and legal issues(in comments) and the apk's (GoogleLoginService.apk , GoogleServicesFramework.apk , Phonesky.apk) are not official packages. Hence
Can any one suggest how can I install apps inside emulator without using Google playstore, and
Why can't I find playstore even after I install Google play services and repository.
These are the packages I've installed (Sorry I don't have enough reputation to upload image). And I'm using Ubuntu 14.04
you can't directly install apps using what google provided to you to install playstore app in emulator.
there are some 'hack' (not really) for this, but even you follow the steps, you can't install paid app in emulator also,
I believe it is kind of difficulty made by google to prevent people to use pc to run android apps easily.
below is a detail steps how to install apps in emulator
http://blog.apkudo.com/2012/08/08/run-google-play-on-an-emulator-and-pretend-to-be-any-device/
another more up-to-date steps.
http://www.flinkd.org/2013/12/installing-google-play-on-the-android-emulator-api-18/
before all these, you should download the same version as your emulator of package from
http(s)://goo.im/gapps/
happy 'hacking'.
i have found the best emulator to be is bluestacks. It runs flawlessly in my less powered old laptop which has 2GB RAM. It is core2duo engine and has 10 years old graphics card. It does make lot of noice when i run bluestacks and gets heated. Bluestacks is the best emulator. All apps run easily in bluestacks. I have tried all emulators. None of them works in my machine except bluestacks. Youwave which is light weight app but asks for money.
I need to test my Android app for playing flash objects in the WebView.
At first I didn't need to test it on the emulator since I have an actual device (Android 2.3.7) but since users have been reporting issues about the app on Android 4.0 (Ice Cream Sandwich), I want to test it now in the emulator.
First I tried to install the Android Market using
adb install androidmarket.apk
After installing it, it just closes when I open it so I downloaded the Flash Player apk and installed it the same way.
adb install flashplayer.apk
So I tried the app but still no flash is playing.
Then I read somewhere that I should be installing the Adobe AIR instead. I installed the apk using the same approach
adb install adobeair.apk
Tried the app again but still the same. Just the blue box with a question mark appears.
Any idea how to test Flash videos on the Android emulator?
EDIT:
I've also tried
adb -e install -r adobeair.apk
with the same result.
First I tried to install the Android Market
The Android Market/Google Play client is not licensed for distribution and use this way. You cannot obtain a legal download of this APK from Google.
so I downloaded the Flash Player apk
Please point to where you can get an authorized download of this APK from an official Adobe Web site.
Then I read somewhere that I should be installing the Adobe AIR instead. I installed the apk using the same approach
Please point to where you can get an authorized download of this APK from an official Adobe Web site.
Any idea how to test Flash videos on the Android emulator?
Even if there were legal downloads of the required APKs (and I am not aware that there are), Flash/AIR depend heavily on hardware acceleration and cannot work in today's emulator.
Just a several days before, on the site:
http://download.macromedia.com/pub/flashplayer/installers/archive/android/
You could have found many APK packages with various versions of FlashPlayer for Android. They even have been successfully installing on the emulator - although I actually DONT KNOW if they work properly (I had no point in running anything..).
As of today (=2012.11.18) they site is almost down, but you can still downlaod the packages, for example:
http://download.macromedia.com/pub/flashplayer/installers/archive/android/11.1.115.27/install_flash_player_ics.apk
edit: I've just found the proper site:
http://helpx.adobe.com/flash-player/kb/archived-flash-player-versions.html
edit2: nope, it installs but does not seem to work. I've just tested http://www.adobe.com/swf/software/flash/about/flashAbout_info_small.swf on emulator and empty black page showed up.
You can download the APK you need for all flash versions for Android 2.x and 3.x, even for Android 4.0 at the following location:
Archived Flash Player versions
Just scroll down a little bit
I've found today that my recently published app on the Android Market,
is not showing up on this device Market: Samsung Apollo.
I've already followed this tutorial to make my app accesible to almost all devices configurations
and it still don't show on that device's Market.
What am I doing wrong?
Did you use the copy protection functionality when uploading the apk?
That can be the issue.
What version of Android did you build against? Does that phone run a compatible version?