Issue with installing ADT into eclipse -noob warning - android

I'm trying to get started on Android development for my self taught technology class. I followed numerous tutorials, but I always get stuck here:
I told eclipse to find and install ADT from this url:
https://dl-ssl.google.com/android/eclipse/
But upon install, it gives me this error:
Android Development Tools (16.0.1.v201112150204-238534) requires plug-in "org.eclipse.core.runtime (3.6.0)", or later version.
I have googled around but I cant seem to find what it really means or how to install or obtain what its asking. I'm completely newto this whole development field, i only have experience in VB.net and I really want to start developing android apps to build a portfolio for my class. Thank you so much, I really appreciate all your time

That error stats that your eclipse is older version. you need to download or update eclipse for installing Android ADT.

Related

Problems with Blazor NET MAUI

So there is this new thing of Microsoft wanna-be React Native
https://learn.microsoft.com/en-us/dotnet/maui/
Right off the bat, I was trying to get it working with Visual Studio 2019.
I was following .NET 6 previews, and the blog posts of David Ortinau (the Principal Program Manager, .NET Multi-platform App UI)
It has been four or five years since I last time had a look at Xamarin, at which point I decided it was a disaster, and gradually moved to React Native as a choice of cross-platform mobile UI.
Visual Studio 2019
But after few hours of wrestling with Hyper V, and Visual Studio installer, I was able to run a simple Xamarin app, on an Android emulator. It was super slow tho, even after switching to Intel HAXM.
At this point, I think it's appropriate to ask: what's the deal with Android Device Manager on Windows vs Visual Studio Emulator for Android? They kinda seem to do the same thing, so it's confusing.
Even though the .NET 6 preview 4 states the support, after hours of wrestling with the maui-check tool, I finally gave up on VS2019, and completely uninstalled it from the system.
Visual Studio 2022
I installed Preview 3 (the latest version atm) and followed the installation guide (https://learn.microsoft.com/en-us/dotnet/maui/get-started/installation) step by step all the way.
Was able to run Xamarin Android app. And open a new MAUI project, but running it got an error message:
It looks like you are using an incompatible JDK. Please install and
configure Microsoft Mobile OpenJDK.
Which I was able to resolve with the help of this advice:
https://developercommunity.visualstudio.com/t/issues-creating-android-emulator/1467306
Unfortunately, that didn't help me much further
Building the solution now required iTunes and Apple Developer account, for hot restart.
Luckily I was able to disable that from the options > xamarin > ios
But I was still unable to build Android target. Editing the raw project file (btw, kudos for the VS team for scraping all the overload), removing didn't help either.
I still got
XamarinShellPackage did not load correctly
And when trying to still run the project:
error MSB4057: The target "Run" does not exist in the project. build
failed
Hours later, I got to the root cause of it, thanks to noticing that the Options > Xamarin didn't even open anymore.
And it was, that installing the new JDK from Oracle had changed the path so that it was only accessible for Xamarin projects, but apparently, MAUI type project is only looking at C:\Program Files\Android\jdk-16.0.2.7-hotspot
So I got the latest version on JDK from Microsoft to the above-mentioned path.
And the MAUI Blazor is working - finally! :)

Can anyone help me with installing the correct version of eclipse to use for developing android mobile applications

Can anyone help me with installing the correct version of eclipse to use for developing android mobile applications with the associated plug ins needed
These videos by me :) can help you to set up Android development environment using Eclipse.
Here's the link : Set up android.
Caution : If you have been using Eclipse with ADT, be aware that Android Studio is now the official IDE for Android, so you should migrate to Android Studio to receive all the latest IDE updates. For help moving projects, see Migrating to Android Studio.
As Petey suggested in his comment, I would recommend giving AndroidStudio a spin as it is very well suited to Android programming. However, take a look at the eclipse ADT plugin which can be installed via the eclipse marketplace or a direct download from Google (Google ADT page).
That should give you enough information to get things rolling, but again I would strongly recommend trying to switch over to AndroidStudio. I think you will find the entire experience easier to get into and enjoy.
Here is the link :)
P.S. Why do people still use Eclipse while there is a GREAT tool for developing Android applications?

failed to build project in eclipse with android after add blackberry

I install a blackberry developer plugin in my eclipse indigo that already installed by android. But after i installed the blackberry, my eclipse get an error. The error message is The building workspace has encountered a problem
Errors occurred during the build.
Errors running builder 'Java Builder' on project 'AMDP3'.
net/rim/ejde/external/sourceMapper/SourceMapperAccess
I think it's because my eclipse is confused because it tried to build an android project in the "blackberry way".
My questions are:
Can 1 eclipse contain android and blackberry plugins (i have searched and some say yes while some say no...so i tried to do it)
According to my 1st question, what should i do now?
Thanks
Answer : According to the chosen answer, i recommend you to install 2 different eclipse, but if it's to late just uninstall your BB plugin : CLICK HELP->ABOUT->INSTALLED SOFTWARE->UNINSTALL
While theoretically you can, I'd recommend against it.
I've had a couple of bad experiences where installing BB plugin in eclipse uninstalled some metrics plugin I have already installed. Since then, I tend to use separate eclipses for each platform. Never had this problem with Android plugin. I also refrain to upgrade old BB plugins installs to the newer version, because of compatibility issues.
I usually download the eclipse+BB plugin package available in BlackBerry Developers page, because it comes with the setup almost done, so I can save some time.
If you are going to do it, try to install the problematic one (BB) first, then the Android one.
If your question is: Can I run a single instance of Eclipse for both Android and BlackBerry development?
The answer is: Yes.
Not sure about your error though. In case it helps here's my list of installed software for my working version of Eclipse.

Eclipse with ADT - JUnit Test Not Running With EclEmma

I am currently running Eclipse Juno with the Android Development Tools plugin so I can develop Android applications and test them. To get code coverage of the applications (and preferably the APIs of Android themselves), I installed EclEmma into Eclipse, but just when I was about to run it for the first time, it gives me an error:
Error while dumping coverage data (code 5013).
Socket closed
I don't know what might be causing this, and when I looked it up here, the workaround didn't seem to work or I'm just not sure where those directories it mentioned are when dealing with the Android SDK. Anyone deal with similar problems?
Latest versions of EclEmma use Jacoco, which as far as I know doesn't support off-line instrumentation.
You should try to find a pre-Jacoco version of EclEmma (it was working just one year ago, http://dtmilano.blogspot.ca/2011/07/eclipse-android-and-emma-code-coverage.html) and try to install it on Juno (very unlikely to work) or stick to the HTML reports, wich can be opened in Eclipse, so it's no such a big problem.

More problems installing Android SDK and Eclipse

My first issue is: I cannot seem to find an executable for the Android SDK! I have downloaded and installed via the Android SDK Manager the necessarie files, at least I hope I have. To start the ball rolling I download: API 15, Android SDK tools and platform tools plus Android 3.2. Am I missing something? The problem is I cannot find any executable file to run my `Android SDK! Where is it?
I then went on to download Eclipse Java IDE, thinking that now I have my Android SDK installed it will surely run, the problem here is that when I try to run the executable of the download file it comes back with message:
'The Eclipse executable launcher was unable to locate it's companion shared library'
Any help as to what I could do to finally run my Android SDK or Eclipse Java IDE would much be appreciated.
Download eclipse 'Eclipse IDE for Java Developers' from:
http://www.eclipse.org/downloads/
Then download SDK from:
http://developer.android.com/sdk/index.html
This video can help you:
http://www.youtube.com/watch?v=BLLX9EtG6CI
In fact the SDK has several executables: adb, android, etc. You will access these via Eclipse and/or command line. Setting up the Android development environment is surprisingly painful. It's more or less described here. Try that, and when you run into your next roadblock, you let us know.
An alternative, if you're having troubles getting everything set up, is MOTODEV Studio from Motorola. It's a free product, but requires registration. One of the use cases we pay attention to is new developers who are having trouble with Eclipse and/or the Android SDK.
Disclaimer: it's my team's product.

Categories

Resources