Special characters are displayed - gluon-mobile

I have special characters when I run my application on Android (One plus 5). When launched ondesktop it is OK.
I use the maven command as described in the gluon doc: mvn -Pandroid client:build client:package
Does anyone knwow what could cause the problem ?

Related

Executing Dart File takes too long

As a newbie in dart dev , I starting by setting up my VS Code for Dart/Flutter .
When I try to run a simple Dart program ( just to check everything works fine printing sum of 2 int 4+6 )
PS B:\Flutter> dart .\Sum_Course_Exemple.dart
'git' is not recognized as an internal or external command,
operable program or batch file.
Building flutter tool...
Running pub upgrade...
4+6=10
These lines takes too long to show the output .
Am I doing something wrong ? why it's taking 3min to show that output for a simple code ?
Either Flutter or pub is trying to install or upgrade dependencies, but this relies on Git, which you do not have installed.
As a result, the Flutter SDK tries to perform some first-run initialisation every time you run your program, which is why it takes so long each time.
Git can be obtained from its website.

simple program output does not appear anymore in command window after python upgrade

I have been running simple programs with python3.4 without trouble, directly typing the program name (without the .py extension) from a command shell, in the directory where the python scripts are located. The expected output would then appear in the shell, and upon termination of the program the next prompt appears, as expected. I recently upgraded to 3.6.4 to develop more complex applications using NumPy and pandas. since the upgrade however, running the same programs still work (e.g., I can see the tk windows appear and behave as before), but the next prompt immediately appear in the command window while the program is still running, and the expected output from simple print statements is redirected somewhere (where?). On another hand, running the program by typing 'python program_name.py' rather than just 'program_name' works as before, with the output appearing in the command window as expected. what configuration settings could have been present with 3.4.0 and missing with 3.6.4 that would explain those discrepancies? Thank you.

AWS Appium Project Package

I see below error while packaging appium project for AWS.
Unknown lifecycle phase --DskipTests=true. You must specify a valid lifecycle phase or a goal in the format
Note:
Executing packaging command on mac terminal
Tried both --DskipTests=true & -DskipTests=true (see same error for both)
Looking forward for some help. Thanks!
I work for the AWS Device Farm team.
I have seen this error when users copy-paste the command from the documentation.
We are working on updating this as there seems to be some unknown characters that get introduced.
Users have got this to work by deleting -DskipTests=true and typing it instead of copy pasting it.
Since you are on a Mac terminal you will need to use a single dash '-' for the parameter.
Apologies for the inconvenience.
Hope this helps.

Blackberry application loading on simulator

while loading my application on BlackBerry simulator its displaying given below an error
Unable to start simulator. Check that the file exists. (java.lang.IllegalArgumentException: Executable name has embedded quote, split the arguments)
I had same issue whilst trying to run the demo application.
I am running Windows 7 Professional,JDK 7u21 and STS 3.2.
This is an issue with the changes made to the decoding of command strings specified to Runtime.exec method.
In summary the path configured for the simulator launch contains spaces.In my case "C:\Program Files (x86)"
To Fix this issue
Copy the simulator Dir and MDS to a new directory that has no spaces.
From the run configuration settings,enable the use of Customized Command line ,Customized Working directory and Customized MDS directory.Update the
entries to point to the new path that has no spaces.
Alternatively you can use windows shortened dir name by typing dir /X in the CMD from the directory that contains the simulator and MDS,this should give you something like PROGRAM~2
In the end ,the issue is not with the IDE or the Simulator,just java and windows not playing nice.
see Oracle JDK 7u21 release note
My solution was:
Go to debugger Configurations, Simulator, Advanced and COPY the "default command line".
Hit debug. When the alert with the error appears:
Open a shell/cmd and paste the text obtained in step 1, hit enter.
It should open the emulator an the debugger should attached without a problem.
This is not an error, this is an "upgrade" of Oracle Java due to security issues, you cannot longer execute commandlines with arguments if theyre not passed as an array..
Hope it helps.
Also:
Here is the error documentated:
http://www.oracle.com/technetwork/java/javase/7u21-relnotes-1932873.html#jruntime
Heres the patch but only for java 17 and earlier:
http://www.oracle.com/technetwork/topics/security/javacpuapr2013-1928497.html
remove the Java 7 and keep only the java 6 and it will work fine
i have the same issue and i solve it with the above solution

Continuous Integration server for blackberry development? (and certificate signing)

I overheard another team where I work talking about blackberry development - they are having issues automating builds for blackberry. In particular there is an issue with certificate signing - they have not been able to figure that out yet - it is a manual step right now.
Granted, they/we are new to handheld development, but any pointers to build server and automating a command line certificate signing would be most welcome.
Specific examples and details are probably needed given the short experience our company has with BB development.
I assume hudson would work fine for this - we just have to figure out a command line for the build and signing.
There are different ant & rapc tools for building BlackBerry project, and me myself prefer bb ant tools, but what if you really want to build bb app directly from cmd using only sun java and rim bb sdk?
BerryMore - BlackBerry JDE projects Build & Signing automation - custom ant-rapc jar
Dr.Dobbs BlackBerry Development: Using Apache Ant - clean ant + wtk
Build BlackBerry from command line
"{eJDE path}\components\bin\rapc.exe" -quiet import="{eJDE path}\components\lib\net_rim_api.jar" codename={AppName} -midlet {AppName}.rapc [list of resources] [list *.java files]
Example:
"c:\Program Files\eclipse_bb\plugins\net.rim.eide.componentpack4.5.0_4.5.0.16\components\bin\rapc.exe" -quiet import="c:\Program Files\eclipse_bb\plugins\net.rim.eide.componentpack4.5.0_4.5.0.16\components\lib\net_rim_api.jar" codename=SO45BgAnim -midlet SO45BgAnim.rapc "src\gifanimation.gif" "src\background.png" "src\SO45BgAnim.java"
See also:
CodeForFun: How to use rapc from RIM… dirty details!
Sign BlackBerry from command line
java -jar "{eJDE path}\components\bin\SignatureTool.jar" -a -c -p {password} {path to *.cod}
Example:
java -jar "c:\Program Files\eclipse_bb\plugins\net.rim.eide.componentpack4.5.0_4.5.0.16\components\bin\SignatureTool.jar" -a -c -p pwd#123 "D:\Projects\BlackBerry\TestApp\build\TestApp.cod"
See also:
BlackBerry Support Forum - Request Signatures (Sign Your App) From Command Line
We use BB Ant Tools and it works great, you can even specify the signing password as an argument so there is no user input required.
It looks like there is some workaround:
http://blackberry.synclastic.com/blackberry-code-signing-tips/ (not working as 15/05/2012)
and
http://blog.lightvoid.net/2008/04/28/automated-blackberry-sign-tool-mac-linux-windows/ (points to corporate onidev website as 15/05/2012)
This one looks even better -
http://www.cive.de/projects/signaturetoolrunner/

Resources