Android Studio in hardware device - android-studio

7/12/20
12:11 AM * daemon not running; starting now at tcp:5037
12:11 AM * daemon started successfully
12:11 AM Gradle sync started
12:12 AM Gradle sync finished in 8 s 433 ms (from cached state)
12:13 AM Executing tasks: [:app:assembleDebug] in project /home/memenomentomori/AndroidStudioProjects/KIDKH
12:14 AM Gradle build failed with 1 error(s) in 42 s 763 ms
I'm running the Android Studio 4.0 in
OS : Ubuntu 18.04.4 LTS
Memory : 3.7 GiB
Processor : Intel® Core™ i7-4720HQ CPU # 2.60GHz × 8
Graphics : GeForce GTX 950M/PCIe/SSE2
GNOME : 3.28.2
OS Type : 64-bit
Disk : 984.4 GB
I'm using my phone (Samsung Galaxy Note 9) as an emulator, but it keeps me showing this error code "Gradle build daemon disappeared unexpectedly (it may have been killed or may have crashed)". I only used Basic Activity as my project template, I am new to this, so I am saying my sorry in advance.

Related

Broken symlinks with snap installed packages in KDE Plasma

The example below occurs with the Brave snap, but I think it also happens with all the other snaps.
Steps to reproduce
Install Brave snap via Discover
Open Brave and add pin to Task manager
Update Brave (When available)
Observed Result
Clicking on the pinned icon throws this:
Plasma workspace error:
The file or folder /snap/brave/**158**/opt/brave.com/brave/brave does not exist.
i.e., pinned icon doesn't work (app launching still works via app launcher)
screenshot
Expected Result
App should open.
Temporary Workaround
Manually changing the symlink from "/snap/brave/158/opt/brave.com/brave/brave " to "/snap/brave/current/opt/brave.com/brave/brave" works BUT updating the app recreates the problem : app doesn't open and
Plasma workspace (updated) error :
The file or folder /snap/brave/**160**/opt/brave.com/brave/brave does not exist.
Software/OS version
Operating System Distribution
KDE neon 5.24
KDE Plasma Version
5.24.5
KDE Frameworks Version
5.93.0
Qt Version
5.15.3
Kernel Version
5.13.0-41-generic (64-bit)
Graphics Platform
X11
Processors
4 × Intel® Core™ m3-6Y30 CPU # 0.90GHz
Memory
3.6 GiB of RAM
Graphics Processor
Mesa Intel® HD Graphics 515
Additional information
I have noticed the version number in the path name (here:160) differs from the the new version numbers, after the update.
My current folders are :
/snap/brave/162
/snap/brave/161
/snap/brave/current

High CPU Usage - Android Emulator (qemu-system-x86)

Distro - Ubuntu 20.04.2 LTS x86_64
System Specs -
RAM: 8G
CPU: AMD Ryzen 5 3550H with Radeon V
GPU: AMD ATI 05:00.0 Picasso
GPU: NVIDIA GeForce GTX 1650 Mobile
Running only android studio works just fine but when i try to just open my firefox it becomes too much for the system and it makes the whole system slow like can't even open my terminal. I have to press and hold my power button to shutdown and reboot.
By using top - %CPU even shown 600.3 which is insane!!!

How to fix InstallShield Wizard Error -5011:0x8000ffff?

I encountered this error message while installing Hunting Unlimited 2010 software.
Error Screen:
The entire error message:
Error Code: -5011 : 0x8000ffff
Error Information:
>Kernel\ObjectWrapper.cpp (498)
>Kernel\IScriptWrapper.cpp (80)
>Kernel\ObjectWrapper.cpp (197)
>Kernel\IScriptWrapper.cpp (80)
>SetupNew\setup.cpp (478)
PAPP:Hunting Unlimited 2010
PVENDOR:Valusoft
PGUID:9ED06229-1F1B-4AE2-970D-5F731E8C8C35
$14.0.0.162PAK
#Windows Vista Service Pack 0 (9200) Non IE/Netscape 1992.2
I tried running it as an administrator and running it in all compatibility modes. Nothing worked.
My Computer Features
Acer Aspire E1-522
AMD Radeon HD 8330 with 512 MB Graphics System Memory (4 GPUs) ~1.5GHz
8 GB DDR3 L Memory
Windows 8 (64bit)
DirectX 11
Write who knows how to solve this error.
Please refer this https://www.errorvault.com/en/troubleshooting/runtime-errors/flexera-software-inc/installshield/error-5011_installshield-error-code-5011, it may be of help
The reason is mostly unknown.
Please do your windows update before you try the options listed in the link.
Most of the times, it is related to VC++ runtime. Please try uninstall VC++ run time and install the latest

Android Studio Error: VCPU Shutdown request

I,m running Intel Core i3, 4 GB Ram, 32bit, HAXM Version 7.2.0
Android emulator: Nexus 5X API 28
I give the following command in the terminal:
E:\Android_SDK\emulator>emulator #Nexus_5X_API_28
HAX is working and emulator runs in fast virt mode.
VCPU shutdown request (Shows the same about 15 times)
emulator: WARNING: Not saving state: emulator hasn't finished booting.
VCPU shutdown request
Tried all the methods but none of them helped.
For me, reinstalling intel haxm and it worked perfectly.
I had exact the same problem in Windows 10. The only solution I could find was that running emulator in terminal with administrator mode.
Good luck!

in pytorch, cuda.is_availbale(), but every operation fails with out of memory

I've set up a new virtual machine (on GCP) with a K80 GPU on Ubuntu 16.
Followed installation instructions for the CUDA toolkit 9.1
nvidia-smi returns correctly:
NVIDIA-SMI 390.12 Driver Version: 390.12
...
in pytorch, cuda.is_available() returns True,
but any operation fails:
torch.randn(10).cuda() ==>
RuntimeError: cuda runtime error (2) : out of memory at /opt/conda/conda-
bld/pytorch_1512378422383/work/torch/lib/THC/generic/THCStorage.cu:58
What am I missing in the installation?
Oh.. Never mind I had to restart the machine for the drivers to reload.
sometimes the GPU memory is occupied by the previous operation to free up the memory the IDE kernel (spyder/spyder3) can be restarted or restart your PC.
try the code with sudo command if you are using Ubuntu.
hope it works for you as well.

Resources