We are developing several apps for Android, and it is annoying when we have to trade testing hardware and get the 'you need to uninstall an app' to install a work in progress version of an app for testing.
Is there a way to share the developer key/signature between several developer machines so we all can over-install each others app versions.
Related
I made an Android app using Android studio, deployed and ran it directly by using my mobile running Oreo.
It installed successfully. But later I tired to share the APK from my mobile to other mobiles. But none of them are able to Install it.
However, if I build the APK and share the app-debug.apk to other mobiles. It Installs successfully.
I can't build APK and share app-debug.apk it everyone.
I usually deploy it in my mobile, share APK(which used to work before)
Can anyone please help
Please excuse typos, I have typed from mobile.
There might be a signing issue. Is your app signed? The default signing is the debug signing. When you just build and deploy or run it on a connected device, it is signed by default as a debug sign.
If it is not uniquely signed, then running or installing on other devices might not be possible. Look at the app signing instruction and guide by Google, here, if you wish to distribute your app on other devices.
Another problem might be in the security authorization of other devices. Your device on which you are building has the developer options turned on. To run and install unsigned apps you'll need to activate the developer options in the device you want to run it on. Look at this link about Developer Options and how to turn it on.
by default the Android Studio packages just the needed files and installs the app in your mobile. If you share to other mobiles, the app will not install in few devices due to a few reasons like OS version, files mismatch, SHA keys mismatch, etc.
However, if you build the APK and share, the APK is equipped to be installed in any device starting from the minimum SDK version to the target SDK version.
ChromeOS has started supporting Android apps. https://developer.android.com/topic/arc/optimizing
Android apps when running within ChromeOS requires a bunch of optimizations and these optimizations apply only to the app when running in chrome environment.
Is it possible to use the same app APK file for both Android and chrome or should have separate APK files?
Is it possible to differentiate the environment (Android or ChromeOS) programmatically within the app?
Differentiating based on the availability of touchscreen feature is not valid anymore since some Chromebooks ships with touchscreens and can be used as a tablet.
Thanks
Is it possible to use the same app APK file for both Android and chrome or should have separate APK files?
Yes, it is possible to use same apk for Android and ChromeOS if you don't have any special feature which is not available on ChromeOS. No need to create separate APK.
Device Support:
You can use the Google Play Store to install Android apps on several
Google Chromebooks. This document describes the Chromebooks,
Chromeboxes, and Chromebases that can install Android apps, both
currently and in upcoming releases of Chrome OS.
If your app will have any feature which is not available on ChromeOS then that app will not be available on PlayStore for ChromeOS i.e. from ChromeOS you will not be able to see that app on PlayStore.
App manifest compatibility for Chromebooks:
As you prepare your Android app to run on Chromebooks, you should
consider the device features that your app uses. Chromebooks don't
support all of the hardware and software features that are available
on other devices running Android. If your app requires specific
features that aren't supported on Chromebooks, it won't be available
for installation on Chromebooks.
Is it possible to differentiate the environment (Android or ChromeOS) programmatically within the app?
Yes it is possible to check if app is running on ChromeOS using below code:
context.getPackageManager().hasSystemFeature("org.chromium.arc.device_management");
I know not all developers faced the same before but i have a Chromebase Commercial device http://www.aopen.com/us/chromebase-commercial and i want to install an android app to it either from google play store or direct installation from android studio or anything else . so does any one has any idea about it
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.
If I develop an app using Phonegap or Appcelerator Titanium on Windows and I
want to submit my project to Apple Store, can I do it from Windows environment?
Using Windows:
Can I create an Apple developer account?
Can I submit the app to Apple Store?
Can I build iOS project on Phonegap Build, for later submission on Apple Store?
I'm aware that an App Store license is $99 per year.
I know that for Android phones, Windows and Google Play have no problem, but not sure about iOS phones with Windows and the App Store.
Here are answers to your questions:
Yes you can create an Apple developer account without an Apple device.
No, for the app to submit, you have to have Xcode, which will never be supported on Windows.
No you can't do that
You could use a service like Mac In The Cloud (http://www.macincloud.com/) to rent a VPS server and do it from there. It even comes preloaded with XCode.
You can set up a OSX Virtual Machine on Windows and then download and install Application Loader (or Xcode) on your OSX VM.
I can confirm this works.