I am using AWS Workspaces to build an Android App. Everything works great and the speed with which I am able to work is just wonderful. However, one of the major issue I face is that I am unable to Debug my Apps via using USB debugging.
Now I understand that use of AWS Amazon Workspace in such a scenario is bit unusual but I have to use Workspaces for some reason.
Since Workspaces is a VM, so even the Android Emulator is not working.
Please let me know if any of you encountering similar problem and If you found some solution which can help to debug LIVE.
Related
If i develop an app for amazon fire stick but I don't have a Fire stick so how can I check my app?
Is there any emulator for Amazon fire stick ?
When you use regular Android Emulator it's not acting as real firestick device. You will get some new issues with your app when running on Fire OS. So better to use real device and connect that through adb.
See this post on the Amazon Developer docs for some pointers on how to get it working in the emulator. There are some limitations, and from experience I'd probably recommend getting one to work with if you're going to be doing much work with it
Yes, you can create an Android TV emulator and run your app inside it. Follow these steps here: https://developer.amazon.com/docs/fire-app-builder/use-an-android-tv-emulator.html
I am using Android studio 3.0.1 and that is working really very fine. I have upto date SDK version and I have upto date gradle version.
Everything seems to be perfect now. But I am now facing a problem and I have no idea why it is occurring.
Problem:
Whenever I try to access webservices my emulator/AVD never access that. Also I am unable to access the internet using emulator browser. Even it is unable to open the Google.com page.
I have searched this problem but non of them is working for me. I have checked the Ip configrations and that is totally fine. I am not using any specific DNS settings and I am not using any special VPN network. My network adapter is just fine. I am using Windows 7
Please help me if anyone of you having solution of this problem. Thanks in advance.
Well there are couple of cases i want to discuss. And that is totally what I dig out after trying for hours.
I have same Issue. and for this I have seen that there was nothing wrong with the AVD i was creating again and again. But I was using Windows 10 and using android studio over it.
The problem was the virtual networks. I got them created for the Blue stacks and GeneyMotion emulator. They sets the IP and the DNS them self for virtual network
SO if you are having virtual network set their IP to defaults. OR disable them at all. Also disable other networks except the one you are using.
and after doing this all. Create the new AVD and check if that starts working.
Trying to create a new app on react-native. 'react-native start' command gives no error. But I'm not able to see my app on the emulator. Can anyone help me in figuring out the problem. I'm new to react-native.
Are you using a Macbook or Windows? For Windows, you will have to use an Android emulator, thus you will need to download Android Studio, and the Android SDK.
For Mac, you will use the IOS emulator, you will need to download Expo in that case.
Also you could try using the create-react-native-app instead. I built a project with 3 other buddies in two weeks, we found that it had the most reliable boilerplate and is really good for beginning with react-native.
*** Edit:
*** Big caveat with create-react-native-app is that it won't matter what OS your computer has. If you have an apple phone, you just run "npm run ios" then scan the QR code with expo. If you have an Android phone like I had...you will run into a few issues where you need to set the phone to USB debugging mode in the developer's settings, download the USB debugging driver for your phone's model, ensure both your phone and computer are on the same wifi network, install expo, and finally be able to run "npm run android".
I was the only one on my team developing with an Android phone, so if you need advice on that, feel free to ask.
Some extra information about create-react-native-app is that it allows you to code for both Android and IOS phones by using the same project folder, rather than having to adjust settings for one platform at a time.
That has it's pros and cons for sure and there will be little differences in how one platform functions over the other...so my recommendation is to build for one platform at a time, focusing on whichever one you are testing on.
Since you're using Ubuntu
Getting started with create-react-native-app:
https://github.com/react-community/create-react-native-app
Starting Guide for Setting up the Emulator or App Environment on phone:
https://facebook.github.io/react-native/docs/getting-started.html
So I have setup my Xbox One as a dev device and actually was able to run my app on my Xbox, but in order to use some new APIs to turn off scaling and what not I had to change my app target version to Build 14332. Unfortunately, after doing this, I am now not able to publish or debug my app to my Xbox and I am not getting very helpful clues as to why not.
I even reverted the target version back to Build 10240 but I am still getting this error:
Severity Code Description Project File Line Suppression State
Error DEP0700 : Registration of the app failed. Deployment Register
operation with target volume C: on Package
MyCompany.MyApp_1.1.19.0_x64__5wbv4ypmprn7c from:
(AppxManifest.xml) failed with error 0x80070002. See
http://go.microsoft.com/fwlink/?LinkId=235160 for help diagnosing app
deployment issues. (0x80073cf9) MyCompany.MyApp
EDIT: I found a work around. Restart my Xbox One. Literally, every time I run my app, I have to restart my Xbox One! :(
I came across the same issue, and while restarting the console didn't help me, I did find another workaround: go to Dev Home and clicked Remove all Visual Studio pairings. I was able to deploy right after doing that.
I've ran into the really similar problem, however with running on the remote machine. The solution was the same as Pedro Pombeiro did on his Xbox One. I opened Windows Settings > Update & Security > For developers and Unpair All. Problem was solved and I could deploy and run the app on remote PC.
and thank you for your time.
I am using Titanium Appcelerator to write an app for Android, and as compared to Windows, where the emulator was quite stable, in Linux I get the following symptoms:
emulator restart with no reason, sometimes after a runtime error, sometimes right after launching my app, and sometimes just right after booting completely after being launched
emulator informs that "process $1 is not responding", where $1 is generally the system process, but sometimes may be acore, or the calendar. This may happen while installing my app on the emulator, right after loading it, or right after unlocking the screen.
As it is easy to imagine, testing code like this can be quite difficult, so I was wondering, has anyone else stumbled upon this problem, and/or know how it could be solved?
Thank you very much in advance, and pls let me know of any info I should provide.
Leo
You should verify that the emulator is working fine without Appcelerator first. Definitely update to the latest SDK (r8) and create a new emulator AVD and see if the problem is there without Appcelerator.
I think I found a solution, but I don't claim it is universally valid: I just erased the virtual device created under Titanium, changed the project file for it to use SDK 1.4.2, and had it launched again under 1.4.2. It certainly didn't build my app, but at least it created a new virtual device, which I use now to build against 1.5.0, working like a charm so far.
Thanks again Manfred for pointing me in the right direction!