BBM bar export fail on heavy APK - apk

I've already export BBM bar application without problem meanwhile I'm trying to export my application of around 10Mo size and got an error .Can someone help me ? Is there something to configure or is it a bug ?
Thanks in advance for your help :Clap:
StackTrace :
Click the "Details" button to see details
Packaging failed:-1
C:\eclipse>set LIB=C:\eclipse\plugins\net.rim.ajde_1.5.2.201302260701\blackberry.tools.SDK\bin\\..\lib
C:\eclipse>java -Djava.awt.headless=true -Xmx512M -cp "C:\eclipse\plugins\net.rim.ajde_1.5.2.201302260701\blackberry.tools.SDK\bin\\..\lib\BARPackager.jar;C:\eclipse\plugins\net.rim.ajde_1.5.2.201302260701\blackberry.tools.SDK\bin\\..\lib\Apk2Bar.jar" net.rim.tools.apk2bar.Apk2Bar C:\workspace-sts\MyProject\bin\MyProject.apk C:\android-sdks\ -t "C:\workspace-sts\MyProject\dist\Android 4.2.2"
Apk2Bar version 1.5.2
Research In Motion Ltd ? 2012 All rights reserved.
[MyProject.apk]:smileysad:AndroidManifest.xml) targetSdkVersion: 17 is higher than 10:impact=1
[MyProject.apk]:Resizing icon app_icon.png 512x512 -> 114x114
[ERROR] Exception during packaging: Unknown image type 0
java.lang.IllegalArgumentException: Unknown image type 0
at java.awt.image.BufferedImage.<init>(Unknown Source)
at net.rim.tools.apk2bar.Apk2Bar.resize(Apk2Bar.java:523)
at net.rim.tools.apk2bar.Apk2Bar.packageBar(Apk2Bar.java:418)
at net.rim.tools.apk2bar.Apk2Bar.main(Apk2Bar.java:312)
Summary: Total Apk files # 1 succeeded: 0 skipped: 0 failed: 1
Summary: [5]=1; [4]=0; [3]=0; [2]=0; [1]=1;
Impact Legend: [5]=Severe; [4]=High /context; [3]=Medium /context; [2]=Medium-low /context; [1]=Minor;

Well it looks like, from what you have there is a java.lang.IllegalArgumentException
Thrown to indicate that a method has been passed an illegal or inappropriate argument.
From looking at your error message there it should be a problem with one of your images, and i don't think it because the program re-sized the icon. If there's more image types in your program check them out, you might need a try and catch statement.
Also http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html
just shows the exception, i just used google to find it.

It looks like the icon resize operation is failing. Try resizing your icon to 114x114 then apk2bar won't need to resize it.

Related

Throwing error while debug and run PO command in Xcode 12

When I am running application on simulator or device and try to use PO command during debug. Xcode is throwing error instead of printing value. It is happening after I have updated Xcode 12.
error: virtual filesystem overlay file
/all-product-headers.yaml' not found
error: couldn't IRGen expression. Please check the above error messages for possible root causes.
What is the solution for this ?
Any help would be appreciated.
Go to /Users/<YOUR_USER>/Library/Developer/Xcode/ and delete "DerivedData" folder.
If in the path of the missing file is the name of a framework e.g. Usabilla.build/Release-iphonesimulator/Usabilla.build/all-product-headers.yaml
Try using an older version, using version 6.4.7 of Usabilla fixed the issue for me.
If the above fixes don't work, here are some info that might help:
https://steipete.com/posts/couldnt-irgen-expression/

Error in task sequence failure: "Incorrect function: Error 00000001; Source: Windows"

I am receiving the above error when running the task sequence and it is failing on the step that is in the picture I provided. Does anyone have any ideas on why? I know the error is very generic, and I have tried several things to address it - I checked the box to disable 64-bit, I made sure that the package containing the batch file was referenced in that step, etc. Any suggestions would be greatly appreciated, I am very much a noob when it comes to SCCM. Thank you.
Could you post the SMSTS.log saved in C:\Windows\CCM ?
It should contain the reason why this is failing
While looking at your TS, It could be that using a working folder with UNC paths fail the TS because CMD does not support running UNC paths out of the box.
Try adding cmd /c at the start of the Command Line field. It's quirky, but has often fixed my issues.

Xcode bigobj option

hi XCode 5 failed to compile file in 32-bit due to the size of the object file.
I tried to add -Bigobj flag but it doe not change anything.
I tried to change optimization settings without success.
the error is : "fatal error: error in backend: Section too large, can't encode r_address (0x1001a97) into 24 bits of scattered relocation entry."
There is no problems when compiling in 64-bit.
Does anyone have an idea about it ?
Thanks

Command /Developer/Library/PrivateFrameworks/DevToolsCore.framework/Resources/pbxcp failed with exit code 1

While building the application on XCode, i get compilation error
Command /Developer/Library/PrivateFrameworks/DevToolsCore.framework/Resources/pbxcp failed with exit code 1
Any help in resolving the issue would help.
Thanks,
Subrat
i had the same problem ..i have remove some images which is display in red color from my Application and restart this application . its work fine ..
I had the same issue and discovered I had referenced rather than copied an image from a network drive which was no longer available into my project. When I removed the reference and instead copied the image into the project the issue was resolved. Hope this helps

How can I enable "metrics" tab in phpUnderControl?

I downloaded the latest version of phpuc and ezc/Graph. I tested the example project for phpuc and whenever I view the metrics tab I keep getting a null pointer exception:
java.lang.NullPointerException
at net.sourceforge.cruisecontrol.chart.PieChartData.produceDataset(PieChartData.java:52)
at de.laures.cewolf.taglib.DataContainer.getDataset(DataContainer.java:53)
...
...
What did I do wrong?
I was pulling my hair out over this recently - one of the PHP graph classes has a bug which makes graph creation fail. The easiest way is just to rename it (assuming Ubuntu, the path may differ for you):
> cd /usr/share/php/phpUnderControl/Graph/Input/
> sudo mv ClassComplexityInput.php ClassComplexityInput.php.bak
More info at the bottom of http://recursive-design.com/blog/2011/05/13/continuous-integration-for-php-with-php-under-control/

Resources