Can I generate APK and upload it to google drive using an android studio terminal?
Most likely you can write a gradle script or use a gradle TaskExecutionListener to generate/listen to the apk and then upload it to a given google drive. As far as I know there are some Google Drive CLI clients so you just need to piece them together.
I don't know about any built-in solution for Android Studio if that is what you are looking for.
Related
It's my app that I never published to the Google Play Store and then foolishly deleted the source code. So there is no way to download it from a site and no copyright infringement.
The app is on an old phone I have and I'd like to be able to fix it up in Android Studio and put it on my new phone.
I've been looking everywhere on Google and on this site but I can't find the right combination of search terms.
Try using Xender or Shareit to get the APK
Try using some tools to decompile it like Android Apk decompiler
http://www.javadecompilers.com/apk/
I'm in the research phase of a native Android application side project for which I would like to utilize Android Studio and Visual Studio Online (TFS). The app will also have web service portion (WCF/WebAPI TBD) written in .Net.
So far I've found how to integrate TFS with Android Studio and build the package using Maven, but am hung up on how to automate the package deployment from TFS to Goole Play.
Is it possible to have TFS deploy to Google Play?
If so, how do I configure TFS to do this?
If not, is there an alternative ALM I should use that would meet all these requirements (SCCM, planning, building, testing, deployment to website and Google Play)?
Note: I may want to monetize this so it will be closed source.
To upload an existing task to VSO, you need to use the “TFS Cross Platform Command Line”, also known as TFX.
Instructions are in the README.md at the GitHub. Basically:
Install Node.JS from the Node website.
Run at the command-line: npm install –g tfx-cli
Run tfx login and enter your collection url (probably
https://youraccount.visualstudio.com) and your personal access token
Run tfx upload <folder> to upload your task.
Run tfx delete <GUID> to delete your task. TFX does not overwrite, so
you’ll need to delete before uploading again.
Check this blog: https://www.simple-talk.com/sql/database-delivery/writing-build-vnext-tasks-for-visual-studio-online/
Then you can add this task in your build steps in vNext build to automate deployment from Visual Studio Online to Google Play.
I want to push android apk to google play using google play service in automated way.
As of now I am building my android app using Ant and windows batch scripts and able to get the .apk file without any manual intervention.
Now I want to upload the generated .apk file to google play using google play services with help of ant and windows batch scripts in automated way.
When I google i come to know that by using gradle I can do it, but I am unable to build my project using gradle. So, I don't want to go this way.
I am able to push .apk to google play manually using my google play developer console.
Now I what to automate this process, How can i achieve this.
There's quite a bit of handling required with the Google Play Services API, for which the Windows batch commands are likely insufficient.
Since you don't want to change your project to Gradle, have you given a bit of thought to using Jenkins? It can be a light weight "provisioning" server on your system, that achieves what you want by using the Jenkins Google Play Android Publisher Plugin (see the complete step by step instructions). The good part is you don't have to change your Ant project. You can in future even automate more of your dev-test-deploy cycle by leveraging more of Jenkins capabilities.
You might want to look into Fastlane (and Supply in particular): https://github.com/fastlane/fastlane/tree/master/supply#readme
Basically, it's a command-line tool to upload binaries, screenshots and changelogs to Google Play.
I am a newbie to Android programming and i started putting together an application using Google Maps using Eclipse with KitKat SDK. I developed a simple app to display Google Maps in the Emulator by installing com.android.vending(4.6.16) and com.google.android.gms(4.3.25) apks. I downloaded these APKs from different sites(not sure how authentic they are).
I am making use of the command aapt dump badging to determine the version.
The map opens but i was repeatedly getting a message that "Unfortunately Play Services has stopped"
Objective is to ensure that I am using the right set of APKs with the emulator
The trouble that i am facing is there seems to be no clear directives on where i can find the authentic version of these APKs. I tried Google Play and when i give a search for com.google.android.gms, it yields a result of applications. I was expecting a URL to download the recent version of the APK. Correct me if i am wrong
1. How to download just the recent version of APKs from Google Play ? Am i looking at the correct site
2. Second is there any authorized site from where i can download these APKs?
I was looking for a listing of the APKs with the version number against it. So that i can download the version that i need. I am not sure of the dependencies of the APKs on the Android platform.
3. Finally is there any dependency between com.google.android.gms.apk and the com.android.vending.apk on the basis of the version or the SDK platform used?
Thanks
Govindarajan
I have a suggestion, Try to use Genymotions for testing maps/places app. it is faster than emulator and you can build and check maps application.
www.genymotion.com/
LINK
I am starting to explore the game development using unity 3d for android. I have downloaded the trial version of unity 3.3. I went through few tutorials.
I have one question that is not answered. In the normal apps which we develop using eclipse, we can deploy onto mobile by copying the apk file. What about unity 3d? How do I get the game onto my phone. I don't want to publish on market.
It is possible to transfer your assets to Eclipse. When it's integrated you can debug via your android phone. Be sure to read the tutorial on Unity's homepage. There is a step by step start-up guide and some more. Following links are worth looking at:
Getting started with Unity and Android
Official - Integrating Unity with Eclipse
Alternative link - Integrating Unity with Eclipse
It would seem that the official "integration" link is broken so I updated with a forum post that covers the same topic. However I recommend to try with the official link first.
Yes, you can simply copy the apk to your device and install it. Unity builds an apk file (and will optionally sign it using a keystore that you provide or let it generate for you). Once it has built that apk you can deploy it normally. You can even have it include a customized manifest in the apk that it builds if you want to (but it generates a nice one from your settings in the unity project by default).
There are two methods for this, as far i understand,
Using Build Settings--> Build, It builds the apk file that can be installed on your device using adb install <apk file path and name>
Using Build Settigs--> Build and Run. Which automatically installs the apk built apk file on your device if connected
go to file
-build
-select android platform(your pc has to have android development kit)
-save your apk
As it is still unanswered I try to close this question
First of all, current version of Unity 5.2 is much more powerfull than version 3.3. mentioned in original question.
What about unity 3d? How do I get the game onto my phone. I don't want to publish on market.
The same way. Unity allows you to publish build as *.apk on ocal machine and then you can just copy it to your phone and install it.
What is more cool, now you can debug your application running on phone. You have to install Unity Remote to the phone and run. Now you can set breakpoints and debug as normally.
If you change your mind and go to publish on Market - Unity will sign your *.apk
Hope this helps someone, good luck!
The Same way you generate the apk through Eclipse like that in unity you need to build the project. For that android sdk and jdk should be installed in your system and u need to show those path in the unity Preferences then u need a google keystore and need to sign in with that key store in the Publisher settings and then u are able to build the apk which will be store in your local system and you can copy that to your mobile and install the apk file.