Blackberry eclipse jde plugin - blackberry

I have installed the eclipse for blackberry development from the blackberry eclipse download site https://developer.blackberry.com/java/download/eclipse successfully. The current version of the blackberry JDE is 7.1.
I tried adding the other versions 5.0 and 6.0 using the Help --> Install Software feature of eclipse by adding the download site from blackberry as https://developer.blackberry.com/java/download/eclipse. But unfortunately after selecting version 5.0 or 6.0 the download fails halfway with time-out.
So I tried downloading the said jar files separately. They are
net.rim.ejde.componentpack5.0.0_5.0.0.36.jar (250 MB file)
net.rim.ejde.componentpack6.0.0_6.0.0.43.jar (260 MB file)
Then I tried adding them but don't know the correct way of doing it.
tried putting it in plugin folder
tried putting in drop ins folder
I just was unable to figure out how to include this Jar file for compiling the blackberry code for the above versions of 5 and 6 along with the simulators.
Any ideas?

Update you Eclipse with the following URL
I have tried with this URL and this works for me, you will get 4.5,
5.0, 6.0 versions API's and Simulator.
Checkout the link, this will give you demonstration, that how to update Eclips

Related

APK fails to be installed on any device

I'm new in the Xamarin Development world so I installed Visual Studio 2017 with all the needed cross compiler features.
After downloading and updating the SDKs for Android API 23, 24, 25 and 26 and some corresponding emulator images I got the emulators starting up.
I created a base Xamarin Android App within VS, compiled and deployed it to the simulator.
By deploying/installing the generated APK to the simulator I get the following error:
Failure [INSTALL_FAILED_INVALID_APK: Package couldn't be installed in /data/app/BlankAndroid.BlankAndroid-1: Package /data/app/BlankAndroid.BlankAndroid-1/base.apk code is missing]
It doesn't matter which SDK I choose as “Target Framework” or which Simulator I choose (Android 6, Android 7 or 7.1). The result is the same: The apk is not installed, but the “Mono Shared Runtime” are present and will be updated.
I figured out that the created apk file does not contain a file “classes.dex” or any oder dex files just some ressources. A file “classes.zip” in the directory “obj\Debug\android\bin\classes” with the generated java classes out of my C# is present. These files should be compiled with the DEX-Compiler to the classes.dex file, when I understood correctly.
Even other sample projects from the Internet have exactly the same result.
What do I do wrong?
The problem got solved by fresh installing the Android SDK and all related components. It seemed to have a SDK missmatch between an old Google Android SDK and the new installed Xamarin Android SDK.
I faced the same problem and tried many solutions from the search in web but this one to an extent solved that deploy failure issue.
In the emulator, open settings -> Apps -> Uninstall your app if it is listed
Deploy the app from visual studio again.
This solved the problem that said base.apk is missing.
Try setting your project back to the current recommended defaults. Remove all of the following properties from the .csproj file:
AndroidEnableMultiDex
AndroidDexGenerator
AndroidLinkTool
AndroidDexTool
This will let Xamarin.Android pick the current latest default values, this apply for Visual Studio for Mac and VS 2017-2019

How to solve "invalid project" for webworks for blackberry 10

i have installed webworks for blackberry 10 in widows 8, but i am not able to open up projects from the web tool. i am always getting the "invalid project" error. Any one have an idea on how to solve this
The format of your project must be compatible with the SDK. If you created an old project using version 1.0 of the WebWorks SDK for BB10, then it is not compatible. Version 2.0 introduced major changes to align with Cordova, which made changes to how project folders are structured.
You can fix this by first creating a default project using the new format, copying in your existing assets, and then open that project using the GUI:
Ensure the BlackBerry 10 WebWorks SDK 2.0 is correctly installed.
Open a command prompt (windows) or terminal (mac) and run the following command:
webworks create <your source folder>\YourApp
Replace the default YourApp\www folder with the \www folder from your existing project
Use the Web tool to open the YourApp project
Hope that helps.

IBM Worklight 6.1 - Failed re-generating the iPhone native folder

I've recently upgraded from Worklight 6.0 to 6.1 and I'm trying to get an update from a 6.1 Worklight Server from an iPhone that has a version built from 6.0 on it. This does not seem to work, so I figured I must manually deploy a version on the iPhone that was built from 6.1 in order to get the update. So I deleted the native folder under iPhone so that when I build it would regenerate itself, but I got the following error on build:
iphone build failed: com.worklight.builder.sourcemanager.handlers.ios.settings.IOSAddRemoveSettingsRefHandler - cannot update content of pbxproj file
My Worklight Studio version: 6.1.0.00-20131219-1900
The platform version in my application-description is also 6.1.0.00-20131219-1900.
I was able to rebuild the Android version and redeploy on my phone and successfully get updates.
Any ideas what the problem could be? I thought that if I deleted the native folder I should be able to always generate a new one by building.
Try the following:
Close Eclipse
Locate your temp folder (Windows, OS X, Linux)
Delete the wlBuildResources folder
Open Eclipse
Re-build

Error while importing BlackBerry project in Eclipse - BlackBerry JRE 4.7.0[unbound]

I am new in BlackBerry application development. I have installed "BlackBerry Plug-ins for Eclipse version 7.1" successfully. Now I am trying to import one existing project into Eclipse, it is showing the following error:
Build path entry is missing: org.eclipse.jdt.lau...de.BlackBerryVMInstallType/BlackBerry JRE 4.7.0
what is the reason for this?
If you have only installed the OS 7.1 plugin, then you won't be able to target OS 4.7.
You'll need to also install the SDK for OS 4.7. To do that, in Eclipse, go to the Help menu, then Install New Software..., then select the Work With: pull-down menu, and pick the BlackBerry Eclipse Plugin site.
Then, in the center of the window, you'll select the SDKs (OS Versions) you want to directly target:
As you see, I'm using the Mac Eclipse Plugin, and it doesn't even show OS 4.7 ... I can't remember if the Windows versions still supports 4.7 (I think it might offer a 4.5 plugin). Basically, all the 4.7 devices out there should be eligible for free upgrades to 5.0, so I don't know that it's worth it to support 4.7 anymore. Just support OS 5.0+.
Once you're sure that you have the correct SDK, then in the window you show in your screenshot, try removing that OS 4.7 library. Then, use the Add Library.. button, select JRE System Library and pick the BlackBerry JRE 5.0.0 (it may be in the Alternate JRE menu):
After you do that, try cleaning and rebuilding your project.

BlackBerry 4.2 JDE for Eclipse

I have developed an app for Blackberry 5.0. Now I am trying to make the app available for 4.2 version onwards.
I have used Blackberry 1.1 plugin for eclipse 3.5, but I can't get the 4.2 JDE to show up in my Eclipse update list - using URL http://www.blackberry.com/go/eclipseUpdate/3.5/java
I manually downloaded the 4.2 component pack and installed it. I have created a new project and added 4.2 jar file to the User path that is in the installation directory. There are two issues:
1) It does not seem to be working and also I can't get a cod file in the deliverables folder when I build the project.
2) The simulator that is provided with the jde doesnt seem to be working. I can't even launch the simulator. Should I download 4.2 simulators from BB?
I don't think Blackberry Eclipse Plugin 1.1 works with 4.2 component pack. The previous version worked.
1.1 supports only jde 4.5 and higher.

Resources