Hi,
I am new to android & currently trying to simulate Zebra Enterprise browser on Android Emulator. Below Configuration I have used -
AVD :
Name: HDT_zebra_API_23
CPU/ABI: Google APIs ARM (armeabi-v7a)
Path: C:\Users****.android\avd\HDT_zebra_API_23.avd
Target: google_apis [Google APIs] (API level 23)
Skin: 1080x1920
SD Card: 100 MiB
hw.dPad: no
runtime.network.speed: full
hw.accelerometer: yes
hw.device.name: HDT_zebra
vm.heapSize: 2048
skin.dynamic: yes
hw.device.manufacturer: User
hw.gps: yes
hw.initialOrientation: Portrait
skin.path.backup: _no_skin
image.androidVersion.api: 23
hw.audioInput: yes
image.sysdir.1: system-images\android-23\google_apis\armeabi-v7a\
hw.cpu.model: cortex-a8
tag.id: google_apis
showDeviceFrame: no
hw.camera.back: emulated
hw.mainKeys: no
AvdId: HDT_zebra_API_23
hw.camera.front: emulated
hw.lcd.density: 480
avd.ini.displayname: HDT_zebra API 23
hw.gpu.mode: auto
hw.device.hash2: MD5:2fa0e16c8cceb7d385183284107c0c88
hw.ramSize: 2048
hw.trackBall: no
PlayStore.enabled: false
hw.battery: yes
hw.cpu.ncore: 4
hw.sdCard: yes
tag.display: Google APIs
runtime.network.latency: none
hw.keyboard: yes
hw.sensors.proximity: yes
disk.dataPartition.size: 1G
hw.sensors.orientation: yes
avd.ini.encoding: UTF-8
hw.gpu.enabled: yes
I have successfully installed Zebra Enterprise browser APK to AVD by referring link -https://techdocs.zebra.com/enterprise-browser/2-0/guide/setup/#connections
Now main issue i am facing is to launch browser. Getting message as shown in picture.
I have tried many options like clearing cache, giving storage permission via settings.
Please let me know if you have any other suggestions. Thanks in advance.
Zebra's Enterprise Browser is only validated to work on physical hardware and emulators are not supported. There will be some hardware dependency causing the launch to fail, most likely the scanner (but that is a guess). No emulators are available for Zebra devices and you will need to obtain physical hardware... there are ways of getting demo kit if you are in their partner program but that is off-topic.
Related
I've Installed the newest version of Android studio, including the newest version of HAXM, ndk, sdk and whatever other related dependencies it installs. Intel Virtualization bios setting thingy I can't remember the name of is enabled and I have no trouble in virtual box and such.
I created an empty activity and tried testing it on the phone, works perfectly. Then I tried it on the emulator and there is a problem when it is hardware accelerated. It just opens a white window. The android studio displays 0 errors and thinks it ran the app properly. The graphics card I have is a gtx 1060 6gb. When it is software accelerated it works but is so slow I would rather use a chisel on a rock to draw the application usage.
So if someone knows a fix it would be nice.
Thanks
Well I have discovered that in order to solve the issue you have to go to the sidebar menu click More>Settings>OpenGL ES Renderer and(in my case) set it to Angle(D3D11) or Angle(D3D9) or Swiftshader. After that you simply restart the emulator and the issue should be gone.
For me Desktop native OpenGL and Autodetect based on host(which probably sets it to the first thing) don't work and leave you with a white screen.
In case someone finds this useful, you can set software acceleration as below and this solved the issue for me on Mac OS. (OP also mentions it works with software acceleration)
Tools > AVD Manager
Select virtual device
Click on Edit (pencil icon for me)
Click "Show Advanced Settings"
Look for Emulated Performance - Graphics
Select "Software" option
Current version of the emulator (27.1.3) doesn't work for me. The emulator just shows a white screen. Even playing with the gpu in the .ini configuration didn't work.
Once I downgraded to 26.1.4 (https://dl.google.com/android/repository/emulator-darwin-4266726.zip) the emulator started working again.
It seems that the Android Emulator is somehow conflicting with the NVidia Web driver on Mac OS. I had the latest NVidia Web driver (378.05.05.25f04) installed and I was having this same problem - the white screen whenever I used Desktop Native rendering (or left it at the automatic default which selects that as well).
I tried the Swift Shader as well, it works but the performance is abysmal!
On a hunch, I switched back to the OS X Default Graphic Driver from the Nvidia Pref Pane in Apple menu settings, and the Desktop Native driver is now working great after the computer restart!
The same problem can happen to the lightning fast Microsoft Android Emulators utilizing Hyper-V that work on both Intel and AMD CPU based PCs. The solution is in the same line as the accepted answer. For those who use Microsoft Android Emulators and land here by searching "android emulator white screen", here is the screenshot showing how to solve the problem by changing the default hw.gpu.mode from the default "auto" to "mesa":
So sorry
Check your onCreate method in your MainActivity.java, it should have setContextView(R.layout.activity_main)
I have been trying for days to get a simple app any app made in livecode to display either on my tablet, smartphone or emulator. It just doesn't work. Here is what I have done:
I have installed my sdk and pointed livecode to it in preferences.
Picked 2.3 as my version
Check my google usb drivers and they are up to date.
I followed live code's step by step and no success. I am thinking that since I am running windows 7 not a Mac, maybe this cant be done. It seems all the developers run Mac's?
I even tried to make a .apk, It made the file but " There was a problem parsing the package" once I got it on my Galaxy tab. I made sure that I checked the box to allow programs to run on my tablet. So I am still stuck.
To see if the SDK is working correctly you could try to use the Android SDK emulator first.
Open the Android SDK Manager and select the menu Tools->Manage AVDs.
There you can create a virtual Android device and run it.
If the virtual device is running you can see the virtual device under "Development->Test Target in Livecode. Select it and either select "Test" under "Development" or press the "Test" button. Does this work?
That error message means that the operating system on your device is preventing the app from being installed. The most likely reason for this is that you haven't changed the "Allow installation of apps from Unknown Sources" setting on your Galaxy Tab. There are other reasons and solutions for this error message - to see them visit Panagiotis's excellent blog post on the LiveCode website, your error message is in the fifth example
https://livecode.com/how-to-deploy-apps-to-android-devices/
I just installed Android Studio (v1.4) on Ubuntu 15.04 (64) and am unable to connect to my Moto G (Android 5.0.2) to run the application I made from a tutorial.
When asked to choose a device, I get the following choice for my device:
TA9290IPXK [NULL] No, minSdk(API 14)>deviceSdk(API 1) TA9290IPXK
I already enabled USB debugging on the device. when running 'adb devices' I get " ?????????????? no permission " and after killing and restarting the adv server it displays the proper serial ID but when going back to Android Studio it still does not work.
Has anyone encountered this issue ? Can someone provide a suggestion of solution please.
An obvious reason for that error message “No, minSDK(API 14) > deviceSDK(API 1)”, which I didn´t find so far mentioned neither at StackOverflow nor by other forums:
If the AVD Manager option for a virtual device “Emulated Performance - [ ] Use Host GPU” is unchecked, the Android simulator works just on "API 1" level :-(.
So if you try to execute a standard Android app ( e.g. "API 14" level ) with this setting,
The Android desktop screen is not displayed but just black screen with “android” in white letters.
When executing “Run / Device Chooser / Choose a running device / Compatible” again, there is the error message “No, minSDK(API 14) > deviceSDK(API 1)”, if “minSDKVersion 14” is set in the project configuration file “app”.
-
Why should you ever try to run the Android simuator with unchecked option?
Well...If your Win8 or Linux computer really provides OpenGL2 graphics, you may operate the simulator with default setting “Emulated Performance - [x] Use Host GPU”.
But if your Win8 or Linux computer just provides OpenGL1 graphics, as my legacy Win8-32bit notebooks “ASUS Eee PC T101MT” and “Dell Vostro 1000” with standard Windows drivers by Microsoft, the Android Simulator crashes by the error message “APPCRASH”, “Fault Module name: libOpenglRender.dll”.
And so by unchecking the option, you can´t run Android apps requiring a usual API level ( API 14,... ) :-(.
Read this article about the incomplete rollout of OpenGL2 drivers for Win,Linux and MacOX on current and legacy computers :-(:
https://github.com/processing/processing/wiki/OpenGL-Issues
Sincerely
Rolf
Ok I found the solution
Turns out I had 2 ADB installed in different Paths and Android studio was getting one of them that was not the correctly configured. I also had not properly set up the udev rules.
Here are the step I took to get it fixed
1. Remove ADB that was installed manually
2. Modify the udev rules to add the devices (It turns out that both my Nexus 7 and Moto G were not Asus and Motorolla respectively but Google inc instead. I acquired the right Vendor ID code using "lsusb" It returns XXXX:YYYY the vendir iD is the XXXX
3. Add the location of the right adb to path ( /Sdk/platform-tools/)
4. Then rebooted all of the devices (computer and android devices) and it seems it worked.
Sorry for not giving out all the terminal lines that were entered, being novice with Ubuntu it may have been a lot more confusing than helping.
Hopefully it can help someone that is in the same situation.
You have to set to connect as camera(even after usb debugging is already enabled)
Thanks to #Jorch914
i already found the solution to this. in order to solve this one, is go to Gradle > Build.gradle(module:app) > and then change the minSdkVersion that is compatible with your phone. Hope this help! :)
When I plug my Galaxy S6 Edge into my computer, Android Studio does not recognize it as an available USB device. I've tried to download a USB Driver update and I have USB Debugging checked on my phone, but nothing is working. What else do I need to do in order to run my app on my phone?
If your settings (S6 USB debugging, driver, Android Studio) are correct, you might try the following:
(On phone) turn USB Debugging OFF
Connect S6 to USB
Click on the notification "connected as MTP device", check the option "camera" (also appropriate for non-MTP connection)
turn USB Debugging back ON
If your device runs Android 6, the notification (step 3 above) should say "Use USB for" and offer 4 choices. You want to click on "Transferring Images".
I had the same problem. I tried with another USB cable (Not the one comes with my s6 edge or any samsung product ) and it worked.
(prior to this i spend almost a day by installing some software and all :(..but only above solution worked for me )
If you see the connected device in the "Other devices" of the Device Manager, try adding "Hardware Ids" of it to android_winusb.inf. Then select "Update Driver Software" in the Device Manager.
The detail can be found in the link below. In my environment, adb_usb.ini was not there, so I skipped it but could recognize my Galaxy S6 Edege.
http://jodieorourke.com/view.php?id=190&blog=news
There are different ways how to connect USB device.
MTP - to enable remote computer browse device's files. Need to be accesible for windows explorer.
Camera - device works as media (photos, videos, music) provider - these media could be imported to other device like PC. Typical usage is with Photo managing SW on PC like Zoner Photo Studi, LightRoom, ...
MIDI (Iam not sure, but another standard how to share music device)
Power only - device does not provide any functions to connected computer, it use only its power over USB cable.
So, change type to MTP or CAMERA and android studio show see your device.
W
Make sure you have enabled developers option this can be enabled by 7 times tapping on Build number in settings ---> About phone.
I know I'm a bit late to answer, but maybe it will help other people in future. Me too I've got a Samsung S7 Edge, and couldn't debug with it. After some checking I realized that the reason is the Knox/My Knox. See here: https://seap.samsung.com/forum-topic/can-i-use-usb-debugging-mode-device-running-knox
What I've done is just go to playstore, found there My Knox and clicked Uninstall, then switched on USB debugging in Developer options that was previously grayed out.
(There are some other manuals on how to disable Knox. Some of them require rooting, but after rooting, I believe Samsung warranty will not work, if something happens to your phone. )
I have purchased Openboard-AM335x board for development purposes for WIN CE platform.
I have gone through online guide to install WINCE on this board. I have installed visual studio, platform builder (WIN EC7), Phytec SDK (PD-13.2.0) and BSP. With this setup, i am able to create NK.bin file and load it to board.
My real problem is, SD card is not detected inside WIN CE OS. I have tried various options related to SDHC and SD BUS in catalog items inside visual studio. But have no luck, still it didn't work.
Please provide your suggestion/guidelines to solve this issue. Waiting for your feedback.
Thanks in advance.
Check that you included the "Device Drivers\SD\SD Bs" and "Device Drivers\SD Clients\SD Memory" components that you can find in the catalog under "Core OS\Windows Embedded" and the BSP-specific SD host driver. To access the SD card you'll have to include also the FAT filesystem that you can find under "File System and Data Store\Storage Manager".
If this doesn't solve your issue you can try to build a debug image and check the debug messages generated when you plug the SD card in.