I tried to restart the HTTP and MobileFirst server. one message came that faster preview can't be configured for this project. any solution??
Try to close Eclipse and do the following:
Locate your temp folder (Windows, OS X)
Delete the wlBuildResources folder
Open Eclipse
Re-build
Related
So, I have the Gradle plugin installed and enabled, and I even have it installed on my computer, but for some reason, it's still not showing up in the new project wizard. I have no idea why, though I did enabled Maven and it showed up in the new project window instantly. (I'm using windows 10 btw) My new project wizard window
Reinstall the IDE from the downloads page and delete disabled_plugins.txt file from the config directory.
I have worklight up and running with the "hello world" example running in a Linux environment using instructions from here: http://www.ibm.com/developerworks/mobile/worklight/getting-started.html
But, I can't see the application design because worklight can't load the embedded browser:
Clicking 'additional information' took me to another useless screen:
So, then I pointed to an external browser (chrome in my case),
but still no result:
Then attempting to use the worklight 'console', yields this:
How do I fix this?
This is what you need. You need to manually force a xulrunner version to use.
By "embedded browser" I'm guessing it is trying to open a browser window inside Eclipse...
You can go to Eclipse preferences and search for "web browser". There, change the default browser to your preferred external browser.
Next, or in addition, you can just right-click on the Worklight project and select "Open Worklight console". From there you can click on the "preview common resources" or the environment icon (if you added any) and preview.
The answer has nothing to do with worklight: Eclipse doesn't just "dump" your external browser into an eclipse window.
It uses the webkit libraries to construct a browser frame inside eclipse so that you can interact with it.
For Linux users, you need to make sure the webkit libraries are installed correctly in Linux before Eclipse can discover and use them properly. Heres some instructions:
For me, this was as simple as
sudo apt-get install libwebkit-1.0-0
Followed by restarting Eclipse.
I'm currently struggling to get Android Studio running on my windows box. The problem seems to be that I moved my home-directory to a different drive than C. (Because I have a tiny SSD for the system only and the rest is on my HDD)
I changed the gradle settings from android studio to the correct folder on drive E but when I try to create a new project this error pops up:
Failed to import Gradle project: Could not install Gradle distribution from 'http://services.gradle.org/distributions/gradle-1.6-bin.zip'. java.io.FileNotFoundException: C:\Users\myuser\.gradle\wrapper\dists\gradle-1.6-bin etc.
I need the IDE to download it to E:\Users\myuser\etc.
Any idea where I can configure that? The settings from the settings dialog seem to be ignored.
it happens from time to time when gradle server has a bad day. Usually when they publish new version.
I have a Worklight app, created an apk file from it. Created a Test Project.
Adding the apk file to the workbench, it has an error saying:
Application xxx.apk cannot be imported; it is either an invalid one or
it contains specific features that are not supported.
Try opening the .log file for the worklight workspace. I saw an error saying that for the Rational Test Workbench to work, I need to use JDK and not JRE.
The solution that solves my problem is as follow:
In the workspace, go to Window > Preferences
Expand Java > Installed JREs
Add a new JDK and ticky mark it
Open the xxx.ma file
You should still see the error in that file
Select the mobile app from the test workbench file. Delete it
Add the mobile app again to the test workbench file. It will take some time to process.
The problem is most likely to do with the fact that your Eclipse is not pointing to a JDK.
Please edit eclipse.ini to point to your JDK (-vm ... jdk location...)
I'm trying to profile my Android app. I installed the JProfiler plugin through
IntelliJ IDEA --> Preferences --> Plugins
Here's a screenshot of the plugin description:
When I try to run the profiler nothing happens and I get this message saying that the JProfiler executable is null:
Any idea on how to fix this?
You need to set or re-set the JProfiler executable. Do the following:
Select "Edit Configurations" from the "Run" drop down menu
Select "Application" under "Defaults" in the dialog box (or any existing run configuration)
Select the "Startup/Connection" tab
Select "JProfiler" in the list
Click on the "Select JProfiler Executable" button
Choose the JProfiler executable, which is
[JProfiler installation directory]\bin\jprofiler.exe on Windows
[JProfiler installation directory]/bin/jprofiler on Linux/Unix
[JProfiler installation directory]/bin/macos/jprofiler.sh on Mac OS X
You have to install JProfiler first, you can download it here.
You need to have JProfiler 7.2.2 (or newer) which integrates with IntelliJ IDEA 12
http://www.ej-technologies.com/download/jprofiler/changelog.html#7.2.2
To start, in a file browser check if you have the plugins folder, if not create it, so it looks like this
C:\Users\[username]\.IntelliJIdea12\config\plugins
If running IntelliJ IDEA 12, close it.
Inside JProfiler go to
Session -> IDE Integrations
And choose IntelliJ IDEA 12.x and click Proceed button
Choose your .IntelliJIdea12 folder
C:\Users\[username]\.IntelliJIdea12
And you're done, you should see a new button Next to Run [class#method] with Coverage that says Profile [class#method]