My Arduino IDE (ver 1.8.12 on Win10) crashes when I launch it. Running the arduino_debug.exe I get this error message.
C:\Program Files (x86)\Arduino>arduino_debug.exe
Set log4j store directory C:\Users\volke\AppData\Local\Arduino15
Loading configuration...
Initializing packages...
java.lang.NullPointerException
at cc.arduino.contributions.packages.ContributionsIndexer.parseIndex(ContributionsIndexer.java:134)
at processing.app.BaseNoGui.initPackages(BaseNoGui.java:483)
at processing.app.Base.<init>(Base.java:273)
at processing.app.Base.main(Base.java:150)
C:\Program Files (x86)\Arduino>
Any solutions? I've tried to delete the config files package_index.json and package_esp32_index.json without any luck.
I've got the same issue - the nightly build seems to work
https://www.arduino.cc/download.php?f=/arduino-nightly-windows.zip
https://www.arduino.cc/en/Main/Software
I'm on Windows 10 having exactly this issue (same arduino_debug log).
I tried uninstalling Arduino IDE and then reinstalling it from executable installer; it worked fine until I opened the Board manager: the problem recurs.
After installing the beta version (arduino beta1.9-BUILD-119), I'm not having any problem.
Just use the latest Arduino IDE Beta Version. It is working now, ignoring that issue. I'm using the ESP8266 board and it's running okay.
The beta version 1.9 worked for me. https://www.arduino.cc/en/Main/Software
It also happens on Manjaro linux. In my case removing the folder .arduino15 solves the issue, but I have to remove it every time I open arduino IDE
rm -rf ~/.arduino15/
Win10 folder location:
%HOMEPATH%\AppData\Local
Related
I'm trying to start the emulator with this command emulator -avd Pixel_4_API_30 but it gives me an error:
[8633370112]:ERROR:android/android-emu/android/qt/qt_setup.cpp:28:Qt library not found at ../emulator/lib64/qt/lib
Could not launch '/Users/primulax/../emulator/qemu/darwin-x86_64/qemu-system-aarch64': No such file or directory
Android Studio specs:
Build #AI-203.7717.56.2031.7935034, built on November 21, 2021
Runtime version: 11.0.10+0-b96-7249189 aarch64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 12.2
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 8
Registry: external.system.auto.import.disabled=true
Non-Bundled Plugins: org.jetbrains.kotlin
✅ I was able to run with ~/Library/Android/sdk/emulator/emulator -avd Pixel_4_API_30 with this command
Use ~/Library/Android/sdk/emulator/emulator instead of ~/Library/Android/sdk/tools/emulator on MacOS, for Ubuntu use ~/Android/Sdk/emulator/emulator.
I just experienced the same issue on a freshly setup machine, emulator installed through SDK manager and all.
The error message says it all actually: If you go to /Users/primulax/../emulator/qemu/ on your machine, you'll notice that of course there is no darwin-x86_64 directory, but darwin_aarch64, since you are on an M1 machine. Whatever the reason is the emulator looks in the wrong directory, if you just duplicate the darwin_aarch64 folder and name your copy darwin-x86_64, it works as intended. Not ideal, but it's a workaround until this path-problem is fixed.
Edit: Please take a look at #Andrew Stromme's comment. Of course symlinking is a much more elegant solution to this problem!
If you have Android Studio installed, you can run the emulator from terminal without having started Android Studio first.
First of all, run
cd ~/Android/Sdk/tools && ./emulator -list-avds
to get a list of all the available Android virtual devices that you have installed.
Then, copy the name of the virtual device you want to use and run
cd ~/Android/Sdk/tools && ./emulator -avd YOUR_DEVICE_NAME
where you replace "YOUR_DEVICE_NAME" with the name of a virtual device that was listed in the installed virtual devices list.
This info and more that you may find useful can be found in the official documentation.
Now for the error you get it's most possibly due to a wrong file path. It seems that others have also faced this issue and a bug has been opened before here. The most common solution proposed is to launch emulator from the
/path/to/android-sdk/tools
directory in command line.
Also, before trying this or any other solution listed in this issue tracker, firstly make sure that you have installed from the SDK Manager the Android Emulator in SDK Tools.
I am trying to build the iOS App on a real device but unfortunately I get hit by a
dsymutil exited with code 1
Things I did:
I did search google but it says my Harddisk is full which is not the
case.
I did try to clean and build multiple times - No success
I did try to reinstall CommandTools by using command xcode-select
--install - No Success
I did remove the CommandTools and then did the reinstall - No Success
Just an FYI
I am using Xcode 11.4 Beta 2
I am logged in with my Apple Account on the Xcode
What my cause this issue?
Any other info you would like to ask do ask.
Thanks
Build Log:
CIS.iOS -> D:\VS Projects\CIS\CIS\CIS\CIS.iOS\bin\iPhone\Debug\CIS.iOS.exe
Detected signing identity:
Code Signing Key: "#####"
(7ECA06BC28377204C91D2E63E69C233982161B28)
Provisioning Profile: "Development" (5aa7573d-6dc8-43e4-9bb0-c65efc5a361a)
Bundle Id: com.#####
App Id: 37M96SGRTW.com.#####
/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/bin/mtouch #/Users/zilon/Library/Caches/Xamarin/mtbs/builds/CIS.iOS/0e17d2ede92713351eb68ac0146dd15c/obj/iPhone/Debug/response-file.rsp --gcc_flags=-ObjC
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): warning MT4174: Unable to locate the block to delegate conversion method for the method CIS.iOS.AppDelegate.WillPresentNotification's parameter #3.
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/dsymutil -t 4 -z -o bin/iPhone/Debug/CIS.iOS.app/../Protobuf.framework.dSYM bin/iPhone/Debug/CIS.iOS.app/Frameworks/Protobuf.framework/Protobuf
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(963,3): error MSB6006: "dsymutil" exited with code 1.
Here is the solution:
I went inside Xcode.
Preferences>Locations> Command Line Tools. Mine was on 13.2, needed to
upgrade to 13.3 (Thought I already had but it must not have done it
automatically)
Click here for more details
Check for Xamarin.ios version, mine was incompatible with visual studio Mac
i changed it when I was debuging on a windows machine connected to a Mac and VS windows said if I wanted to download compatible version, clicked yes and it downloaded and installed on the Mac computer
After that, I wasn't unable to debug on physical devices
suddenly after almost giving up a "Xamarin.ios update is ready, click to install update" came on VS Mac
after that I got no errors
This discussion was very helpful. I also had to make sure my VS for Mac updates were all installed. Once they were, everything needed to align just right, it worked.
We have resolved this issue now. All we did is we just updated Xamarin.iOS, Mono Framework MDK and Visual Studio for Mac to the latest versions.
Just go to Visual Studio → Check for Updates and then update all.
Source: xamarin_forums
The error is kind of a hair puller.
So here is how I did it
First I uninstalled ALL of the XCODE
I followed this article on stackoverflow
After that I downloaded the Xcode from Apple from this article
Also download the CommandLine tools for that version. After that it worked and now I am not getting any error.
Remember this that CommandLine Tool versions should also match. 11.4.2 will not work with 11.3.1. I tested this and wasted alot of time.
Whenever I run the standalone installer for Aptana Studio I get the following error:
Failed to Correctly Aquire installer_git_windows.exe file: CRC Error
I'm running Windows 10, I've looked online for hours and have found no solution.
I had this problem solved by installing the Git from http://go.appcelerator.com/installer_git_windows.exe.
I had the same error. I believe it still has something to do with the NodeJS.
I went to this site https://nodejs.org/en/download/ use the 32 bit version for Windows 10. Then installed an older version of Aptana https://aptana-studio.en.uptodown.com/windows/versions with the 3.4.2 and tada.. it worked. I don't mind the older version for now.
Rename the installer file to "aptana.exe"
Move that file to c drive
Open CMD in administrator mode Type "c:/aptana.exe /passive /norestart"
Press enter
After some process, a new exe file will be available on desktop which you can use.
It worked for me.
Simply download git from https://git-scm.com/download/win and install it manually before launching the Aptana installer and it will work.
install4j's multiplatform installer has been working great for years. Now out of the blue we are getting an error popup dialog that The installation file is corrupted. If it is a download please try again. It has installed about 19MB of 164MB and the last file it didn't write was a small jar that has been in the build for some time now.
We get this error when running the full installer right after it is built as a test. We are also building several 'companion' applications with all the same files just different start up options and its installer run fine.
We are using install4j in batch mode:
install4j version: 5.0.8 (build 5311)
Thanks.
Are you running it on the latest Mac OS? If so then this is because of the latest Gatekeeper "feature" of Apple and you need to sign your code: http://support.apple.com/kb/HT5290
I need System.Numerics in F#
EDIT I think the question is can fsi run with the 4.0 runtime and if so how do I configure it
I run "mono /bin/Fsi" in the Fsharp 4.0 dir I get the following error in both OSX 10.6.4 and Ubuntu 10.1.
I am sure I am missing a path or something
Please note the paths are different on the MAC but I got the same error
error FS0078: Unable to find the file 'System.Numerics.dll' in any of
/opt/mono-2.8/lib/mono/2.0
/home/gary/Downloads/FSharp-2.0.0.0/v4.0/bin
/home/gary/Downloads/FSharp-2.0.0.0/v4.0/bin/
On my MAcbook I copied the mono 4.0 bin dir to one of the above paths and Fsi loads but then it stops with this error.
Error FS0192: internal error: unreachable: GetGlobals
I have not tried this with the Ubuntu laptop
Any help would be appreciated.
G
Use cd /usr/lib/fsharp
then mono fsi.exe
your question brought me to search for fsi (before I could not find it)
Have you tried running sudo install_mono.sh from the F# directory? Also, I think you mean F# 2.0, right?
Make sure that your Mono is installed properly. I don't have my mac at work, so I use my Ubuntu desktop as example.
System.Numerics.dll belongs to Mono not F#. In my installation (Mono 2.8.1 and Ubuntu 10.10), that file is under the following directory
/usr/local/lib/mono/4.0/System.Numerics.dll