i am programming in eclipse for the first time and when i create a blackberry project i am getting this error in BlackBerry_App_Descriptor.xml as
Description Resource Path Location Type
InvalidRegex: Pattern value '([a-zA-Z_]{1,63}[\s-a-zA-Z_0-9.]{0,63}[;]?)*' is not a valid regular expression. The reported error was: ''-' is an invalid character range. Write '-'.' at column '19'. BlackBerry_App_Descriptor.xml /sample Unknown XML Problem
please help me out
thanks in advance.
I have had the same problem earlier with my first project on BlackBerry using the Eclipse provided on the site.
Though I took a lot of time to get a workaround for this, the solution is surprisingly simple.
Uninstall the JDK 7.x from your Windows system, adjust your path variables to point to another JDK version, preferably 6. There could be other dependencies in your Eclipse environment which need to be set independently to point to the new JDK (try Windows -> Preferences -> Java -> Installed JREs in your Eclipse and voila!)
see? let us know if you still face the problem..
I'm having the same problem as you are. There is a post regarding this issue at http://supportforums.blackberry.com/t5/Java-Development/InvalidRegex-Pattern-value-a-zA-Z-1-63-a-zA-Z-0-9-0-63-is-not-a/td-p/944343
I haven't been able to solve the problem yet, and I am clueless as to what may be causing it. The answers at the blackberry support forums didn't work for me at all. But do try them out. Best of luck.
The deprecated version of the blackberry development IDE for eclipse (version 1.1 of the pluggin) works fine, but is not available for download anymore.
Related
I've build a complete empty Project and I got this error:
e: This version (1.0.0-alpha13) of the Compose Compiler requires Kotlin version 1.4.30 but you appear to be using Kotlin version 1.4.32 which is not known to be compatible. Please fix your configuration (or suppressKotlinVersionCompatibilityCheck but don't say I didn't warn you!).
What can I do? (Sorry for this dumb question, but I'm complete new to Kotlin)
Thanks, Boothosh
You can go to Plugins in the IDE settings and uninstall the Kotlin one there, and do Install From Disk (under the gear icon) and use one of these: https://plugins.jetbrains.com/plugin/6954-kotlin/versions - you'd probably need to update your gradle files too (I haven't done any of this before so I can't tell you if it works or if you'll run into problems)
Why not just use a newer version of Compose though? They're up to beta 6 now - I can't even see an alpha 13 listed! Seems like a better idea all round, unless there's a really specific reason you need that version you're using?
During installation I get "The feature you are trying to use is on a network resource that is unavailable" and prompt to specify some path to vc_runtimeMinimum_x64.msi. After providing some path to required file I get error states that this file doesn't match required version Minimum Runtime 14.14.26405.
I finally found the solution reading this question: Install vcredist_x64 with VS2017 installer project
I realized that specific VC_Redist.x64.exe files could be downloaded by links like https://aka.ms/vs/15/release/26405.00/VC_Redist.x64.exe, where 26405.00 is exactly the version I was required to fix. Note, that you need version from error text after clicking OK, not from window title.
And the last point is that this exe must be executed from cmd with argument /repair to help me with this issue. Regular execution by double click made no effect.
I found the solution elsewhere. It said to
Fix problems that block programs from being installed or removed
https://support.microsoft.com/en-us/help/17588/windows-fix-problems-that-block-programs-being-installed-or-removed
download troubleshooter button on the link.
Run it - choose option - have problem with installing - it lists programs - choose the missing / problematic visual c++ runtimes in the list
it will run and get fixed.
Repeat for each visual c++ you having problems with. I ran the program multiple times.
I have to thank this comment section for helping me with this problem, since I have not been able to work more efficently with my school, since I din't know what and if a single file somewhere deep down in the computer had to be deleted for this program to work.
I must be missing something terribly obvious here: Since some recent Android Studio update/reinstall (I can't remember) I have to manually set the JRE that should be used - otherwise, an invalid path will be used and the test will fail.
Where do I manage this list? I would like to remove all invalid entries and duplicates.
Currently Intellij Idea does not provide a way to remove the list of JRE Entries. You can try the followings.
First uninstall Intellij Idea editor.
Go to the directory C:\Users\ if you are using windows, remove the folder/s like .IdeaIC. or .IdeaIU.
Reinstall Intellij Idea and select the appropriate JDK version.
OR You can do the following.
As per the above screen shot point to you JDK location.
It will solve the problem.
After following #Sambit's hints and looking around some more I found the solution: The list is stored in (in my case) ~/.AndroidStudio3.4/config/options/jdk.table.xml. There, each list item is represented by a <jdk> element. After removing all the unwanted entries and restarting Android Studio (complete restart, not just close/open project) I now have list that looks much nicer:
I have not tried what happens when you mess up the XML structure so take care!
Im running a fedora 18 box and just installed Qt Creator 3.0,
as well as trying 2.8.1. Both versions, when I pull up my source
code, there are many characters missing in patterns. It looks like
15-25% of the code has sections "missing"
I think its a graphics problem maybe, but I can find no articles online
about this issue so far. Anyone know what this is or how to fix it?
Thanks
EDIT: Here's the image. Also using vim they look fine. Im compiling and running
from an xterm window due to qcreator's issue (unfortunately). if I 'file' the source
files, they are: C source, ASCII text
In Eclipse 3.2.2 on Linux content assist is not finding classes within the same project. Upgrading above 3.2 is not an option as SWT is not available above 3.2 for Solaris.
I have seen suggestions to clean the workspace, reopen the workspace, run eclipse with the -clean command, none of which has worked.
Go to Java/Editor/Content Assist/Advanced in Preferences, and make sure that the correct proposal kinds are selected. Same kind of thing happened to me when I first moved to 3.4.
Thanks for your last comment it worked partially.
If there is any kind of errors, the content assist wont work. Once fixed, it partially works.
I say partially because, there appear to be a bug, when I do Perl EPIC inheritance ex:
package FG::CatalogueFichier;
use FG::Catalogue;
our #ISA = qw(FG::Catalogue);
use strict;
, the inheritted subroutines are not displayed in the content assist.
Are you sure that "build automatically" in the Project menu is checked? :-)
Another thing: is the Problems view, unfiltered, completely clear of compilation errors and of classpath errors?
I sometimes find I "lose" content assist because the "content assist computers" get disabled.
This is in:
[Workspace]\.metadata\.plugins\org.eclipse.core.runtime\.settings
org.eclipse.jdt.ui.prefs
and I just have to remove this property:
content_assist_disabled_computers=