How Do I Run Android Studio Code from an exFAT Device? - android-studio

I wanted to save my code from my exFAT Samsung T5 SSD. I don't have a personal laptop, so I am currently using our office laptop. I want to secure my code, but I can't seem to build the code saved from the SSD, but I am getting the following error:
com.android.manifmerger.ManifestMerger2$MergeFailureException: java.io.FileNotFoundException: E:\Project\Android\app\build\intermediates\navigation_json\debug\navigation.json (The system cannot find the path specified)

Related

Error booting Windows 10 system under Virtualbox

In preparation for moving to a new Macbook Pro, I am trying to find a home for my Intel dependent tasks. One such is the Win 10 system that I run under Parallels. I would like to move it to run under Virtualbox on a PC. I have extracted the .hds file from the .pvm package and renamed it to .hdd and added to VB but when I boot it gives an error: "Unexpected Kernel Mode trap". Based on previous posts related to migrating Win 10 from Parallels to VB, I also tried using the prl_disk_tools command to convert the file to plain first and then add it to VB with the same result. Any help in getting this migrated disk to boot under VB would be greatly appreciated.

Cannot create android emulator because image fails to download

I tried to download an android image in android studio but it keeps giving me this error.
This is due to slow internet speed. The error is Read Time out. Try to stop everything else on the internet then again download it or use 3g or 4g data package on your sim, connect your system through the hotspot and then download, it will give you a great speed.

Sharing the same target device across multiple Android Development environments

We have more than one programmer here working on Android code in Android Studio 2.2.2. We're working in debug mode because the code is still in development but we periodically load our latest work on various other employees' devices for them to test with, from the menu bar using Run > Debug 'app'
If I load code onto a device that another developer had previously put code on, Android Studio won't let me, saying there's an incompatibility ([UNINSTALL_FAILED_UPDATE_INCOMPATIBLE] and that I have to uninstall the old code first. I don't want to because I want to retain the old data since we collect debugging and performance data during test runs. (we're developing an industrial process-control app)
Looking on Stack Overflow I find two solutions to this but they are both from the Eclipse era: Using the same debug keystore on multiple computers and Share debug.keystore The files referenced in the solutions seem unique to Eclipse - specifically there seems to be no file called "debug.keystore" anywhere on my development PC.
How do I do a debug 'app' onto a device containing code from another Android Studio without having to erase the previous installations storage?
To avoid the uninstall-install cycles, share the same debug.keystore across the devices.
The location of debug.keystore depends on the value of environment variable $ANDROID_SDK_HOME. debug.keystore can be found in the subfolder .android at the location specified by the environment variable.
However, in case of variable not being defined :
By default, it is stored in the same directory as your Android Virtual Device (AVD) files:
macOS and Linux : ~/.android/
Windows Vista and Windows 7 : C:\Users\your_user_name\.android\
as stated here .

Hard Drive and Android Studio

I had a question about using Android Studio with an external hard drive on Windows 10. If I copy a full android project from my computer to the hard drive can I access the project from the hard drive if I delete the file from the computer itself (With hard drive still plugged in)?
Why bothering deleting the original file on your PC? It's never harmful to keep one backup, right?
But the answer to your question is yes. You should be able to access the project through the external drive as long as you keep it plugged in. Nothing different.
For My experience never delete original project you will needed at some point.
Yes you can access the project from the hard drive In Android Studio by Clicking File > Open select your drive and look for your file.
You will always able to see the project location it is Running from.
Yes, if you copy the project folder on a hard external hard drive you can access it normally. You just have to select it the same way as you would with a local project.
Yes you can. Copy the project to the desired location. Delete the files on the internal HDD. Then launch (or relaunch) Android Studio. Go to File, Open Project, then set the new path to the project on the external HDD.
Yes, you can always use an External hard drive for storage of Android projects. You just need to run it as usual as it is.
But, I will suggest you to use internal SSD drive for executing Android Project because it is much faster than using external HD drive.
Internal Disk start up time of Android studio is approximately 7 to 8 seconds, build times on apps of low/medium complexity were built in 5 seconds.
For external HD start up times were much higher, coming in at approximately 40 seconds. Build times on apps of low/medium complexity were built in 30 to 40 seconds mark.

Loading ROMS to Emu OS

I recently downloaded Emu OS (a Linux distro) and installed it within virtual box. Everything works fine but I am unable to actually run the roms within an emulator. I tried a GBC rom that is in .zip format and I copied and pasted it into the GB and GBC folder, but the emulator itself isn;t able to recognize it. Does anyone have any experience with this or have gotten it to work?
One must simply drag the ROM file to the directory that is associated with the respective emulator. This can be done via the file manager. Afterwards, reboot and select the emulator that you desire and your game should show up in the list.
Note that EmuOS is extremely old and no longer maintained. RetroPi is a good alternative and putting ROMs on that is the same as EmuOS.

Resources