In the SDK Manager when attempting to create a new Android Device ( AVD ), the target dropdown box is greyed out and non functional.
This is my first time setting this up. Any idea what I missed?
Same thing happened to me while trying during the installer. After the SDK finishes downloading, make sure to restart ADB (which it prompts to do) and the target box will become selectable.
Related
I have used Android Studio for several weeks,I use my iPhone to Flutter Attach .
Today I create a new Project, I cannot find the Device Choose Button, Where is the button to Change Device ?
As the Pictures below, I have Two projects, another Project has the "Device Choose Button"
Close the project
Restart your IDE
Do it several times [4-5 times]
Hey friends I am facing an issue when I restart my app then I am not able to click on any button on screen. Whenever I hot reload it then I am able to click. I am using Getx package in flutter.
I guess you are using android emulator, right? Sometimes this happens to me, just click on the bezel of the emulator device until the screen is brighter (the difference is very small, you should pay attention to it). Then try to click on device screen again. If this still doesn't work, stop you device then try to start the emulator using cold boot, see this documentation or you just simply choose cold boot option if you using vscode to start your emulator.
I have had a problem with Eclipse which makes the properties panel options disabled. It usually got fixed after Eclipse restart, but after updating to the latest version of Eclipse and plugins using Help -> Check for updates, I can no longer insert text in the properties panel. For example, I'm working on an Android project at the moment. I wanted to insert a LinearLayout in my application and set it's orientation to horizontal. I couldn't type this in the window so I had to open the XML file and insert the property there.
As you can see in the image, these input fields are all greyed out except for the one I have manually inserted in the code.
Anyone else noticed this or any workarounds?
It was a problem with the Android SDK. The newest version of Android wasn't working correctly. I changed back to level 18 (from 19, Android 4.4) in the layout view in Eclipse and it's working again.
In xcode, I tried to add a tap gesture to my app and when I built it, it started a problem with Xcode. It goes from building, 'running on iPhone 6.1 simulator' to 'finished running on iPhone 6.1 simulator'.
If the simulator is closed, it starts up with a black screen and you cannot click the home button etc. If open, nothing happens, the app doesn't install but the simulator doesn't crash.
I have tried the armv6 architecture 'fix' but that didn't work. I have also cleaned the project and project data. I have reset the simulator multiple times as well.
If I add the old files to my new project, it works up to a point (I copy and paste old files into new) but then the same happens.
Thanks for your help in advance!
NOTE:
New blank projects build and run fine.
EDIT: It still didn't work after undoing my previous actions, and the simulator is responding according to Finder, although the screen stays black
–––––––––––––––––––––––––––––––––––––––––
UPDATE
I had a folder named 'resources' in my application, imported as a reference which, following links from the thread #arthan.v supplied me with fixed the problem. What I did was rename the folder to files and reimport it.
Thank you so much, I spent 2 days trying to fix it before now!
Click the Center Button in View on your right hand side of Xcode.
In your Bottom bar, you'll see error: failed to attach to process ID 0.
Check these error: failed to attach to process ID 0 and Xcode compiles my App, but can't run it in the simulator
This sometimes gets fixed by these steps:
iOS Simulator > Reset Content and Settings ... > Reset
Xcode > Build and Run
I experienced the same issue after I had re-organized some code and renamed the workspace and project. Eventually realized there was an old version of my test app on the simulator's homescreen. I delete that and then everything was building fine again.
You might need to add the device to the provisioning profile. I experienced this on Xcode 6 and a real device.
On Xcode when you build on device you can troubleshoot the app within the console. How can i do that with Titanium? It's very difficult without troubleshooting
What you can do is use the Ti.API.info('whatever') method to log everything you need and will help in debugging then while you run your app on the device and it is connected to your computer, just open xcode -> go to organizer -> click on your device -> and select console. Every Ti.API.info() log you do in your app will show up in the console.
Titanium's SDK (http://www.appcelerator.com/platform/titanium-sdk) is Eclipse with the Aptana plug-in. You can do the same debugging you'd do in Eclipse: set break points, step through code, set watch points, ...
To run your app in debug mode, start by setting some break points in your app. To do that right-click on the line number that's on the far left of our line of code and select "Toggle Breakpoint". Next, towards the top of the Project Explorer panel are several icons. One of them is debug. Click on that debug's dropdown menu and select the iphone emulator or ipad emulator. The app will compile for debug and run the emulator you chose. From this point on, everything is like debugging on Eclipse.