Android studio 2.3 won't start - android-studio-2.3

I upgraded from studio 2.2 to 2.3 yesterday and when it tried to restart it crashed.
I managed to see a setup wizard for a second but it crashes before I can click on anything.
I opened an issue here and decided to install from scratch.
Studio is still crashing - I tried the cleanup described here and nothing helps.
I updated the JVM to the latest version and nothing changed
This is the crash info I get from the mac
Process: studio [772]
Path: /Applications/Android
Studio.app/Contents/MacOS/studio
Identifier: com.google.android.studio
Version: 2.3 (AI-162.3764568)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: studio [772]
User ID: 501
Date/Time: 2017-03-29 16:36:14.789 +0300
OS Version: Mac OS X 10.10.4 (14E46)
Report Version: 11
Anonymous UUID: E4F7576D-259B-A697-034A-7B7D528789D6
Time Awake Since Boot: 430 seconds
Crashed Thread: 0 AppKit Thread Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGABRT)
Exception Codes: EXC_I386_GPFLT
Application Specific Information:
abort() called
the full crash report
this is the java error log
Any ideas?

looking at the mac crash - a coworker found this line
"JRSInputMethodController availableInputMethodLocales" which led to this known issue of JRE crashing due to additional inputs, I removed my additional keyboard layout and the crash went away.
As stated in the issue - it is fixed in OS X 10.11 or a lower java version - I'm on OS X 10.10 so I'll upgrade to 10.11

Try this:
Download this file: http://tools.android.com/knownissues/studio and replace Studio's Contents/MacOS/studio
In Terminal run this line:
chmod +x /Applications/Android\ Studio.app/Contents/MacOS/studio
Done :)

Related

When running 'ionic build ios' on macOS with node 7 I get stuck on this message: stdout maxBuffer exceeded. How could I solve it?

Suddenly I started having this problem when trying to build my iOS app with ionic build ios . I don't understand what could be causing it, because it was running just fine, then in the next day I get this message:
...
...
Running command: HC-Ionic/hooks/after_prepare/010_add_platform_class.js HC-Ionic
Running command: HC-Ionic/hooks/after_prepare/020_remove_sass_from_platforms.js HC-Ionic
stdout maxBuffer exceeded
The only thing I remember doing before this problem started happening was changing my node version sometimes using the application 'n'. But I already uninstalled the versions, set up the right one, but still was not able to figure out, trying to search on the internet.
This is my system info:
Cordova CLI: 8.1.2 (cordova-lib#8.1.1)
Ionic CLI Version: 2.2.3
Ionic App Lib Version: 2.2.1
ios-deploy version: Not installed
ios-sim version: Not installed
OS: macOS
Node Version: v7.10.1
Xcode version: Xcode 12.4 Build version 12D4e
This configuration is necessary because my app only runs with this node version.
Does anyone have any ideas?
I found a solution. Apparently I had too many simulators on xcode and this exceeded the json in the build. If the list exceeds 200kb, node 7 doesn't compile. Just removed some unnecessary simulators and it worked.
Node versions prior to v 12.x use a default maxBuffer value of 1 kilobyte (source), which is realtively small.
Later releases increased the default maxBuffer to 1 megabyte (source) - you should really consider upgrading as the release of Node you're running is ancient (EOL'd in 2017), at least by software standards.

Xcode 11.3 crashes on launch in macOS Catalina 10.15

I've updated my mac to Catalina 10.15 so I can install and work with the latest Xcode version. After installing the software from the App Store, when I click to start it, but it crashes and shows this error message:
Loading a plug-in failed: The plug-in or one of its prerequisite plug-ins may be missing or damaged and may need to be reinstalled.
I checked the console and I found:
Legacy client com.apple.dt.Xcode connecting to modern client. You can't mix modern clients with legacy clients. ClientConnect: 0x00007fedb3577170 identifier: com.apple.dt.Xcode pid: 773 type: Application>
And the System.log says:
Dec 20 00:38:08 MacBook-Pro com.apple.xpc.launchd[1] (com.apple.xpc.launchd.domain.pid.Xcode.837): Failed to bootstrap path: path = /Applications/Xcode.app/Contents/XPCServices/com.apple.dt.Xcode.SymbolicateXPCService.xpc, error = 129: The service was superseded by a later version
Dec 20 00:38:09 MacBook-Pro com.apple.xpc.launchd[1] (com.apple.AMPDeviceDiscoveryAgent): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
Can you please tell me what's wrong? and how to solve that so I can run Xcode on my Mac?
Try to set the date of your Mac as October 1st, 2019.
After components has been installed, change the date to current again.

win-ios-install.exe crashes instantly in the trigger.io build process

I've got a problem with the win-ios-install.exe used to install the trigger.io build on to the iOS device from Windows (which would be really useful). During the build or if run straight from command prompt it goes down instantly with:-
"win-ios-install.exe has stopped working"
Faulting application name: win-ios-install.exe, version: 0.0.0.0, time stamp: 0x4fbe652b
Faulting module name: ntdll.dll, version: 6.3.9600.16408, time stamp: 0x523d45fa
Exception code: 0xc0000005
Fault offset: 0x0004373d
Faulting process ID: 0x1fd4
Faulting application start time: 0x01cf1368945236b1
Faulting application path: C:\projects\wbprj\trigger\.lib\win-ios-install.exe
Faulting module path: C:\WINDOWS\SYSTEM32\ntdll.dll
Report ID: d206997e-7f5b-11e3-bea7-a4badbfc4d4a
Faulting package full name:
Faulting package-relative application ID:
Sometimes it will also popup a dialog box with a red cross and no title/message, just the OK button.
All other build steps are successful, and it happens with or without the device plugged in (tried ios6 and ios7 ipads).
I've tried to see if it's dependencies, but Dependency Walker just reports that it couldn't read the imports table and shows nothing.
I've tried compatability modes from xp/vista/win7, still same. Checked permissions in the folder, all OK. Stopped all other possible interfering services, including itunes helper, ensured UAC off, stopped windows defender, all still same crash.
A bit stumped now, so any help much appeciated. Windows 8.1 Pro 64-bit, Visual Studio 2010/2012/2013, latest iTunes also installed.
I have exactly the same problem.
This happen under Windows 8.
I had to go back to Windows 7 to have everything work good. (i was about to leave Windows 8 so it's not a problem for me).
But it could be a reason for me to leave trigger.io because my next PC will be Windows 8.

MonoDevelop fails when trying to debug on device

I'm trying to install the iOS app I'm developing on my device, but each time I try MonoDevelop crashes. First the CPU usage spikes and then it stops responding. It seems to be failing when the debugger tries to connect to the device. The application is installed on the device and I can use the app, but I need to see the application output.
I'm using the newest version of MonoDevelop and version 6.0.0 of MonoTouch. Are there any other users with the same experience who have solved this problem?
edit
this is the version information from monodevelop. I've had to treat it like code because else the stackoverflow editor would have made it unreadable.
MonoDevelop 3.1.1
Installation UUID: cf274ee7-dfe8-4ba8-b44c-2c7a0d9a45ab
Runtime:
Mono 2.10.9 (tarball)
GTK 2.24.10
GTK# (2.12.0.0)
Package version: 210090011
Apple Developer Tools:
Xcode 4.5.2 (1847)
Build 4G2008a
Monotouch: 6.0.6
Mono for Android: 4.4.55
Android SDK: /Users/.../Library/Developer/Xamarin/android-sdk-mac_x86
Supported Android versions:
2.1 (API level 7)
2.2 (API level 8)
2.3 (API level 10)
3.1 (API level 12)
4.0 (API level 14)
4.1 (API level 16)
4.2 (API level 17)
Java SDK: /usr
Xamarin.Mac: Not Installed
Build information:
Release ID: 30101000
Git revision: 5d928ec4f9d5864b4db04a1301b8a8649b43fb9d
Build date: 2012-12-14 19:11:30+0000
Xamarin addins: 80f2dcc8fe4ed316b3e77dde496fc33d90305047
Operating System:
Mac OS X 10.8.2
Darwin ---.local 12.2.0 Darwin Kernel Version 12.2.0
Sat Aug 25 00:48:52 PDT 2012
root:xnu-2050.18.24~1/RELEASE_X86_64 x86_64
I got that a lot in the past, while working with a library that wasn't available for the simulator. For me, it was (probably) related to usb link. What you should try:
Turn off itunes (that one is hard to do, you hear a lot of weird sounds around you when music is down)
Enable debugging over wifi (instead of USB) in monodevelop (Preferences>Debugger>iPhone Debugger)
It helped me, hope it'll help you
Not sure what the problem was in the end. OS X seemed to have gone corrupt and wouldn't even start properly any more. Besides the problems I had with MonoDevelop I also started having problems in different software. The solution was to do a full clean install of OS X. I have now been able to update MonoDevelop and MonoTouch and can once again debug apps on devices.
I'm sorry if my solution can't help any other people directly, but perhaps the answer Stephane Delcroix gave may help you!

Application exit with status 45

I have jailbroken device ios version 5.0.1
When ever I try to debug my app on device the app exit with status 45.
I am using xcode 3.2.5 to debug. Is it not possible to debug on device os version higher than xcode sdk?
By the way here is the console log I got
unable to read unknown load command 0x25
unable to read unknown load command 0x26
Program loaded.
target remote-mobile /tmp/.XcodeGDBRemote-414-49
Switching to remote-macosx protocol
mem 0x1000 0x3fffffff cache
mem 0x40000000 0xffffffff none
mem 0x00000000 0x0fff none
run
Running…
[Switching to thread 7171]
[Switching to thread 7171]
sharedlibrary apply-load-rules all
continue
Debugger stopped.
Program exited with status value:45
No it isn't possible, this is most likely due to Xcode 3 not knowing how to handle your version of iOS. You'll either have to find a way to downgrade your device, or upgrade to Xcode 4.2 which supports iOS 5.0.1.

Resources