How to extract installed Apps on BlueStacks emulator - android

I need to have open/edit/review of my own app which I've previously installed on BlueStacks.
Somehow I think there is a way to access what I looking for. Actually it's not a copyrighted product.
I've found the shortcut of this app which is in this path:
C:\ProgramData\BlueStacks\UserData\Library\My Apps
When in looking for Target of this shortcut i found the name of project like com.xxx.xxxx and other things like these:
C:\Program Files (x86)\BlueStacks\HD-RunApp.exe" -p net.xxxx.xxxxx -a net.xxxx.xxxx.xxxxx
these x's refer to my application's name which is correct.

You can install any apk extracting app 'you can try this for example'
, and then copy your apks to
sdcard > bstfolder > Documents
follow this for full description

Given answers no longer work for Bluestacks 4.
So if you are using Bluestacks 4 : use ES file manager and make a backup, same as before. Save it for instance in downloads.
Next in bluestacks go to Media Manager, downloads click on the backed up apk and click on export to windows. It'll let you pick a windows directory where you'll save the apk.

You can Install 'ESFile Explorer' on your bluestacks then backup your installed app and copy them to:
SDcard > Windows > BstSharedFolder
then you'll find it on windows on this folder:
C: > ProgramData > BlueStacks > UserData > SharedFolder

Related

Android Emulator: How to Copy an Emulator / AVD?

I am currently making an upgrade of an existing app that's already on the Google App store (aka Google Play). I want to test that the data conversions go smoothly when customers upgrade.
I have an AVD with the old version of the app installed. The usual thing would be to run the new version on this app and see if it works. But the problem is that after doing this, that particular AVD is no longer mimicking that old state.
I'd like to make copies of this AVD/Emulator (yeah, the whole thing!) so that I can make repeated tests.
This seems like something that would happen often, but I can't find any references to this situation. Or am I missing something obvious (I hope!)?
If you want to create a backup of your AVD, then follow the below steps:
To find your avd folder on you machine, check your user directory. For me, with user name “zax”, those locations are:
Windows 7: \users\zax.android
Windows XP: C:\Documents and Settings\zax.android\ on Windows XP
Linux/Mac: ~/.android
Steps for backing up your AVD:
Go to the .android folder and pick the avd you want to export.
Compress the device.avd folder and the device.ini file. (where,
device is the name of the device that you want to backup. Eg.
mmx.avd and mmx.ini)
Copy the compressed files to the new location
These AVD, you can even move across OS, Only thing is you have to change the user name in the device.ini file and so syntax like slash is different for win and linux.
Goto AVD manager> Import > select the backed up .avd > in case x mark is show, repair the device.
Hope this has met your requirements.

Eclipse 64-bit - Android Virtual Device Manager Failed to create SD card

I am running Windows 7 64-bit and Eclipse also 64-bit with the latest ADT plugin installed and the Android ADK. All installed as instructed on the Android SDK site.
When I try to create a new AVD I get the following messages.
[Date *Time* - SDK Manager] Failed to create the SD card.
[Date *Time* - SDK Manager] Failed to create sdcard in the AVD folder.
I have tried different SD card sizes thinking It may be something to do with storage space allocation but that doesn't seem to be the case as my hard-drive has a lot of space left. Considering I have admin rights on my account it shouldn't be that it can't create a folder either. I really have no idea what is going wrong here and all I have been able to find on this are post on Ubuntu, which haven't been much help.
I found similar issue on my windows. Seems like this happen for 64 bit machines only. To solve this, make sure you have full access permission to all files under the Tools folder in Android SDK directory.
For linux/ubuntu, execute the following
chmod -R 777 ../tools
For windows, goto Android SDK directory..
Right click Tools folder > Properties > Go to tab "Security" > Select "Users" > Edit > Select "full control", save and close it.
It should work after doing this
Go to the following directory in your computer:
C:\Users\.android\avd
Inside this directory you will find all files and directories with the definition and content of your avd machines-
Now do the basic troubleshooting steps:
-check if the avd directory exists and if it contains a file with the name "sdcard.img".
-if the file exists, try to rename it (to check if its locked) and then go to eclipse and ask to create a new sd card.
-if it fails, try to create manualy a file with that name to check premissions.
good luck
Close the emulator which is in open, and re-try. This worked for me.

I used the adb install method for my android phone. I can't find the ap on my phone

I followed a tutorial with adb commands to install an application on my phone, but it is nowhere to be found on my phone.
I used the following command:
adb install androidapp.apk
Can someone please help me? It'll be really appreciated.
If you're compiling and exporting your apk file under SDK version 2.1, it will not work on any android version below your SDK export "2.1". Android software is forward compatible not backward compatible. For example if you're programming using the android NDK (ann add-on to the android SDK) package that allows development in the C/C++ family, this is only compatible with android 2.3, android version 2.2 and below support java builds only. Therefore you will reaceive the "There is a problem parsing the package" error.
Create one new Project and choose AVD with version 2.1 now try to run in both
Procedure to install the apk files in Android Emulator(AVD):
Check your installed directory(ex: C:\Program Files (x86)\Android\android-sdk\tools), whether it has the adb.exe or not). If not present in this folder, then download the attachment here, extract the zip files. You will get adb files, copy and paste those three files inside tools folder
Run AVD manager from C:\Program Files (x86)\Android\android-sdk and start the Android Emulator.
Copy and paste the apk file inside the C:\Program Files (x86)\Android\android-sdk\tools
Go to Start -> Run -> cmd
Type cd “C:\Program Files (x86)\Android\android-sdk\tools”
Type adb install example.apk
After getting success command
Go to Application icon in Android emulator, we can see the your application
Thank you.
when application run on emulator it creates an .apk file on project/bin folder. you just connect your android phone with usb mass storage and then copy this apk to SD card. it will then install the app on phone by clicking the apk file on phone. Otherwise post your code to check

How install android sdk plugin from local machine?

I am a developer of Cuba, I can not download the package for Samsung Tablets, I have it on my local machine, but I can not install it, I believe the addon.xml seeks the root of D, as I can create this file? have no idea what format to have?
Sounds like you have addon.xml somewhere saved on your local machine? If so, open it and look for <sdk:url>. Make sure that points to a zip file on your local machine.
Then, run android from your command line. In Tools menu, choose Manage Add-on Sites.... Click on New... and point to your addon.xml file using the file:/// protocol.
After that the Samsung Tablet should show up as an option in your Android SDK Manager for you to install.

Android install apk on phone

I have a game I built in eclipse and now want to install on my phone.
I downloaded ASTRO per an example in YouTube, then copied the .apk file to the SD Card, went to the phone, found it try to install it but it seems like it doesn't recognize it because it does not give me the option to install although I can browse through my assets, drawables etc...
Am I missing something? I just want to download it to the phone ... but all I see is a black list under summary with no description and no button to click on for "Install".
try installing it via adb. Type
'the path to your adb on the pc - it's located in the platform-tools directory of the sdk' install 'the path to your apk on the pc'
in the shell. i.e
adb install myapp.apk in case the path to your adb installation is in the system path and your current directory is the one with the apk.
If you develop i think you got android sdk set up, try to fire up install from the command line by using : adb install
Make sure adb is in your path and your phone has development settings turned on.
you can also open it using the webrowser
using file:///sdcard/bla.apk
If you can browse your assets etc then it sounds like you used long-press in Astro and then told it to 'Extract'. This doesn't install the app, it simply unpacks the apk into its component parts.
Do a 'short-press' (click) on the apk file with Astro and it should give you the option to 'Open App Manager'. This should allow you to install it.
I had this happen to me and this is what I had to do to fix it. Since the option to install is grayed out you need to edit your AndroidManifest.xml and tell Android what sdk version it targets. The version on your phone is probably 2.1 and you have been developing on 2.2. This is what you need to insert into the manifest file.
<uses-sdk
android:minSdkVersion="7" android:targetSdkVersion="8" android:maxSdkVersion="8">
</uses-sdk>
Renaming the .apk to some other extension is not enough to enable beaming. Android will look into the file. You must rename the file then zip it. After that a beam will work and just reverse the process before installing on the device.
This is quite a pain because I beam my apk hundreds of times while testing. On my desire with froyo it was allowed but now on my nexus s with gingerbread it is blocked.
Just figured out you can email the apk to your gmail account as an attatchment and you can install the apk straight from the email. When you open up the email scroll to the very botton and you will see a "Install" button. it's a quick and easy solution.

Categories

Resources