I am developing a flutter app via vs code, I closed vs code and opened it again and now when i run my code no device is showing to connect.
just like that,
it keeps searching and searching without finding any device.
and the end it shows a box telling "Cannot launch without an active device"
any idea??
please I need to solve this problem a soon as possible.
Related
Every time i try to run in a web mode it says "There is some kind of module missing". and not tells what the module is.
I expected it to come in a web browser or another method.
I suppose that you might be using windows while running the code, please try selecting chrome.
Check here to select the option for device change
Select chrome
or else check for the error message displayed at the bottom right of the code editor.
I have a iPhone app that was working till a few days ago. I could run it from Xcode on my phone but today it crashes with the error:
error: failed to launch '/private/var/mobile/Applications/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/MyAppName.app' -- failed to get the task for process 275
Where xxxx are a set of characters. This is the only warning I get in the Output window.
Closing Xcode and starting again will give different process number on next crash
The app only crashes at random views e.g. the app launches and I can navigate through it up to a certain point, at which it crashes with the error. The next time it may crash on the first views button click.
I have tried a hard reset on my phone but still I get the same problem. I have also deleted the derived data by clicking Options Key -> Product -> Clean build folder... (as I could not find the Developer folder on Lion). I have tried closing Xcode and starting again.
I am using Lion and Xcode 5.0.2.
I am really stuck on this as I have to demo it to a client on Friday and can't figure out what I did wrong?
I have recently added another developer account (working on 2 separate projects, each with its own developer account) and have sent AdHoc demo's through TestFlight to new client.
Could this be what is causing the problem? I have looked in the crashing apps Build Settings -> Code Signing and it appears that i am using the correct account.
This was as per this thread suggestions.
Any help would be appreciated.
Am facing an unusual problem on blackberry, after i have signed my app with the 3 keys and say "load onto device" via Eclipse Java Plugin for Blackberry - the app loads successfully on the device, but when i click on it to launch it - does not open up, nor even a error or a dialog pops up. Please Help - Cant find a solution for this!
I have often had this issue using the 9800 device. After loading apps to the device it starts "not launching". If you go to options -> application manager -> your app's permissions you might see some permissions as custom. Setting these to "allow" fixes it. After a while it stopped launching even when allowed, deleting the app and letting the device reboot fixes it.
This is my personal experience, I don't know what the official bug/fix is
Implement logging in your application. Log every step on the application startup and write log to a text file, located on device SD Card.
When your application has been installed and you have tried to launch it, check this text file to find out, what is going wrong with your application.
Also there is internal logging mechanism, you may employ it, instead of logging to text file.
From my point of view internal log is more suitable for simple logging purposes. If you want complex logging, then text file located on SDCard is preferred.
Try to start the app, then check the device event log. To open the event log viewer, hold 'Alt' and then press L,G,L,G. You will likely see an error explaining the problem in the event log viewer.
I have a app that get launched in the background mode by location region service , I would like to then display a local notification but I need to access core-data to get info for the notification and to query weather it should show the notification. every thing works but the query wont return any data when in the background , If it is not possible to access core-data at that time is there any other way I can store my data so I can read it while running in the background.
I did get this sort of working I think it is more of a issue with xcode 4.2 which is giving me issues I could access the core data file from the background mode only if I run the app from xcode then after I quit running I must open the app on the phone or simulator by clicking the app icon not the run button in xcode then close the app then the next time a run the app on the phone or sim by clicking the app icon not the run button in xcode then the application will access the core-data database. but local notification now wont work on the simulator unless I run form xcode which will then stop core-data access. I guess Im stuck with not being able to build this app till xcode 4.2 is at standard of xcode 3 where I could just get things to work.
Thanks for the comments I think Ive sorted it out , I did not have icloud on my iphone as its older one and I've been testing on simulator and thats is why Ive had this issue so if any one else has this problem the way to fix it is to start and stop your app in the simulator first as when you stop the app by clicking stop in xcode after running it kill the app the wrong way here is the log "9/02/12 12:46:52 PM Application '*App Name**' exited abnormally with signal 9: Killed SpringBoard[5273]" which then stops the app from accessing core data while in background , Ill send apple a bug report but I dont know if its something they want to fix . PS grate Site helpful thanks to anyone who answers Questions :)
I have an iPhone app that I'm trying to run on my phone via Xcode.
It installs and runs without an issue
I make a change in the source code (negligible, like an NSLog())
It installs without an issue
Running causes the error:
Error Starting Executable 'myApp'
Don't know how to run. Try "help target".
I uninstall the app, and reboot the phone
It installs and runs without an issue (until I make another change; then I have to repeat this dance)
Needless to say, having to uninstall the app, reboot the phone, and reinitialize the environment (i.e. set prefs) takes an unreasonable amount of time, and is probably indicative of a serious problem. The issue is, the only vague error message I receive gets me nowhere on Google. Where on earth could this issue be coming from?
With some help from #iphonedev, I figured it out. Turns out it's a glitch in iOS 5 beta. The way to fix it is to remove the device from Development Devices, then re-add it.
Yeah just restarting the iPhone with the lock and home buttons fixes this. Had it happen a few times to me