failed to build project in eclipse with android after add blackberry - android

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.

Related

Installation of Cordova on fresh install of latest Ubuntu LTS for Android and IOS

I expect running cordova run android in the path of an existing project (which has been shown to work on other systems) to work on my system. I initially tried the recommended installation instructions on Cordova's website, including the platform-specific instructions, but they didn't work. I've tried following posts on StackOverflow that addressed the pieces of the problem one at a time, but after seeing a great diversity of error messages and following different approaches, I need to go back to a simpler approach and perspective.
Starting from a fresh install of the latest LTS version of Ubuntu, 18.04.4, how do I install Cordova and its dependencies in order to work on the existing project?
Here are some additional considerations.
I'm looking for step-by-step instructions, not an 'approach'.
I have not found a 'duplicate' of this question that actually worked.
I've tried too many combinations of advice to have a reasonable description of "what I've tried"
My question is on topic according to the help center as I am asking about software tools that are commonly used by programmers and my problem is practical and answerable.
You will not need additional details on my system as the fresh install of the specific version mentioned above will be my system. You should be able to reproduce this process on any such system.
I cannot share the project itself as it is proprietary, which is a common situation for software developers.
The focus of this post is narrow. I want cordova run android to have the specified behaviour of its documentation.
This question does not require opinions in its answer. It will be a repeatable and independently verifiable observation whether the answer works, and therefore an objective fact.
UPDATE 1
The following is some configuration information of the system where cordova run android on the existing project worked.
Win10 Home, Version 1909, Build 18363.720
Node v6.2.2
java version 1.8.0_171
javac 1.8.0_112
Gradle 4.7
JDK for original Java from Oracle, not Oracle's Open JDK
Cordova 8.0.0
Android studio 3.1.3
Git 2.19.1.windows.1

How to install new Android Studio extensions to IntelliJ IDEA

Is it possible at the moment to add the Android Studio extensions to a current IntelliJ IDEA installation?
Xavier Ducrohet and Tor Norbye mentioned in their talk, that Android Studio is an extension to the Community Edition of IntelliJ IDEA and that it's not a fork. So it should be possible to add the extension.
Is there an easy way to do so and probably to revert?
They also mentioned in their talk, that Android Studio uses Gradle as default build system. This should break the builds of current modules. Is this correct?
Thanks for the answers, but I finally found the corresponding statement by JetBrains: http://blog.jetbrains.com/blog/2013/05/15/intellij-idea-is-the-base-for-android-studio-the-new-ide-for-android-developers/
You can upgrade by hitting help -> Checking for updates and then choose Early Access Program as channel in the Update settings. You should receive a notification, that version 13 is available.
This EAP version contains almost all Android Studio features except the new Project Wizard and the App Engine Cloud Endpoints, but they will come soon. The reason for the delay is the Google IO, in the future new Android Studio and IntelliJ versions will be synced (mentioned in the comments of the blog post).
I guess it will be at androidstudio but the project is currently empty.
The installation page is here: Android Studio.
From what I understand in the download page & from what they said in the conference, it's a stand alone IDE based on the intelliJ, but i'm skeptical to whether one can get it as an extension to an already installed intelliJ IDEA.
About the build - in Migrating from Eclipse page they explain how to generate Gradle build files for your projects in Eclipse and then import those projects to Android Studio. It's pretty simple and straight forward.

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.

Having a blackberry J2ME and Android Project under Eclipse

I am building a project under netbeans with a lot of preprocessing instructions. Netbeans handle that pretty well but unfortunately it is not very well supported as an IDE for blackberry and android.
So the idea behind this question is to import the project into eclipse in order to get the new features of every plugin and ease the development. I already found a pretty nice solution for handling preprocessing instructions with Antenna, but I would like to know how to handle the multiple facets of the project : an android project with ADT, a blackberry project with its plugin and finally a J2ME project as well. My goal is to taking advantage of the best plugins eclipse has to offer.
(And the project compiles with ant, so no real problem on this side).
Regards,
Stéphane
Well, you would have to create a separate project for each Android, Blackberry etc in the same workspace, then you would have to define the logical dependency between those projects. So if Project A is dependent on Project B, right-click on Project A in the project tree then Properties > Java Build Path > Projects and add the Project B to the list of projects Project A depends on.
This will allow you to work on Project B as if it was a stand alone project and you and work on Project A as if Project B was a part of it.
You can do this with any number of projects.
Regards,
get BB eclipse plugin from Blackberry site
install Android ADT manager from developer.android
install j2me wireless toolkit
create all project separately into same work space
use relative sdk for build path
after creating project you can also copy your source files to your project n file system, you can defile project dependency as Ali said
i reccomend to disable pre-processing, if you are using ant to build, just disabele it from windows > preference
My Suggestion to you is build your project in HTML5.If you are targeting the android as well as Blackberry .I do not Know How you will do it but It will be really easy to transform the the application of Blackberry to Android.
You have to install the BlackBerry plugin from the RIM site and it is a huge download that includes Eclipse itself. Then you can add the Android plugin via the Eclipse "Install New Software" menu.
I personally did it on my home machine and here is how How I had done
First install the the Eclipse plugin provided on blackberry developer site
Next install the android in same eclipse from Android developer site.
And voilla you are ready for android and blackberry development on single eclipse. I dont know about J2ME bcoz I no longer works on it but I think the plugin for Eclipse will do the work
This may not be quite what you're looking for but perhaps use Ant to do the builds, packaging etc. That makes it easier to support multiple platforms, set preprocessor macros etc. So the IDE would be used for mostly editing. Note that on BB you can have the IDE refer to the .jar thus resolving dependencies.
I had faced a similar issue. I installed Android first and was working on Google maps project .Since I shifted to Blackberry for a while, when i tried installing that plug-in,it did not accept it. Later after much research I found out that the Emulator for android was supporting Maps which inturn does not support installation of BlackBerry. Pretty weird. Like ber444 mentioned, BB plugin is a huge download file of 402 MB which consists of eclipse 3.5 support.
I was working on Ganneymede for android and installed indigo for BB but its not supported

Which version of Eclipse to use with Android

I'm an old developer (Active since the Z80 days) starting fresh with Android.
The Android Developers page recommends installing Eclipse before installing the Android SDK.
It also states "There are known issues with the ADT plugin running with Eclipse 3.6. Please stay on 3.5 until further notice."
The Eclipse download page seems to offer 11 different flavors of the package. None mention Android and all seem to be the Version 3.6 that the Android Developers pages recommends avoiding. - What does one do?
Comments welcome
Joe Cullity
Get version 3.5 of Eclipse for Java Developers (you can reach this page via the "Older versions" link on the main download page). One of the problems I had with 3.6 was that autocomplete would freeze up for seconds at a time, trying to look up Android source. Until they fix that, 3.5 is better.
Once you've installed Eclipse, then you can follow the instructions to install the Android plugin.
What I'm running is Eclipse Galileo 3.5.0 and works great for me.
You want to download the "flavor" labeled Eclipse IDE for Java Developers from eclipse.org
I got MotoDev which is a complete Eclipse install with the Android SDK. It has emulators for all Moto phones. Perferct start in my opinion. Plus it's all Eclipse so you can all all the other options you want.
If you are interested download here:
http://developer.motorola.com/docstools/motodevstudio/download/
have fun, I am.

Categories

Resources