Otherwise, the best programming language to learn on your Mac is. Netbeans is a great fit when it comes to development with Java persistence API, JSP, spring, struts, servlets, web services and Hibernate frameworks. The NetBeans IDE is primarily intended for development in Java but also supports other languages, in particular, PHP, C/Cand HTML5.
![]() Java Se Development Kit 9.0.4 For My Old Full Path ToI used Finder to open the AS app contents, then created an alias that pointed to the enclosed "jre" folder. To be able to choose that location using OS X (Big Sur at any rate) you will need to use cmd+shift+g to open up a field to be able to navigate to that location so that you can click on the "sdk" folder to satisfy LC's file dialog.When it came to getting LC prefs to find the JDK with the one bundled with Android Studio even using cmd+shift+g was not sufficient to enter into the Android Studio package contents from inside LC's file dialog. On OS X that will be something like /Users/bernard/Library/Android/sdk. My guess is that within the LC IDE is that these programs are called without a full path to them, hence the need to set the path.On OS X the "home" folder is within the "Android Studio.app" and the path should point to that folder (javac is within a folder within home/).To discover the location of the SDK of Android Studio, in the preferences/configuration of that tool under the "Android SDK" entry you can find a field marked "Android SDK Location". For anyone trying to do what I've done, once the path variable is set then opening a new terminal one should be able to callAnd the OS should find those executables and launch them. Android emulator mac file sendThe DX tool is being called without knowing how to find the JDK.I finally got passed the "could not encode class" error, which was due to something strange the LC code is doing. This suggests to me that at this point the OS path used by LC is getting screwed up. By putting the followingBefore each point where LC shells out to the relevant Android compilation stages, it is clear that LC is switching from using the Android Studio Javac to using /usr/bin/javac at this point and then failing. This is being thrown at the point where LC tries to call Android's dx tool. This was accepted by LC prefs and inserted as the content of the field marked "JDK Path:" in LC prefs.In compiling an app using 9.6.2 on a M1 Mac I'm getting an error "could not encode class bundle". Then, from within LC's pref file dialog (accessed from the tip above to make the selection button visible), I navigated through the alias to the folder to select "jre/jdk/Contents/Home". But having done all this work (and not assuming everyone will want to have a minimal install like me) I thought I'd write it up so that LC could offer a single, simple Lesson on how to get a standard install working. In doing that, I realised that I could probably just install command line tools. Having got that working, and getting LC to work with that on Win/Mac I then wanted to strip down the Android tools to the least needed. But seeing lots of people going round in circles (as indeed was I), I wanted to find the simplest, most standard Android way of doing things. So I assumed that was what one now had to use. However, when searching for what to do with Android (I've not done anything with it for some years, and didn't any longer have a machine with Android tools and Livecode on it), the Lesson on Android Studio was the one that search engines returned as the most relevant. ![]() Your hints showed the way how to solve. Passed this problem, the next one was "could not compile service support class". Because I wasn't aware of necessary registry setting, I tried to set environment variables. So I'm experienced to follow logic steps and analyze error causes, but such difficulties with LC and Android leads to get grey hair.I wanted to give you a big THANKS as well (at least for Win 10). You must know that I'm a mainframe systems programmer in retirement.
0 Comments
Leave a Reply. |
Details
AuthorGlenn ArchivesCategories |