Cross Platform App IBM Worklight - eclipse

I am using IBM Worklight MEAP for developing Cross Platform application but when I build my project I got following error
[2012-11-30 18:31:47] iphone build failed: com.worklight.builder.exception.WorklightBuildRuntimeException: Resource Manager - Problem reading info.plist file /Users/ipcmac/Documents/workspace_IndigoNew/MYNew/apps/NewApp/iphone/native/MYNewNewAppIphone-Info.plist (No such file or directory) Nested exception: /Users/ipcmac/Documents/workspace_IndigoNew/MYNew/apps/NewApp/iphone/native/MYNewNewAppIphone-Info.plist (No such file or directory)
[2012-11-30 18:32:20] android build failed: com.worklight.builder.exception.WorklightBuildRuntimeException: Resource Manager - Error while reading XML file: /Users/ipcmac/Documents/workspace_IndigoNew/MYNew/apps/NewApp/android/native/AndroidManifest.xml (No such file or directory) Nested exception: /Users/ipcmac/Documents/workspace_IndigoNew/MYNew/apps/NewApp/android/native/AndroidManifest.xml (No such file or directory)
[2012-11-30 18:32:20] A core eclipse exception has occurred: Failed to read project description file from location '/Users/ipcmac/Documents/workspace_IndigoNew/MYNew/apps/NewApp/android/native/.project'.
So any one have solution for this ????

Try and delete the native folders under iPhone and Android and rebuild.

Related

why do I get Gradle task assemble Debug failed error

I imported a flutter project from GitHub. when I tried to run it I had this error(no errors in code). I could not figure out what this error is all about and I keep getting this error for every project which I import from GitHub.Please help me out!
This is the error:
Exception in thread "main" java.util.zip.ZipException: error in opening zip file.
Gradle threw an error while trying to update itself. Retrying the update...
Finished with error: Gradle task assembleDebug failed with exit code 1.
It's kinda common problem when you get a project from github and I solved it once with this answer.
Copy paste from there:
Open your Android Studio preferences(Command + ',') and go to
Languages and Frameworks -> Dart
Check "Enable Dart support for the project your_project_name"
In "Dart SDK path" click in "…" and navigate to flutter SDK directory.
Under that directory you'll find "bin/cache/dart-sdk". This is the
dart sdk path you should use.
Click "Apply"
flutter packages get
flutter run

Failed to load Libmain.so The application will terminate

I am creating Il2cpp build app bundle (~aab file) after publishing it on play store getting "Failed to load Libmain.so The application will terminate" Error while opening app.
I rechecked aab file by WinRAR too still in its lib folder it doesn't have libmain.so file however ARMV7 Have libmain.so file but in ARM64 doesn't have libmain.so file.
I dont know why libmain.so file is not generating in aab file.
Unity version :- 2019.3.0f6
If are using custom gradle whiele building project make sure that everything is ok inside "packagingOptions" My mistake was I have included "exclude ('/lib/arm64-v8a/' + '')".

Intel XDK Google + google services plugin - build fails

I have developed a working hybrid application in which I am using "phonegap-googlemaps-plugin". This plugin needs as a dependency two other which downloads and installs automatically in the project. The dependencies are:
com.google.playservices and plugin.http.request
Using the Cordova-CLI, installing this plugin with the dependencies will fail building the project the 1st time because of a specific directory in the "playservices" plugin. To overcome this, I have to run "ant clean" in my project and also remove/rename that directory. Now, I am using Intel XDK and uploaded my app and installed most of my plugins successfully and run the application on my device. When I am trying to install the google play services plugin, it fails to build because of the reason I described above (I've run through the logs). How can I overcome this issue now?
I have attached the part of the log that shows the fail error
[mergemanifest] Merging AndroidManifest files into one.
[mergemanifest] Manifest merger disabled. Using project manifest only.
[echo] Handling aidl files...
[aidl] No AIDL files to compile.
[echo] ----------
[echo] Handling RenderScript files...
[echo] ----------
[echo] Handling Resources...
[aapt] Generating resource IDs...
[aapt] invalid resource directory name: .../App/platforms/android/com.google.playservices/google-play-services_lib/bin/res/crunch
BUILD FAILED
/Developer/android-sdk-linux/tools/ant/build.xml:653: The following error occurred while executing this line:
/Developer/android-sdk-linux/tools/ant/build.xml:698: null returned: 1
Total time: 5 seconds
Error code 1 for command: ant with args: release,-f,.../App/platforms /android/build.xml,-Dout.dir=ant-build,-Dgen.absolute.dir=ant-gen
Command finished with error code 2: .../App/platforms/android/cordova/build --release
Error: .../App/platforms/android/cordova/build: Command failed with exit code 2
at ChildProcess.whenDone (/Developer/cordova/3.5.0-0.2.7/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:135:23)
at ChildProcess.EventEmitter.emit (events.js:98:17)
at maybeClose (child_process.js:743:16)
at Process.ChildProcess._handle.onexit (child_process.js:810:5)
Thanks in advance.

IBM Worklight 6.0 - Build issues

I am just running a test app, and my build fails with the following logs, I have tried restarting, changing workpace, creating test app but dint work. please let me know.
ipad build failed: Cannot overwrite template file '/Users/mspssmac-pc232938/Documents/Projects/FnApp/testApp/apps/testApp/ipad/native/Settings.bundle/Root.plist'
[2013-08-23 12:04:10] FWLST1040E: iphone build failed: Cannot overwrite template file '/Users/mspssmac-pc232938/Documents/Projects/FnApp/testApp/apps/testApp/iphone/native/Settings.bundle/Root.plist'
[2013-08-23 12:04:10] A core eclipse exception has occurred: Failed to read project description file from location '/Users/mspssmac-pc232938/Documents/Projects/FnApp/testApp/apps/testApp/android/native/.project'.
Thanks
djrecker
Try deleting the native folder
Try running Eclipse with the -clean flag
Is this a shared workspace between Eclipses? Does it work with a local workspace?
See if this helps: Worklight on OS X, iPhone and Android builds fail due to missing info.plist and other files
You have also asked this here: IBM Worklight - Build failed
A common issue for all seems to be:
A core eclipse exception has occurred: Failed to read project
description file from location ... [path to .project file]

Building SoundCloudAPI Fails with Apple Mach-O Librarian Error

I'm trying to integrate SoundCloud sharing into my project using the instructions at https://github.com/soundcloud/CocoaSoundCloudAPI. In my workspace, OHAttributedLabel, OAuth2Client, JSONKit and SoundCloudUI all build fine, but building SoundCloudAPI for iOS always fails with the following errors:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can't locate file for: -lSoundCloudAPI
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: -lSoundCloudAPI is not an object file (not allowed in a library)
Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool failed with exit code 1
Does anyone know what's going on here?