Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Konstantin_R_
New Contributor I
4,704 Views

White screen after splash screen on android crosswalk

Jump to solution

Hi all!

On XDK 3088 show white flash ( white screen - short time) after splash screen fade out, this is only on android crosswalk, on ios all fine.

Any idea about it?

Tags (2)
0 Kudos
1 Solution
Nuno_A_
New Contributor I
4,704 Views

The workaround I found was to remove the fading:

<preference name="FadeSplashScreen" value="false"/>

 

View solution in original post

15 Replies
Nuno_A_
New Contributor I
4,704 Views

It also appears to me the same problem in Android.

Konstantin_R_
New Contributor I
4,704 Views

I have this problem on CLI 5.1.1 and 5.4.1

Nuno_A_
New Contributor I
4,704 Views

There is still no solution to this problem?

Konstantin_R_
New Contributor I
4,704 Views

Nuno A.

I build with CLI 5.1.1 and add to intelxdk.config.additions.xml:

<platform name="android">
    <!-- below requires the splash screen plugin -->
    <!-- docs: https://github.com/apache/cordova-plugin-splashscreen -->
    <preference name="SplashScreen" value="screen" />
    <preference name="AutoHideSplashScreen" value="false" />
    <preference name="SplashScreenDelay" value="10000" />
    <preference name="SplashMaintainAspectRatio" value="false" />
</platform>

This is solution for me, maybe this is work and with CLI 5.4.1 but I have not tried

Pamela_H_Intel
Moderator
4,704 Views

Nuno - does this solution work for you?

Nuno_A_
New Contributor I
4,704 Views

Pamela H. (Intel) wrote:

Nuno - does this solution work for you?

Not work, continue with the same problem.

I use the version 5.4.1

 

Nuno_A_
New Contributor I
4,705 Views

The workaround I found was to remove the fading:

<preference name="FadeSplashScreen" value="false"/>

 

View solution in original post

Mark_F_
Beginner
4,704 Views

I've tried all the above, yet I still get a "white screen" for about 2 secs after my splash screen shows and before my app content shows.

Is there any real solution to this?

It would appear in my view that this white screen is actually the crosswalk webview showing its default background before the app content is then loaded.

Any assistance would be appreciated.

PaulF_IntelCorp
Employee
4,704 Views
Mark_F_
Beginner
4,704 Views

Hi Paul,

I have actually already done this. For some odd reason however it appears that Intel XDK is completely ignoring what I put into intelxdk.config.additions.xml

The below is what I have in the intelxdk.config.additions.xml file:

<!-- Change the debuggable preference to true to build a remote CDT debuggable app for -->
<!-- Crosswalk apps on Android 4.0+ devices and Cordova apps on Android 4.4+ devices. -->
<preference name="debuggable" value="false" />
<preference name="android-minSdkVersion" value="15" />
<activity android:label="@string/fb_app_name" android:name="com.facebook.LoginActivity" android:theme="@android:style/Theme.NoDisplay"></activity>
<!--<activity android:windowSoftInputMode="adjustNothing">-->
<preference name="android-windowSoftInputMode" value="adjustNothing" />
<!-- IMPORTANT: set the debuggable preference to false before you build for the store! -->
<platform name="android">
    <preference name="SplashScreen" value="screen" />
    <preference name="ShowSplashScreen" value="true" />
    <preference name="AutoHideSplashScreen" value="false" />
    <preference name="SplashScreenDelay" value="30000" />
    <preference name="SplashMaintainAspectRatio" value="false" />
    <preference name="FadeSplashScreen" value="false" />
    <preference name="SplashShowOnlyFirstTime" value="false" />
    <preference name="BackgroundColor" value="0xFF222222" />
    <preference name="SplashScreenBackgroundColor" value="0xFF222222" />
    <preference name="FadeSplashScreenDuration" value="0" />
</platform>
<platform name="ios">
    <preference name="SplashScreen" value="screen" />
    <preference name="ShowSplashScreen" value="true" />
    <preference name="AutoHideSplashScreen" value="false" />
    <preference name="SplashScreenDelay" value="30000" />
    <preference name="SplashMaintainAspectRatio" value="false" />
    <preference name="FadeSplashScreen" value="false" />
    <preference name="SplashShowOnlyFirstTime" value="false" />
    <preference name="BackgroundColor" value="0xFF222222" />
    <preference name="SplashScreenBackgroundColor" value="0xFF222222" />
    <preference name="FadeSplashScreenDuration" value="0" />
</platform>
<icon platform="android" src="assets/icon/36x36.png" density="ldpi" width="36" height="36" />
<icon platform="android" src="assets/icon/48x48.png" density="mdpi" width="48" height="48" />
<icon platform="android" src="assets/icon/72x72.png" density="hdpi" width="72" height="72" />
<icon platform="android" src="assets/icon/96x96.png" density="xhdpi" width="96" height="96" />
<splash platform="android" src="assets/splash/960x720.png" density="xhdpi" width="960" height="720" orientation="landscape" />
<splash platform="android" src="assets/splash/640x480.png" density="hdpi" width="640" height="480" orientation="landscape" />
<splash platform="android" src="assets/splash/470x320.png" density="mdpi" width="470" height="320" orientation="landscape" />
<splash platform="android" src="assets/splash/426x320.png" density="ldpi" width="426" height="320" orientation="landscape" />
<splash platform="android" src="assets/splash/720x960.png" density="xhdpi" width="720" height="960" orientation="portrait" />
<splash platform="android" src="assets/splash/480x640.png" density="hdpi" width="480" height="640" orientation="portrait" />
<splash platform="android" src="assets/splash/320x470.png" density="mdpi" width="320" height="470" orientation="portrait" />
<splash platform="android" src="assets/splash/320x426.png" density="ldpi" width="320" height="426" orientation="portrait" />
<icon platform="ios" src="assets/icon/29x29.png" width="29" height="29" />
<icon platform="ios" src="assets/icon/58x58.png" width="58" height="58" />
<icon platform="ios" src="assets/icon/87x87.png" width="87" height="87" />
<icon platform="ios" src="assets/icon/60x60.png" width="60" height="60" />
<icon platform="ios" src="assets/icon/120x120.png" width="120" height="120" />
<icon platform="ios" src="assets/icon/180x180.png" width="180" height="180" />
<icon platform="ios" src="assets/icon/76x76.png" width="76" height="76" />
<icon platform="ios" src="assets/icon/152x152.png" width="152" height="152" />
<icon platform="ios" src="assets/icon/40x40.png" width="40" height="40" />
<icon platform="ios" src="assets/icon/80x80.png" width="80" height="80" />
<icon platform="ios" src="assets/icon/57x57.png" width="57" height="57" />
<icon platform="ios" src="assets/icon/114x114.png" width="114" height="114" />
<icon platform="ios" src="assets/icon/72x72.png" width="72" height="72" />
<icon platform="ios" src="assets/icon/144x144.png" width="144" height="144" />
<icon platform="ios" src="assets/icon/50x50.png" width="50" height="50" />
<icon platform="ios" src="assets/icon/100x100.png" width="100" height="100" />
<splash platform="ios" src="assets/splash/2048x1536.png" width="2048" height="1536" orientation="landscape" />
<splash platform="ios" src="assets/splash/2208x1242.png" width="2208" height="1242" orientation="landscape" />
<splash platform="ios" src="assets/splash/1334x750.png" width="1334" height="750" orientation="landscape" />
<splash platform="ios" src="assets/splash/1024x768.png" width="1024" height="768" orientation="landscape" />
<splash platform="ios" src="assets/splash/1536x2048.png" width="1536" height="2048" orientation="portrait" />
<splash platform="ios" src="assets/splash/1242x2208.png" width="1242" height="2208" orientation="portrait" />
<splash platform="ios" src="assets/splash/750x1334.png" width="750" height="1334" orientation="portrait" />
<splash platform="ios" src="assets/splash/640x1136.png" width="640" height="1136" orientation="portrait" />
<splash platform="ios" src="assets/splash/640x960.png" width="640" height="960" orientation="portrait" />
<splash platform="ios" src="assets/splash/320x480.png" width="320" height="480" orientation="portrait" />
<splash platform="ios" src="assets/splash/768x1024.png" width="768" height="1024" orientation="portrait" />

 

However when I send for build and get back the built APK and install on device...

1. My icons are not used, instead its showing the default cordova icon

2. Instead of my splashscreen, I see the default cordova splashscreen

3. The default cordova splashscreen comes up, then goes away on its own (ignoring the fact that I set auto hide to false)

4. I get the white screen after the splashscreen goes away and before my app content is visible.

 

Even if I remove the "<splash .." and "<icon ..." elements from intelxdk.config.additions.xml and use the XDK's "Launch Icons and Splash Screen" section in build settings, then I do get my own icons and splash screen, however the same issue with regards to my AutoHideSplashScreen and  FadeSplashScreen settings in intelxdk.config.additions.xml are still being completely ignored.

 

I am using the latest XDK version, using crosswalk 17 (also tried 16 and 15), using CLI 5.4.1. Below is a copy of the latest build log:

Calling plugman.fetch on plugin ".../cachedPlugins.37MSP_.tmp/cache.qpaL3i.pl/cordova-plugin-device"
Copying plugin ".../cachedPlugins.37MSP_.tmp/cache.qpaL3i.pl/cordova-plugin-device" => ".../cordova_project/plugins/cordova-plugin-device"
Calling plugman.install on plugin ".../cordova_project/plugins/cordova-plugin-device" for platform "android
Installing "cordova-plugin-device" for android
Running command: .../cordova_project/platforms/android/cordova/version 
Command finished with error code 0: .../cordova_project/platforms/android/cordova/version 
Install start for "cordova-plugin-device" on android.
Install complete for cordova-plugin-device on android.
Searching PlatformJson files for differences between project vs. platform installed plugins
No differences found between project and android platform. Continuing...
Generating config.xml from defaults for platform "android"
Wrote out Android application name to "TrainingTime"
Wrote out Android package name to "za.co.trainingtime.app"
This app does not have launcher icons defined
updated project successfully
Calling plugman.fetch on plugin ".../cachedPlugins.37MSP_.tmp/cache.qbIBiP.pl/cordova-plugin-googleplus"
Copying plugin ".../cachedPlugins.37MSP_.tmp/cache.qbIBiP.pl/cordova-plugin-googleplus" => ".../cordova_project/plugins/cordova-plugin-googleplus"
Calling plugman.install on plugin ".../cordova_project/plugins/cordova-plugin-googleplus" for platform "android
Installing "cordova-plugin-googleplus" for android
Running command: .../cordova_project/platforms/android/cordova/version 
Command finished with error code 0: .../cordova_project/platforms/android/cordova/version 
Install start for "cordova-plugin-googleplus" on android.
Install complete for cordova-plugin-googleplus on android.
Searching PlatformJson files for differences between project vs. platform installed plugins
No differences found between project and android platform. Continuing...
Generating config.xml from defaults for platform "android"
Wrote out Android application name to "*** REMOVED ***"
Wrote out Android package name to "*** REMOVED ***"
This app does not have launcher icons defined
updated project successfully
Calling plugman.fetch on plugin ".../cachedPlugins.37MSP_.tmp/cache.BuRBs5.pl/com.intel.security"
Copying plugin ".../cachedPlugins.37MSP_.tmp/cache.BuRBs5.pl/com.intel.security" => ".../cordova_project/plugins/com.intel.security"
Calling plugman.install on plugin ".../cordova_project/plugins/com.intel.security" for platform "android
Installing "com.intel.security" for android
Running command: .../cordova_project/platforms/android/cordova/version 
Command finished with error code 0: .../cordova_project/platforms/android/cordova/version 
Install start for "com.intel.security" on android.
Install complete for com.intel.security on android.
Searching PlatformJson files for differences between project vs. platform installed plugins
No differences found between project and android platform. Continuing...
Generating config.xml from defaults for platform "android"
Wrote out Android application name to "TrainingTime"
Wrote out Android package name to "*** REMOVED ***"
This app does not have launcher icons defined
updated project successfully
Calling plugman.fetch on plugin ".../cachedPlugins.37MSP_.tmp/cache.LS7nAi.pl/cordova-plugin-screen-orientation"
Copying plugin ".../cachedPlugins.37MSP_.tmp/cache.LS7nAi.pl/cordova-plugin-screen-orientation" => ".../cordova_project/plugins/cordova-plugin-screen-orientation"
Calling plugman.install on plugin ".../cordova_project/plugins/cordova-plugin-screen-orientation" for platform "android
Installing "cordova-plugin-screen-orientation" for android
Running command: .../cordova_project/platforms/android/cordova/version 
Command finished with error code 0: .../cordova_project/platforms/android/cordova/version 
Install start for "cordova-plugin-screen-orientation" on android.
Install complete for cordova-plugin-screen-orientation on android.
Searching PlatformJson files for differences between project vs. platform installed plugins
No differences found between project and android platform. Continuing...
Generating config.xml from defaults for platform "android"
Wrote out Android application name to "*** REMOVED ***"
Wrote out Android package name to "*** REMOVED ***"
This app does not have launcher icons defined
updated project successfully
Calling plugman.fetch on plugin ".../cachedPlugins.37MSP_.tmp/cache.JuFsF2.pl/ionic-plugin-keyboard"
Copying plugin ".../cachedPlugins.37MSP_.tmp/cache.JuFsF2.pl/ionic-plugin-keyboard" => ".../cordova_project/plugins/ionic-plugin-keyboard"
Calling plugman.install on plugin ".../cordova_project/plugins/ionic-plugin-keyboard" for platform "android
Installing "ionic-plugin-keyboard" for android
Running command: .../cordova_project/platforms/android/cordova/version 
Command finished with error code 0: .../cordova_project/platforms/android/cordova/version 
Install start for "ionic-plugin-keyboard" on android.
Install complete for ionic-plugin-keyboard on android.
Searching PlatformJson files for differences between project vs. platform installed plugins
No differences found between project and android platform. Continuing...
Generating config.xml from defaults for platform "android"
Wrote out Android application name to "*** REMOVED ***"
Wrote out Android package name to "*** REMOVED ***"
This app does not have launcher icons defined
updated project successfully
Calling plugman.fetch on plugin ".../cachedPlugins.37MSP_.tmp/cache.MytN6j.pl/cordova-plugin-fullscreen"
Copying plugin ".../cachedPlugins.37MSP_.tmp/cache.MytN6j.pl/cordova-plugin-fullscreen" => ".../cordova_project/plugins/cordova-plugin-fullscreen"
Calling plugman.install on plugin ".../cordova_project/plugins/cordova-plugin-fullscreen" for platform "android
Installing "cordova-plugin-fullscreen" for android
Running command: .../cordova_project/platforms/android/cordova/version 
Command finished with error code 0: .../cordova_project/platforms/android/cordova/version 
Install start for "cordova-plugin-fullscreen" on android.
Install complete for cordova-plugin-fullscreen on android.
Searching PlatformJson files for differences between project vs. platform installed plugins
No differences found between project and android platform. Continuing...
Generating config.xml from defaults for platform "android"
Wrote out Android application name to "*** REMOVED ***"
Wrote out Android package name to "*** REMOVED ***"
This app does not have launcher icons defined
updated project successfully
Calling plugman.fetch on plugin ".../cachedPlugins.37MSP_.tmp/cache.aiBcin.pl/cordova-plugin-facebook4"
Copying plugin ".../cachedPlugins.37MSP_.tmp/cache.aiBcin.pl/cordova-plugin-facebook4" => ".../cordova_project/plugins/cordova-plugin-facebook4"
Calling plugman.install on plugin ".../cordova_project/plugins/cordova-plugin-facebook4" for platform "android
Installing "cordova-plugin-facebook4" for android
Running command: .../cordova_project/platforms/android/cordova/version 
Command finished with error code 0: .../cordova_project/platforms/android/cordova/version 
Install start for "cordova-plugin-facebook4" on android.
Install complete for cordova-plugin-facebook4 on android.
Searching PlatformJson files for differences between project vs. platform installed plugins
No differences found between project and android platform. Continuing...
Generating config.xml from defaults for platform "android"
Wrote out Android application name to "*** RMEOVED ***"
Wrote out Android package name to "*** REMOVED ***"
This app does not have launcher icons defined
updated project successfully
Calling plugman.fetch on plugin ".../cachedPlugins.37MSP_.tmp/cache.vsakWL.pl/cordova-plugin-splashscreen"
Copying plugin ".../cachedPlugins.37MSP_.tmp/cache.vsakWL.pl/cordova-plugin-splashscreen" => ".../cordova_project/plugins/cordova-plugin-splashscreen"
Calling plugman.install on plugin ".../cordova_project/plugins/cordova-plugin-splashscreen" for platform "android
Installing "cordova-plugin-splashscreen" for android
Running command: .../cordova_project/platforms/android/cordova/version 
Command finished with error code 0: .../cordova_project/platforms/android/cordova/version 
Install start for "cordova-plugin-splashscreen" on android.
Install complete for cordova-plugin-splashscreen on android.
Searching PlatformJson files for differences between project vs. platform installed plugins
No differences found between project and android platform. Continuing...
Generating config.xml from defaults for platform "android"
Wrote out Android application name to "*** REMOVED ***"
Wrote out Android package name to "*** REMOVED ***"
This app does not have launcher icons defined
updated project successfully
Calling plugman.fetch on plugin ".../cachedPlugins.37MSP_.tmp/cache.jJ0h0b.pl/cordova-plugin-whitelist"
Copying plugin ".../cachedPlugins.37MSP_.tmp/cache.jJ0h0b.pl/cordova-plugin-whitelist" => ".../cordova_project/plugins/cordova-plugin-whitelist"
Calling plugman.install on plugin ".../cordova_project/plugins/cordova-plugin-whitelist" for platform "android
Installing "cordova-plugin-whitelist" for android
Running command: .../cordova_project/platforms/android/cordova/version 
Command finished with error code 0: .../cordova_project/platforms/android/cordova/version 
Install start for "cordova-plugin-whitelist" on android.
Install complete for cordova-plugin-whitelist on android.

               This plugin is only applicable for versions of cordova-android greater than 4.0. If you have a previous platform version, you do *not* need this plugin since the whitelist will be built in.
          
Searching PlatformJson files for differences between project vs. platform installed plugins
No differences found between project and android platform. Continuing...
Generating config.xml from defaults for platform "android"
Wrote out Android application name to "*** REMOVED ***"
Wrote out Android package name to "*** REMOVED ***"
This app does not have launcher icons defined
updated project successfully
Calling plugman.fetch on plugin ".../cachedPlugins.37MSP_.tmp/cache.Ung775.pl/cordova-plugin-crosswalk-webview"
Copying plugin ".../cachedPlugins.37MSP_.tmp/cache.Ung775.pl/cordova-plugin-crosswalk-webview" => ".../cordova_project/plugins/cordova-plugin-crosswalk-webview"
Calling plugman.install on plugin ".../cordova_project/plugins/cordova-plugin-crosswalk-webview" for platform "android
Installing "cordova-plugin-crosswalk-webview" for android
Running command: .../cordova_project/platforms/android/cordova/version 
Command finished with error code 0: .../cordova_project/platforms/android/cordova/version 
Install start for "cordova-plugin-crosswalk-webview" on android.
Install complete for cordova-plugin-crosswalk-webview on android.
Searching PlatformJson files for differences between project vs. platform installed plugins
No differences found between project and android platform. Continuing...
Generating config.xml from defaults for platform "android"
Wrote out Android application name to "*** REMOVED ***"
Wrote out Android package name to "*** REMOVED ***"
This app does not have launcher icons defined
updated project successfully
Searching PlatformJson files for differences between project vs. platform installed plugins
No differences found between project and android platform. Continuing...
Generating config.xml from defaults for platform "android"
Wrote out Android application name to "*** REMOVED ***"
Wrote out Android package name to "*** REMOVED ***"
This app does not have launcher icons defined
updated project successfully
************* Processing the main config.xml file (after_prepare)  *****************
App Directory = [.../cordova_project]
Will process and update the following config files:
    Config.xml = [.../cordova_project/config.xml]
Namespaces:
    prefix/uri ''/'http://www.w3.org/ns/widgets'
    prefix/uri 'intelxdk'/'http://xdk.intel.com/ns/v1'
Android Manifest Namespaces:
    prefix/uri 'android'/'http://schemas.android.com/apk/res/android'
Name of the app is [*** REMOVED ***]
Updating full app name to [*** REMOVED ***]
Processing preference android-minSdkVersion [15]
Processing preference android-targetSdkVersion [23]
Processing preference android-installLocation [auto]
Processing preference permissions
Updating the versionCode
Updating the versionName
Processing debuggable
Added [{http://schemas.android.com/apk/res/android}debuggable] with [false]
Processing config file values
Saving config.xml to [.../cordova_project/config.xml]
************* Completed processing the main config.xml file (after_prepare)  *****************
ANDROID_HOME=.../android-sdk
JAVA_HOME=/usr/lib/jvm/java-8-oracle-amd64
embedded
WARNING [Project: :] Current NDK support is deprecated.  Alternative will be provided in the future.
WARNING [Project: :] Current NDK support is deprecated.  Alternative will be provided in the future.
WARNING [Project: :] Current NDK support is deprecated.  Alternative will be provided in the future.
WARNING [Project: :] Current NDK support is deprecated.  Alternative will be provided in the future.
org.xwalk:xwalk_core_library:17+
:preBuild
:compileArmv7ReleaseNdk
:preArmv7ReleaseBuild
:checkArmv7ReleaseManifest
:preX86ReleaseBuild
:CordovaLib:compileLint
:CordovaLib:copyReleaseLint UP-TO-DATE
:CordovaLib:mergeReleaseProguardFiles
:CordovaLib:preBuild
:CordovaLib:preReleaseBuild
:CordovaLib:checkReleaseManifest
:CordovaLib:prepareReleaseDependencies
:CordovaLib:compileReleaseAidl
:CordovaLib:compileReleaseRenderscript
:CordovaLib:generateReleaseBuildConfig
:CordovaLib:generateReleaseAssets UP-TO-DATE
:CordovaLib:mergeReleaseAssets
:CordovaLib:generateReleaseResValues
:CordovaLib:generateReleaseResources
:CordovaLib:packageReleaseResources
:CordovaLib:processReleaseManifest
:CordovaLib:processReleaseResources
:CordovaLib:generateReleaseSources
:CordovaLib:compileReleaseJavaNote: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

:CordovaLib:processReleaseJavaRes UP-TO-DATE
:CordovaLib:packageReleaseJar
:CordovaLib:compileReleaseNdk
:CordovaLib:packageReleaseJniLibs UP-TO-DATE
:CordovaLib:packageReleaseLocalJar UP-TO-DATE
:CordovaLib:packageReleaseRenderscript UP-TO-DATE
:CordovaLib:bundleRelease
:prepareAndroidCordovaLibUnspecifiedReleaseLibrary
:preArmv7DebugBuild
:preX86DebugBuild
:CordovaLib:copyDebugLint UP-TO-DATE
:CordovaLib:mergeDebugProguardFiles
:CordovaLib:preDebugBuild
:CordovaLib:checkDebugManifest
:CordovaLib:prepareDebugDependencies
:CordovaLib:compileDebugAidl
:CordovaLib:compileDebugRenderscript
:CordovaLib:generateDebugBuildConfig
:CordovaLib:generateDebugAssets UP-TO-DATE
:CordovaLib:mergeDebugAssets
:CordovaLib:generateDebugResValues
:CordovaLib:generateDebugResources
:CordovaLib:packageDebugResources
:CordovaLib:processDebugManifest
:CordovaLib:processDebugResources
:CordovaLib:generateDebugSources
:CordovaLib:compileDebugJavaNote: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

:CordovaLib:processDebugJavaRes UP-TO-DATE
:CordovaLib:packageDebugJar
:CordovaLib:compileDebugNdk
:CordovaLib:packageDebugJniLibs UP-TO-DATE
:CordovaLib:packageDebugLocalJar UP-TO-DATE
:CordovaLib:packageDebugRenderscript UP-TO-DATE
:CordovaLib:bundleDebug
:prepareComAndroidSupportCardviewV72321Library
:prepareComAndroidSupportCustomtabs2321Library
:prepareComAndroidSupportSupportV42400Library
:prepareComFacebookAndroidFacebookAndroidSdk4110Library
:prepareComGoogleAndroidGmsPlayServicesAuth920Library
:prepareComGoogleAndroidGmsPlayServicesAuthBase920Library
:prepareComGoogleAndroidGmsPlayServicesBase920Library
:prepareComGoogleAndroidGmsPlayServicesBasement920Library
:prepareComGoogleAndroidGmsPlayServicesIdentity920Library
:prepareComGoogleAndroidGmsPlayServicesTasks920Library
:prepareOrgXwalkXwalk_core_library174644810Library
:prepareArmv7ReleaseDependencies
:compileArmv7ReleaseAidl
:compileArmv7ReleaseRenderscript
:generateArmv7ReleaseBuildConfig
:generateArmv7ReleaseAssets UP-TO-DATE
:mergeArmv7ReleaseAssets
:createXwalkCommandLineFileArmv7Release
:generateArmv7ReleaseResValues
:generateArmv7ReleaseResources
:mergeArmv7ReleaseResources
:processArmv7ReleaseManifest
:processArmv7ReleaseResources
:generateArmv7ReleaseSources
:compileArmv7ReleaseJavaNote: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

:preDexArmv7Release
:dexArmv7Release
:processArmv7ReleaseJavaRes UP-TO-DATE
:packageArmv7Release
:assembleArmv7Release
:compileX86ReleaseNdk
:checkX86ReleaseManifest
:prepareX86ReleaseDependencies
:compileX86ReleaseAidl
:compileX86ReleaseRenderscript
:generateX86ReleaseBuildConfig
:generateX86ReleaseAssets UP-TO-DATE
:mergeX86ReleaseAssets
:createXwalkCommandLineFileX86Release
:generateX86ReleaseResValues
:generateX86ReleaseResources
:mergeX86ReleaseResources
:processX86ReleaseManifest
:processX86ReleaseResources
:generateX86ReleaseSources
:compileX86ReleaseJavaNote: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

:preDexX86Release
:dexX86Release
:processX86ReleaseJavaRes UP-TO-DATE
:packageX86Release
:assembleX86Release
:assembleRelease
:cdvBuildRelease

BUILD SUCCESSFUL

Total time: 1 mins 59.905 secs
Built the following apk(s): 
	
Mark_F_
Beginner
4,704 Views

Managed to get XDK to start honouring my settings in the additions file by deleting everything in the XDK cache folder, deleting all project files off server and re-launching XDK.

It is now working as intended.

I must say though, it is still quite annoying since the norm these days is to steer clear of splash screens where possible. I would prefer not to use a splash screen, but now am forced to, simply to have something show while crosswalk loads and thus hide crosswalk's white webview.

So, I'm still open to any other suggestions there may be to prevent this in a more efficient manner. Thanks.

Mark_F_
Beginner
4,704 Views

One more issue, the app is set to Full Screen in the build settings, and I'm using the cordova full screen plugin.

This works fine and the app goes full screen no problem, except that the splash screen is not full screen. The status bar shows the whole time the splash screen is open, then when the splash screen closes my app goes full screen.

Any ideas why that may be?

PaulF_IntelCorp
Employee
4,704 Views

The splash screen is a Cordova feature, not an Intel XDK feature. It's a bit of a hack and I'm not surprised that it is not honoring the full-screen versus display status bar. Unless there is a splash screen option that controls that behavior, I don't see an easy way to fix that "bug."

Mark_F_
Beginner
4,704 Views

There appears to be an issue with setting the xWalk web view background.

<preference name="BackgroundColor" value="0xFF222222" /> should set the background of the webview to grey, but instead it is white, if you set it to 0x00000000 it will go black, if you set to 0x00222222 you still get black.

I want the color to be a specific red, RGB (#ed1c24), so I tried with both 0x00ed1c24 and 0xffed1c24 this simply makes the webview black or white respectively.

PaulF_IntelCorp
Employee
4,704 Views

Try doing the same with an app that is built WITHOUT Crosswalk, to confirm that the mechanism works. The same mechanism is being used by Cordova for the native webview. If you can make it work with the native webview (aka built without Crosswalk) and it fails with Crosswalk, then we can provide a hard example to the Crosswalk team regarding the issue. That is the best way to get it fixed.

Reply