I've tried the solution in this page IBM Worklight 6.1 - Content of HTML file not displayed and it didn't work for me.
Try deleting the wlBuildResources folder.
See my answer here: IBM Worklight 6.1 - Failed re-generating the iPhone native folder
Close Eclipse
Locate your temp folder (Windows, OS X)
Delete the wlBuildResources folder
Open Eclipse
Re-build
Related
I update my android studio to 3.1.3 but I cannot use platform 27 now
when I click "install platform and sync project" it pop up a download window and then disappear. But the error still exist. SDK Platforms is following:
expand SDK:
For anyone get this issue, you should uninstall Android SDK 27 then re-install it from SDK download manager.
#TrongHiue's answer didn't work for me. (Mac user, Android 3.2.1).
I had to close the IDE, go to Library/Android/sdk and rename the 'sdk' folder to 'sdk2'. Then reopen Android Studio - it will prompt you to tell you it can't find the old sdk folder but will automatically use sdk2. Hit ok. Then, let Android Studio re-index. It will now find platform 27 and you should be able to launch your app.
If you want to change your sdk folder back from skd2 to sdk, close the IDE, rename back to 'sdk', re-open the IDE, update the SDK location in File -> Project Structure, and make sure local.properties is pointing to 'sdk' folder and not 'sdk2'.
In my case, I fixed it by click "Edit" (Next to Android SDK Location) and install SDK platform at SDK Setup window.
Click here to see image
For me neither options worked.
I've updated to SKD 29 and Android Studio 3.6.
What did help was going to the SDK Manager and click the "Edit" link next to Android SDK Location. In the next screen you will see a message saying that an existing Android SDK was detected and only missing or outdated SDK components will be downloaded. Click Next and problem solved!
Ran into same problem but with API 26 and (win) studio 3.5.1. XavierDominguez solution was close to what I had to do to fix it. Close IDE, renamed Sdk to Sdk2, reopened studio, problem persisted so closed IDE, renamed it back to Sdk, reopened and worked this time around. Posted in case someone ran across same problem.
This usually happens when popup for update tools and you click on Update and after some time before finishing Update you Cancel It.
Simply Go to FIle--> Invalidate Caches/Restart
This can happen when your sdk location directory has space in it.
Change directory without space and re-build the project. It worked for me.
Old SDK Location: "C:\Users\DELL 15\android-sdks"
New Location: "C:\Users\android-sdks"
I am working on hybrid Apps over IBM Mobile First Foundation on eclipse,I want to build an android app of the project, but when i configure the android SDK location and click on apply, nothing happens
Help!
The question is not clear enough... what are you applying? where? are you getting any errors, if yes, what are they?
When using MobileFirst Studio in Eclipse, the Android project can be generated in two ways.
By using the Google ADT tools.
Install the Eclipse plug-in and re-build the project by right-clicking the application folder and selecting Run As > Run on MobileFirst Development Server
By providing the path to Android Studio.
First install Android Studio and then, in Eclipse, navigate to File > Preferences > MobileFirst. Provide the path to the folder containing the executable. For example in Mac OS X that would be /Applications.
Then right-click on the Android environment folder and select Run As > Android Studio project.
Note: be sure not to convert the project to Gradle structure - this is currently not supported.
I'm using Worklight 6.1 Studio on a OS-X Mavericks, and get the following error while launching the Mobile Browser Simulator. This appears in the Liberty Server console, and the simulator never loads in the browser.
[WARNING ] SRVE0190E: File not found: /dojo/dojo/_base/kernel.js
Any ideas on why this could be happening?
Please edit the question and explain how exactly you are loading the MBS.
The MBS is part of Worklight Console (and available only in the Worklight Studio Eclipse plug-in).
The proper way to interact with it, is like so:
Create an app, add an environment, etc...
Right-click on the application folder > Run As > Run on Worklight Development Server
Right-click on the project folder > Open Worklight Console
Click on the preview app of the environment
Then, the MBS will load and preview your app within it.
Does anyone know how to get the .ipa file for my iPhone environment within IBM worklight?
Inside your iPad environment -> native folder you can find the xCode project file named YourAppNameipad.xcodeproj. Open the file will open the xCode with your current project.
Else right Click your app folder RunAs -> Run As xCode project will open the project in xCode.
After that you can follow the normal procedure to build the IPA.
Select iOS device
Product -> Archive
Please read the training materials IBM provides.
Worklight Studio, the Eclipse plug-in, does not generate the .ipa file for you.
Only Xcode does that, and so in order to "get" the .ipa, you need to actually Build the Xcode project that Worklight Studio generates, in Xcode.
Read here how to get the .ipa file from Xcode.
After I migrated my project Worklight from version 6.0 to 6.1, the following error is occurring when trying to deploy the application:
[2013-12-19 11:37:02] FWLST1040E: android build failed: Cannot
overwrite template file
'C:\workspaces\worklight\CISSMartTax\apps\CISSMartTax\android\native\native.iml'
Unfortunately this currently works for me.
In Worklight 6.0.0.1 I've created a new Worklight project and application with the Android environment, built and deployed it
I then exported the Worklight project as a .zip file
In Worklight 6.1.0 I've imported the above .zipped project, built and deployed it
Ran the generated Android project in the Android emulator
This was with a blank new app; it's possible yours is more intricate than that.
Suggestions:
Delete the native folder and re-build and deploy.
Make sure to back-up any native Java classes and other artifacts you may have previously added to the native folder.
Provide your Worklight project (the original from 6.0.0.x) in a Dropbox download link for analysis...