I don't know if what I am going to ask is possible. As a matter of fact, I can see that it would be a bad idea, but I thought I would ask just in case. I have an app on my phone that I have been working on in my lab at school. I am stuck at home now and would like to continue working on the app here at home but all my code is on my computer at school. Is there any way to move the app from my phone to my PC so that I can continue working on the app in eclipse?
Thanks
As Scott says, simply copying the app to your PC will not exactly allow you to develop as though you have the source code in front of you, but if you insist, you'll need root access to get a directory listing of your /data directory, then you'll need to adb pull the file.
You are working on an app in school ? ok, so let me guess. are your using eclipse ide to create that app ? if yes, then you can simply copy the whole project and paste it in your pc and run it there from eclipse.
If it is only an app on your mobile , then you can use BlueStack Placer on your PC
Extract the apk of your app from mobile using an application called apk extractor. It is stored in a predefined folder. Connect your phone to PC , copy that apk n a folder i have described below. It must be in a folder called Apk Extractor.
Now, install BlueStack Player. Basically it is a player to run android apps.
Copy the APK file into the Apps folder, which is created by default in the Libraries folder at the time of BlueStacks installation. Right click on that APK file and open with apk handler.exe which is located in C:\Program Files\blue stack(Your BlueStack installation Location)
Your app has been installed in BlueStack Player. It will show on the home screen of the Player
NOTE :- These instructions are tested and i have run it
Related
This file does not have an app associated with it for performing this action. please install an app or, if one is already installed, create an association in the default apps setting page android studio build Apk this file does not have an app associated with it for performing this action. please install an app or, if one is already installed, create an association in the default apps setting page.
Make sure that your instant run is enable or not? If so then i had similar experience and i solved by disable instant run as follows.
If you are sure that the apk is build, check whether the file is having the apk extension (appname .apk ).
Better way is to let Android Studio install it for you instead of building apk and manually installing it:
Enable 'USB debugging' from you phones 'Developers Options' .
Connect your Phone to your PC and Click on 'Run' app option in Android Studio.
Select your device from the popup window.
If there is any already installed app, or any internal errors, Android Studio will take care of it.
I just made a simple android app with 2 buttons. Each button onClick opens a new activity. I installed the app on my device via USB cable from Android studio and it runs fine on my device.
But here rises the problem, when I installed the app on my friends device after sharing via SHAREit the app installed on his device but did not run.
What could be the reason for this? And how can I solve this?
Please help. Thank you
This issue is most probably due to the Android instant run features. Try the following steps to get this working,
Step 1: From Android Studio, click on Build => Build APK. Once the build is complete, you will see an option to view the APK in explorer. Copy the app-debug.apk to a folder of your choice.
Step 2: Open a command line. Switch to the folder which contains app-debug.apk. Run the following command to install your APK on phone,
adb install -r app-debug.apk
Step 3: From your phone, use Share-it to copy the APK to your friend's phone. Now the app should run.
This is happening sometime, when do some changes in app configuration/ gradle by unknowingly,
DO THIS THING FOR SOULUTION:
Close Project in Android Studio.
Close Android Studio completely.
Rename your Project name.
Open Studio and import Project
Clean and Try to Run
How can I run my android application that I have created using Netbeans on an Android mobile?
I have read this "How to run J2ME application directly on the mobile from NetBeans?"
and the answer was:
In Netbeans, right click your project and click on 'Build'. Now
navigate to the directory where your project is stored and go to the
folder called 'dist'. In that, you will find a JAR file with the name
of your project. Copy that to your cellphone and execute it.
Does this works for Android as well?
THANKS
No, it is not sufficient. Android application format is APK, not JAR, and you need more things set up to make valid app. Please follow any basic Android tutorial to gain elementary knowledge.
I was testing my app in my AVD and the AVD no longer uploads the apk to the device. It used to work and I have reinstalled eclipse and the android SDK but it does'nt run the app. Any Suggestions to get it working???
There is one workaround, but a little bit more work, well for me i think its good, after u run/build on eclipse, there is an apk file in the /bin folder. I used to copy that .apk over there to my microsd and install and reinstall for comparison when you are on the go.
I am really very new on android development.
I have made 2-3 apps , those running on my android device already.
Last few days I am facing a stupid problem.
The problem is , creating the app fullscreen for every device. I have read phone gaps wiki
and tried with specific way. But I failed everytime.
When I'm trying to open the DroidGap.class from my Android eclipse project explorer , I got a error. that, "DroidGap.class has no source attached". (after build the phonegap.jar)
Please help me....
first you need to add phonegap.jar to your project
you need to add phone gap plugin to your eclipse
Use the AppLaud Eclipse Plugin for PhoneGap Android
Download and unzip the PhoneGap sources from GitHub
In the AppLaud wizard, select "Enter path to installed PhoneGap"
Enter the directory path to the unzipped sources from GitHub
Now you will be able to modify and debug the sources that comprise phonegap.jar
Caveat: I'm the creator of the AppLaud Plugin
fullscreen?
If you want modify DroidGap.class dowload source code from github and rebuild phonegap.
Rebulid instruction here: https://github.com/callback/callback-android/blob/master/README.md