Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 228595

The app looks different at real device

$
0
0

Hi, I have tried to install the crosswalk, but the app with the crosswalk crashes.
Can you please check crash screenshot and logs of following commands?
Thanks.

ionic browser add crosswalk

Adding crosswalk browser
Info
Cordova CLI v5.0 no longer requires you to use the ionic browser command to get Crosswalk installed
The ionic browser command will install Cordova Android, the Crosswalk plugin, the whitelist plugin, and the splashscreen plugin for your convenience.
Due to this, if you need to specify a version of Crosswalk, see this link: https://github.com/crosswalk-project/cordova-plugin-crosswalk-webview#configure
Enjoy! :smile:
Added Android
Added Crosswalk plugin
Added whitelist plugin
Added splash screen plugin
Completed installing Crosswalk

ionic run android

∆ Compiling Sass to CSS
√ Matching patterns: app/app.+(ios|md).scss

∆ Copying fonts
√ Matching patterns: node_modules/ionic-framework/fonts/**/*.ttf

∆ Copying HTML
√ Matching patterns: app/**/*.html

∆ Compiling and bundling with Webpack...
√ Using your webpack.config.js file
√ Sass compilation complete
√ Fonts copied to www/build/fonts
√ HTML copied to www/build
√ Compiling files complete.

Hash: 9794d9c21537a76527b3
Version: webpack 1.12.10
Time: 7366ms
Asset Size Chunks Chunk Names
app.bundle.js 2.58 MB 0 [emitted] main
[0] multi main 76 bytes {0} [built]
+ 353 hidden modules

√ Webpack complete

Running command: /Applications/XAMPP/htdocs/working/time-sheet/angular2/hooks/after_prepare/010_add_platform_class.js /Applications/XAMPP/htdocs/working/time-sheet/angular2
add to body class: platform-android
Running command: /Applications/XAMPP/htdocs/working/time-sheet/angular2/platforms/android/cordova/run
ANDROID_HOME=/Users/admin/Library/Android/sdk
JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_66.jdk/Contents/Home
WARNING : No target specified, deploying to device '192.168.56.101:5555'.
Running: /Applications/XAMPP/xamppfiles/htdocs/working/time-sheet/angular2/platforms/android/gradlew cdvBuildDebug -b /Applications/XAMPP/xamppfiles/htdocs/working/time-sheet/angular2/platforms/android/build.gradle -PcdvBuildArch=x86 -Dorg.gradle.daemon=true
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:16+
:preBuild
:compileX86DebugNdk
:preX86DebugBuild
:checkX86DebugManifest
:preArmv7DebugBuild
:CordovaLib:compileLint
:CordovaLib:copyDebugLint UP-TO-DATE
:CordovaLib:mergeDebugProguardFiles UP-TO-DATE
:CordovaLib:preBuild
:CordovaLib:preDebugBuild
:CordovaLib:checkDebugManifest
:CordovaLib:prepareDebugDependencies
:CordovaLib:compileDebugAidl UP-TO-DATE
:CordovaLib:compileDebugRenderscript UP-TO-DATE
:CordovaLib:generateDebugBuildConfig UP-TO-DATE
:CordovaLib:generateDebugAssets UP-TO-DATE
:CordovaLib:mergeDebugAssets UP-TO-DATE
:CordovaLib:generateDebugResValues UP-TO-DATE
:CordovaLib:generateDebugResources UP-TO-DATE
:CordovaLib:packageDebugResources UP-TO-DATE
:CordovaLib:processDebugManifest UP-TO-DATE
:CordovaLib:processDebugResources UP-TO-DATE
:CordovaLib:generateDebugSources UP-TO-DATE
:CordovaLib:compileDebugJava UP-TO-DATE
:CordovaLib:processDebugJavaRes UP-TO-DATE
:CordovaLib:packageDebugJar UP-TO-DATE
:CordovaLib:compileDebugNdk UP-TO-DATE
:CordovaLib:packageDebugJniLibs UP-TO-DATE
:CordovaLib:packageDebugLocalJar UP-TO-DATE
:CordovaLib:packageDebugRenderscript UP-TO-DATE
:CordovaLib:bundleDebug UP-TO-DATE
:prepareAndroidCordovaLibUnspecifiedDebugLibrary UP-TO-DATE
:preArmv7ReleaseBuild
:preX86ReleaseBuild
:CordovaLib:copyReleaseLint UP-TO-DATE
:CordovaLib:mergeReleaseProguardFiles
: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
:prepareComAndroidSupportSupportV42311Library
:prepareOrgXwalkXwalk_core_library164542119Library
:prepareX86DebugDependencies
:compileX86DebugAidl
:compileX86DebugRenderscript
:generateX86DebugBuildConfig
:generateX86DebugAssets UP-TO-DATE
:mergeX86DebugAssets
:createXwalkCommandLineFileX86Debug
:generateX86DebugResValues
:generateX86DebugResources
:mergeX86DebugResources
:processX86DebugManifest
:processX86DebugResources
:generateX86DebugSources
:compileX86DebugJavaNote: /Applications/XAMPP/xamppfiles/htdocs/working/time-sheet/angular2/platforms/android/src/org/apache/cordova/splashscreen/SplashScreen.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

:preDexX86Debug
:dexX86Debug
:processX86DebugJavaRes UP-TO-DATE
:validateDebugSigning
:packageX86Debug
:zipalignX86Debug
:assembleX86Debug
:cdvBuildDebug

BUILD SUCCESSFUL

Total time: 39.196 secs
Built the following apk(s):
/Applications/XAMPP/xamppfiles/htdocs/working/time-sheet/angular2/platforms/android/build/outputs/apk/android-x86-debug.apk
Using apk: /Applications/XAMPP/xamppfiles/htdocs/working/time-sheet/angular2/platforms/android/build/outputs/apk/android-x86-debug.apk
Installing app on device...
Launching application...
LAUNCH SUCCESS


Viewing all articles
Browse latest Browse all 228595

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>