Can't connect target emulator in webOS TV - eclipse

I have installed sdk with ide for webOS TV. I have installed emulator and run it before running webOS TV IDE. However doesn't matter how I try I can't connect to emulator devices. I have the following error:

First, you must run the .vbox file (LG_webOS_TV_Emulator) from Emulator installed directory folder.
If you are using windows OS for example, directory
C:webOS_TV_SDK\Emulator\v3.00\ (.vbox) file
then you can connect to emulator

I run into the same problem, cannot connect the emulator into the IDE. So I've tried to skip this step.
First I've exported my project into .ipk file and then using the "menu" button on the emulated remote control, installed it directly via "App Manager". App was working fine this way.
Funnily enough, after this "workaround" the connection error was somehow fixed within the IDE.

Related

Nativescript project running with Visual Studio Emulator

I have a Nativescript application that I'm developing using VS Code and have no issues when I try to run it using the Nativescript launch configurations from the Nativescript extension, when I'm using a real device connected with USB or when I use one of the android-sdk emulators.
Now I need to run Hyper-V on the machine too and those emulators cannot run when hypervisor is on. So I downloaded and installed Visual Studio Android Emulator which runs fine when I launch it manually.
Problem is that the nativescript project doesn't recognize this device either with tns device or adb devices commands and if I try to launch the application from VS Code it tries to launch one of the other emulators, which obviously fails due to the hypervisor/Intel Haax incompatibility.
Did any of you had this problem before and have any solutions you can share?
Thanks.
Microsoft MSDN say :
If the emulator is running, but it does not appear to be connected to ADB or it does not appear in Android tools that make use of ADB (for example, Android Studio or Eclipse), you may need to adjust where the emulator looks for ADB.
The emulator uses a registry key to identify the base location of your Android SDK, and looks for the \platform-tools\adb.exe file under that directory.
Here We Go!! Step By Step ;)
Copy Your ANDROID SDK PATH for me it look like this :
To modify the Android SDK path used by the emulator:
Open Registry Editor by selecting Run from the Start buttons context menu, typing regedit in the dialog box, and choosing OK.
Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Android SDK Tools in the folder tree on the left.
Note : if Android SDK Tools folder doesn't exist, Create it under WOW6432Node, And open it, And Create a String Value name it Path:)
Modify the Path registry variable to match the path to your Android SDK.
Restart the emulator and you should now be able to see the emulator connected to ADB and associated Android tools.
Now! Open Your Terminal (CMD), and Run ADB command
adb devices -l
YES YES !! The Visual Studio Emulator is running, and connected to ADB!
HERE WE GOO !!
Now We Want To Create A Demo App (for example FIRSTZAKI) ZAKI is my nickname :p
On Terminal (CMD) :
tns create FIRSTZAKI
Choose Android Platform
cd FIRSTZAKI\
tns platform add android
Check if VS EMULATOR is ready!
tns devices
YES YES ^^
Finally Step (RUN/BUILD) :
tns run android
WOW ... Great :)
AND .. Good Luck ♥ — ZAKI

could not find a registered machine named "2014_smart_tv_Emulator_5_1"

I am new in Samsung sdk.
Download sdk for the Samsung SDK.
install virtual box and also add vbox for the emulator.
Emulator is running fine but its not connected run project.
You need to close virtualBox and then try to launch your application from eclipse.
check Window>Preferences>SamsungSmartTv>Emulator and be sure about all the fields.

Working with Samsung Smart TV Emulator (eclipse)

I'm trying to create a Samsung Smart TV application. I have the SDK installed on my windows VM (via VMWare) and it all looks fine until you go to run the application in the emulator. It does nothing.. I even tried starting the emulators manually and here are the respect errors:
[2011]Samsung TV Emulator(2.5.1)
C:\Program Files (x86)\Samsung\Samsung TV SDK 4\Emulator\Emulator2011_v2.5\bin\Emulator2.exe
The application has failed to start because its side-by-side configuration is incorrect. Please set the application event log or use the command-line sxstrace.exe tool for more detail.
[2012]Samsung TV Emulator(3.5.2)
The application was unable to start correctly (0xc0150002). Click OK to close the application.
[2013]Samsung TV Emulator4
The application was unable to start correctly (0xc0150002). Click OK to close the application.
Extra Details
I'm running Windows 7 Pro on Mac OS using VMWare Fusion 5
So I'm not sure what to do at this point. Does anyone know of a work around? Thanks.
I had the same trouble.
Install vcredist_x86.EXE http://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=26347
Exactly vcredist_x86.EXE 2.6 MB
Emulator will work on Windows 7 x64. Checked.

Unable to launch Android emulator from Eclipse/Linux

I'm using Eclipse Juno (build 20120920-0800) on openSUSE 12.2 to code Android applications.
I have installed the SDK by uncompressing it into my home directory (if I install the SDK via YaST package I can't download stuff unless I'm root). I installed ADT from Eclipse Marketplace, configured the path of the SDK and configured a couple of emulator configurations.
I can run and debug fine on my phone, and I guess the same applies to my tablet even if I haven't tried yet.
The real problem is that I can't run the emulator. Clicking on the bacarozzo debug icon prompts me to run the application on the device but doesn't show me available emulators.
If I open the device manager I'm shown with the virtual devices I created but I can't just start any. The progress bar reaches the end, I see no emulator screen and if I try to delete the emulator I'm warned that the instance is running... (OK in the screenshot there is only one, I already managed to delete the other)
I urge to test some GUI features in an outdated version of Android. I have done all the field tests of the business logic code in my program on a JB device and I know for sure that code works on any device.
Now I only need to be backward-compatible with preferences and layouts.
How can I start the emulator in Linux?
Just by luck I managed to run the emulator from console
djechelon#RAYNOR:~/android-sdk-linux/tools> ./emulator-arm -avd Emulator_cell
It came to life and Eclipse debug is detecting it as active device

Android Emulator 'No Service'

I am new to both the android and android development so I'm not on familiar ground here.
When I start the emulator I have no service. Therefore I have no internet connection on the emulator.
I am running Windows 7 and I generally run the emulator via eclipse.
My host machine is connected to the internet via the Local Area Network. There is no proxy.
I have tried:
Disabling all network adapters except for the Local Area Network [link]
Running the emulator from cmd line with: emulator -avd -dns-server 8.8.8.8
Reinstalling the SDK Tools 9 and Platform Tools (rev 2).
Restarting the machine! :P
Is there a setup needed to specify to simulate a 3G connection? Or could this be a Windows 7 permissions issue? Or am I doomed like these folks: link link
Ah! found the solution.. I uninstalled the entire SDK and reinstalled it to C:/Android. I deleted the C:/Users/[your-name]/.android folder and recreated an avd. Voila.. Something in there worked!
[edit]
Actually it looks like you have to keep restarting the emulator until it connects. I will often get no service so I restart a bunch of times till it works.
I found that 'Airplane Mode' was enabled by default in the standalone android emulator - this may also be the cause in the sdk version. Turning this off (by holding down the red power button until the menu came up, and then toggling the airplane mode button/section) allowed the emulator to 'find service' and connect properly through the LAN.