libwebviewchromium.so error in my last (and first) android 4.4.4 build - android-4.4-kitkat

I'm getting this error on my latest (and first) AOSPA build for lt01wifi.
It happens when I try to open Browser but it crashes before it opens.
Error Log:
I/LibraryLoader( 5999): Loading: webviewchromium
E/ActivityThread( 5999): Failed to find provider info for com.google.settings
E/dalvikvm( 5999): dlopen("/system/lib/libwebviewchromium.so") failed: dlopen failed: empty/missing DT_HASH in "libwebviewchromium.so" (built with --hash-style=gnu?)
E/WebViewFactory( 5999): error instantiating provider
E/WebViewFactory( 5999): java.lang.RuntimeException: Cannot load WebView

Probably it is the .so file itself that is the problem.
It was built with --hash-style=gnu, which is not supported in Android platform.
You should build your .so file again.
And this link could be helpful.

Related

Missing productTypeIdentifier error using new Apple Build System (xcbuild)

I have an XCode project that builds with the legacy build system, but when using the new build system under xcode11 immediately fails with the err:
.. forcing incremental PIF cache clear after loading error: Required key 'productTypeIdentifier' is missing in StandardTarget dictionary
note: Using new build system
error: Build service could not start build operation: unknown error while handling message: MsgHandlingError(message: "no PIF transfer has been initiated")
I'm looking for any info that might help clarify this.
What is a 'StandardTarget dictionary'? Can I add the missing key directly? Or is this a consequence some other setting?
Are there any 'PIF transfer' experts out there?

XCode upload issue with iTMSTransporter

I'm trying to upload my archive to iTunesConnect through xCode but I keep getting this error and I can't find information anywhere about how to resolve it:
App Store Connect Operation Error
An error occurred while trying to start the iTMSTransporter
I'm not even sure what iTMSTransporter is or why it stopped working. Screenshot of the error message.
Also is there a way for me more detailed logs about the failure somewhere or more generally when xCode fails to upload an archive?
Thanks in advance.
Update: I managed to retrieve the logs and seems like Transporter is crashing due to a stack overflow, is there a way of preventing this?
[...]
[2020-01-15 15:40:01 GMT] <main> ERROR: An error occurred while trying to start the iTMSTransporter
java.lang.StackOverflowError
at java.security.AccessController.doPrivileged(Native Method)
at sun.net.spi.DefaultProxySelector.select(DefaultProxySelector.java:207)
at org.apache.http.impl.conn.SystemDefaultRoutePlanner.determineProxy(SystemDefaultRoutePlanner.java:94)
at com.apple.transporter.core.impl.DataCenterRoutePlanner.determineRoute(DataCenterRoutePlanner.java:50)
at org.apache.http.impl.client.InternalHttpClient.determineRoute(InternalHttpClient.java:125)
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
at com.apple.transporter.JSONService.invoke(JSONService.java:385)
at com.apple.transporter.WebService.invokeStandard(WebService.java:1244)
at com.apple.transporter.WebService.invokeStandard(WebService.java:1203)
at com.apple.transporter.WebService.invokeStandard(WebService.java:1167)
at com.apple.transporter.WebService.invokeStandard(WebService.java:1163)
at com.apple.transporter.WebService.keepSessionAlive(WebService.java:1798)
at com.apple.transporter.WebService.preProcessResult(WebService.java:1750)
at com.apple.transporter.JSONService.invoke(JSONService.java:393)
at com.apple.transporter.WebService.invokeStandard(WebService.java:1244)
at com.apple.transporter.WebService.invokeStandard(WebService.java:1203)
at
[...]

PhoneGap Build: Error: NOT_FOUND_ERR (missing files)

When I try to use my app from PhoneGap Build, it seems to be missing images. When I check in the Chrome web inspector, it's also missing script files. Here are the errors:
cordova.js:314 Uncaught Error: NOT_FOUND_ERR
at fileService.js:77
at fail (FileEntry.js:88)
at Object.callbackFromNative (cordova.js:295)
at <anonymous>:1:9
cordova.js:312 Error in Error callbackId: File410316782 : Error: NOT_FOUND_ERR
cordova.js:314 Uncaught Error: NOT_FOUND_ERR
at fileService.js:77
at fail (FileEntry.js:88)
at Object.callbackFromNative (cordova.js:295)
at <anonymous>:1:9
.png:1 Failed to load resource: net::ERR_FILE_NOT_FOUND
I know I didn't fail to include this file, because it was working before.
Most issues like this, as well as "Upload Error [2]", can be solved in PhoneGap Build by deleting the app and re-uploading. Don't worry about losing anything, since all of your settings are in your config files. It seems that PhoneGap has a tendency to inadvertently retain or misplace files.
I tend to just delete my app and re-upload every time I need to run a build, so I don't have to waste time installing and opening the app, only to find out it's missing files.

Upgrade to new XCode; can't built in Xamarin

I think that one of the last XCode upgrades that came in last week appears to have broken my Xamarin iOS builds. They fail with:
Failed to locate a valid instance of CoreSimulatorService in the bootstrap. Adding it now.
Or
.../SignInUniversalController_iPhone.storyboard: Error: 2016-07-31 12:11:38.046 ibtoold[23284:2756861] [MT] IBPlatformTool: *** Failed to launch tool with description <IBCocoaTouchPlatformToolDescription: 0x7fce44256b20> System content 1x for IBCocoaTouchFramework-NineOneAndLater w/ default fidelity:
Failed to find or create execution context for description <IBCocoaTouchPlatformToolDescription: 0x7fce44256b20> System content 1x for IBCocoaTouchFramework-NineOneAndLater w/ default fidelity (Failure reason: Software caused connection abort): Failed to find a suitable device for the type SimDeviceType : com.apple.dt.Xcode.IBSimDeviceType.iPad-1x with runtime SimRuntime : 9.3 (13E230) - com.apple.CoreSimulator.SimRuntime.iOS-9-3 (Failure reason: Failed to create SimDeviceSet at path /Users/eric/Library/Developer/Xcode/UserData/IB Support/Simulator Devices. You'll want to check the logs in ~/Library/Logs/CoreSimulator to see why creating the SimDeviceSet failed.): Failed to initialize simulator device set. (Failure reason: Failed to subscribe to notifications from CoreSimulatorService.): Error returned in reply to notification request: Connection invalid (Failure reason: Software caused connection abort)
2016-07-31 12:11:46.096 ibtoold[23284:2756861] [MT] IBPlatformTool: Wrote failed marshalling request diagnostics to path: /var/folders/t9/t9xl93t50ql14mr0lxmmw_2r0000gn/T/IB-agent-diagnostics_2016-07-31_12-11-46_067000
Error: Internal error. Please file a bug at bugreport.apple.com and attach "/var/folders/t9/t9xl93t50ql14mr0lxmmw_2r0000gn/T/IB-agent-diagnostics_2016-07-31_12-11-46_067000".
The logs mentioned in the first error message doesn't appear to be more verbose than the above:
Failed to find or create execution context for description <IBCocoaTouchPlatformToolDescription: 0x7fce44256b20> System content 1x for IBCocoaTouchFramework-NineOneAndLater w/ default fidelity (Failure reason: Software caused connection abort): Failed to find a suitable device for the type SimDeviceType : com.apple.dt.Xcode.IBSimDeviceType.iPad-1x with runtime SimRuntime : 9.3 (13E230) - com.apple.CoreSimulator.SimRuntime.iOS-9-3 (Failure reason: Failed to create SimDeviceSet at path /Users/eric/Library/Developer/Xcode/UserData/IB Support/Simulator Devices. You'll want to check the logs in ~/Library/Logs/CoreSimulator to see why creating the SimDeviceSet failed.): Failed to initialize simulator device set. (Failure reason: Failed to subscribe to notifications from CoreSimulatorService.): Error returned in reply to notification request: Connection invalid (Failure reason: Software caused connection abort)
Error Domain=NSPOSIXErrorDomain Code=53 "Software caused connection abort" UserInfo={NSLocalizedDescription=Failed to find or create execution context for description <IBCocoaTouchPlatformToolDescription: 0x7fce44256b20> System content 1x for IBCocoaTouchFramework-NineOneAndLater w/ default fidelity, NSUnderlyingError=0x7fce44152c40 {Error Domain=NSPOSIXErrorDomain Code=53 "Software caused connection abort" UserInfo={NSUnderlyingError=0x7fce441b8150 {Error Domain=NSPOSIXErrorDomain Code=53 "Software caused connection abort" UserInfo={NSLocalizedFailureReason=Failed to subscribe to notifications from CoreSimulatorService., NSLocalizedDescription=Failed to initialize simulator device set., NSUnderlyingError=0x7fce44155b00 {Error Domain=NSPOSIXErrorDomain Code=53 "Software caused connection abort" UserInfo=0x7fce441c31b0 (not displayed)}}}, NSLocalizedFailureReason=Failed to create SimDeviceSet at path /Users/eric/Library/Developer/Xcode/UserData/IB Support/Simulator Devices. You'll want to check the logs in ~/Library/Logs/CoreSimulator to see why creating the SimDeviceSet failed., NSLocalizedDescription=Failed to find a suitable device for the type SimDeviceType : com.apple.dt.Xcode.IBSimDeviceType.iPad-1x with runtime SimRuntime : 9.3 (13E230) - com.apple.CoreSimulator.SimRuntime.iOS-9-3}}}
This is an iPhone project, but uses a Universal component; I note that since the above says iPad.
When it fails, it opens up the Storyboard editor and it appears to be OK there; there's nothing that seems surprising at first glance.
XCode: Version 7.3.1 (7D1014)
Xamarin: Latest Stable; no updates available
Any insight or thoughts? Thanks!

Xcode 7 beta 5 crashes when trying to sign Application

I have an Application that has a helper application made with node-webkit in in.
I can build and run the Application without problems but I cannot sign the whole Application. It seems that I am getting an error with the node-webkit application.
The strange part is, that it works with Xcode 6.3.2.
The error I am getting is:
2015-09-12 10:45:28 +0000 [MT] Failed to generate distribution items with error: Error Domain=DVTFoundationNSBundleAdditionsErrorDomain Code=1 "Couldn't load Info dictionary for <DVTFilePath:0x7fc7692dd460:'/Users/proslav/Library/Developer/Xcode/Archives/2015-09-12/timeBro 12.09.15 12.45.xcarchive/Products/Applications/timeBro.app/Contents/Resources/timeBroFront.app/Contents/Frameworks/node-webkit Framework.framework'>" UserInfo=0x7fc76b385380 {NSLocalizedDescription=Couldn't load Info dictionary for <DVTFilePath:0x7fc7692dd460:'/Users/proslav/Library/Developer/Xcode/Archives/2015-09-12/timeBro 12.09.15 12.45.xcarchive/Products/Applications/timeBro.app/Contents/Resources/timeBroFront.app/Contents/Frameworks/node-webkit Framework.framework'>}
2015-09-12 10:45:28 +0000 [MT] Presenting: Error Domain=DVTFoundationNSBundleAdditionsErrorDomain Code=1 "Couldn't load Info dictionary for <DVTFilePath:0x7fc7692dd460:'/Users/proslav/Library/Developer/Xcode/Archives/2015-09-12/timeBro 12.09.15 12.45.xcarchive/Products/Applications/timeBro.app/Contents/Resources/timeBroFront.app/Contents/Frameworks/node-webkit Framework.framework'>" UserInfo=0x7fc76b385380 {NSLocalizedDescription=Couldn't load Info dictionary for <DVTFilePath:0x7fc7692dd460:'/Users/proslav/Library/Developer/Xcode/Archives/2015-09-12/timeBro 12.09.15 12.45.xcarchive/Products/Applications/timeBro.app/Contents/Resources/timeBroFront.app/Contents/Frameworks/node-webkit Framework.framework'>}
I don't really understand what he is missing. What does he expect me to do?

Resources