Installing windowbuilder in adt juno 4.2.1 - adt

I am both an android developer and a swing developer. I usually use a adt-version of eclipse that was downloaded from google with android development tools, this version seems to be juno 4.2.1.
I am now looking to install windowbuilder in that same eclipse for my swing development, so that I don't have to change eclipse instances all the time when switching between android and swing work.
I have installed windowbuilder core 1.5.2 from help-install new software with no install errors.
The problem is that the windowbuilder doesn't show up. No windowbuilder options under preferences, and no new editors available.
The following link, http://help.eclipse.org/indigo/index.jsp?topic=%2Forg.eclipse.wb.doc.user%2Fhtml%2Ffaq.html under the title "What should I do if WindowBuilder Pro does not appear after installation?" states the following:
"WindowBuilder Pro requires the complete Eclipse SDK to be present, and will not load into an Eclipse subset (like EasyEclipse or the MyEclipse All-in-one edition). The most important piece missing from some Eclipse distributions is the Eclipse PDE (Plug-in Development Environment). You can correct this problem by launching Eclipse and selecting Help > Software Updates"
It seems that the adt bundle from google is not a complete eclipse sdk either then, but I have now installed the plug-in development environment, but no changes to the windowbuilder (even tried to uninstall and install windowbuilder after the plugin-environment install, but no luck)
What else do I have to do to make the adt accept the windowbuilder?
I would not like to do a complete re-install of eclipse/adt.

I had the same problem for my students using an Eclipse. I discovered that the problem was installing the tool at one time. When I installed the components, one at a time, it worked.
Visit http://www.eclipse.org/windowbuilder/download.php
Click the link for the integration version of 4.2 (Juno)
Copy the URL
In Eclipse go to Help | Install new software
Paste the site URL you copied, and
Select the Window Builder Engine
Click the buttons to finish, you will have to restart Eclipse
Revisit Help | install new software
Select the URL you added
Check on Swing designer
Click the buttons to finish, you will have to restart Eclipse. Say yes to warnings
If you also want SWT, repeat the last 4 steps but select SWT.
Then after relaunching Ecplise, File | New | Other | WindowBuilder should launch the wizard.

Related

Android SDK location in OSX - Has it been actually installed by Unity Hub?

We are using Unity 2018.3.8f1.
We have added Android Build Support from Unity Hub - Add Component:
But if we go to Unity Preferences - External Tools, the Android SDK location is empty:
I have not been able to find the location of the Android SDK folder anywhere. I'm wondering if the component installed by Unity Hub is something different to Android SDK. Maybe it must be installed separately from: https://developer.android.com/studio?pkg=tools#downloads?
UPDATE
So far I have installed "Command line tools only" from the previous link. Then, I have installed OpenSDK (Vistual Studio did it for me: it asked me to update and install it as one of the things to update).
But when I opened tools/bin/sdkmanager, it said "Java is not installed". So I also installed Oracle Java SDK. Unfortunately tools/bin/sdkmanager returned errors after it. I applied a few workarounds I found by googling the errors. Still not luck.
So I have moved to the easy way: installing the full version of Android Studio. If we choose custom, we'll see that Android SDK Platform is going to be installed:
So it is working, but I still have not idea of how many things I have duplicated on my system wasting space. I have:
The Android component installed from Unity Hub
Android Studio installed, which comes with the emulator and the IDE (I don't need them)
OpenSDK (installed by Visual Studio)
An embedded version of Java in Unity
Oracle Java
Are they all actually needed? I don't think so!
It seems the only thing you are wondering is if the component installed by Unity hub is something different to Android SDK... the short answer is yes. You have to download it on the Android Developer SDK website you linked in the question. You only need the SDK under "Command line tools only" at the bottom of the page. If you do this you also need to download the jdk separatly here.

Xamarin forms build success but deploy failed

I receive this warning when ever I try to deploy my Xamarin.Froms app to any device or emulator. Also the deploy fails without any errors. I cannot run my app. Can Any one please help me?
The $(TargetFrameworkVersion) for Xamarin.Forms.Platform.dll (vv8.0)
is greater than the $(TargetFrameworkVersion) for your project (v7.1).
You need to increase the $(TargetFrameworkVersion) for your
project. App2.Android C:\Users\subas\source\repos\App2\App2\App2.Android\App2.Android.csproj
EDIT/UPDATE
Right now JDK9 and the Android SDK tools are not compatible with each other - thus Xamarin.Android does not work with JDK9.
Run the following to see the version of java you have installed:
java -version
If it reports something along the lines of java version "9.0.4" you have JDK9.
Specifically there's an issue with the apksigner. It's not using the -classpath switch that the JDK expects.
Easiest way to fix is to install the JDK8 and make sure your PATH is pointed at it.
This documentation gives a solid overview.
ORIGINAL
Sounds like the target Android framework in the project needs to be updated to point to the latest version of Android.
First - make sure you have the latest Android SDKs installed. Here's some documentation on that.
Once you have the latest - here is how to make sure you're targeting the latest - depending on the IDE you're using:
Visual Studio Mac
In the solution explorer, right click the Android project and select options.
Under the Build -> General node - select "Use latest installed platform" from the Target Framework dropdown.
Save everything, close the solution, restart VS-Mac
Visual Studio
Right click the Android project in the solution explorer and select properties
Under the Application node, select Use Latest Platform from the Compile Using Android Version dropdown.
Save everything, close the solution, restart Visual Studio

Issue with Fabric Unity setup. Cannot get past 1st step

I've been trying to setup Fabric on my unity project for analytics and fastlane, but it will not get past Step 1 of the setup.
I have Unity 5.6.3f1 and the plugin installation got through without a hitch on Unity, but it's like the dashboard will not recognize the installation.
I also installed (and reinstalled multiple times) Android Studio with the Android SDK and still nothing.
As per the instructions from Unity, I Built my prototype and ran it on my phone and it worked OK, but still no progress on the Setup.
The Android SDK and JDK point to the correct file path on Unity's preferences as well.
I wanted to try to reinstall the Fabric plugin, but the uninstall instructions on the site's knowledge base is only applicable for Macs and I use a PC. I don't have an option to "quit fabric" nor does it appear in my Android SDK plugin list.
I'm not too sure what to do next.
If I'm missing any info, please let me know.
Thanks!
Edit: forgot to add the screenshot
Screenshot: https://imgur.com/a/JOQuP

On Mac OS X, why doesn't the version of maven bundled with NetBeans 8.0 IDE do a clean / build?

I'm running OS X Mavericks. Then I:
Downloaded / installed NetBeans 8.0 IDE ("All" download).
Opened my maven project in the IDE.
Select project name.
Attempted Clean and Build. No go.
Attempted to generate dependency tree from maven. No go.
It appears the version of maven bundled with NetBeans 8.0 is not working.
Preferences shows the v. 3.0.5 of maven is bundled with the IDE. Here is
the path, I think, to the bundled version:
/Applications/NetBeans/NetBeans\ 8.0.app/Contents/Resources/NetBeans/java/maven
To confirm the project is valid, I then downloaded / installed my own, local
instance of Maven (v. 3.2.3). From the shell, I am able to clean / build
install fine. IE, the project is sound.
Something is awry with the IDE. I've searched Google and Yahoo, to no avail.
So, I think the short explanation of what is going on is that there is
an initialization bug in NetBeans 8.0. Here is what I did to get my
instance of the IDE to start using the bundled version of maven:
Downloaded / installed Apache Tomcat 7.x.
In the NetBeans IDE, went to Services>Servers, and added Tomcat.
In the NetBeans IDE, went to Projects, selected my project, right-clicked, and chose Properties.
In the Project Properties dialog, I selected Run, and chose Apache Tomcat for the Server, added a Context Path, and pressed OK.
Then I added a suitable custom-context to /path/to/apache-tomcat-7/conf/Catalina/localhost/myproject.xml, where I specified a reference to my workspace-instance of my project's war-file.
In addition to all of these steps, I also had to make certain permission-changes for Tomcat configuration files. You will have to figure this step out depending on your installation.
Finally, in the Projects window, I selected my project, right-clicked and selected Run.
Mysteriously, the bundled instance of maven started working.
I hope these steps can help others, as well as the NetBeans team resolve the initialization issue.

adt bundle cannot launch after uninstall android developer tools accidently

when I update android development tools 23 but have some errors like this: Update Eclipse with Android development tools v. 23
and my ADT 23.0 was downloaded through browser on official site.
so I uninstall the pulgins manually but accidently uninstall the android developer tools, now I can't start my ADT Bundle again :( , anyone have some ideal to help me?
I would recommend to just install the ADT installation part freshly.
Remove ADT first:
Open Install new software under help
Click Available Software Sites
Click the Android location
Click Remove
Install ADT freshly:
Open Install new software under help
Click Add
Name: type android
Location: copy this: https://dl-ssl.google.com/android/eclipse/
Click OK
Click the box near Developer Tools
Click Next
Click Next Again
Accept the agreement and click Next
This will install the ADT again!!!
Hope this helps!!

Resources