Giter Site home page Giter Site logo

Comments (13)

janpio avatar janpio commented on July 17, 2024 2

Please create a new (Ionic) project, add the windows platform and try to build that one. Does that work?

from cordova-windows.

ThaierAlkhateeb avatar ThaierAlkhateeb commented on July 17, 2024 1

I will try that .
Many thanks

from cordova-windows.

ThaierAlkhateeb avatar ThaierAlkhateeb commented on July 17, 2024 1

I really thank you .
It works right now ,I have made a new ionic project and copied the source and packages from my app to this and it works like a charm.
Liebe Grüße

from cordova-windows.

janpio avatar janpio commented on July 17, 2024

What cordova-windows version are you using?
What operating system are you using?

What is your ionic info output?

from cordova-windows.

ThaierAlkhateeb avatar ThaierAlkhateeb commented on July 17, 2024

`
cli packages: (C:\Users\test\AppData\Roaming\npm\node_modules)

@ionic/cli-utils  : 1.19.2
ionic (Ionic CLI) : 3.20.0

global packages:

cordova (Cordova CLI) : 8.0.0

local packages:

@ionic/app-scripts : 3.1.10
Cordova Platforms  : windows 6.0.0
Ionic Framework    : ionic-angular 3.9.2

System:

Node : v8.11.3
npm  : 3.10.10
OS   : Windows 7

Environment Variables:

ANDROID_HOME : not set

Misc:

backend : pro

`

from cordova-windows.

ThaierAlkhateeb avatar ThaierAlkhateeb commented on July 17, 2024

I did
`1) cordova platform add [email protected]

  1. cordova build windows -- --appx=8.1-phone`

I got a .sln file in platform/windows folder and output in platforms/windows/AppPackages folder.

but the output .appx file was too small (3.625 K) just like HellowWorld app with cordova icon.

Am I in the right way or did I messed up? How can I do that using VS2017

from cordova-windows.

janpio avatar janpio commented on July 17, 2024

Windows 7 doesn't match the requirements of cordova-windows. You need 8.1 or 10.

from cordova-windows.

ThaierAlkhateeb avatar ThaierAlkhateeb commented on July 17, 2024

My app right did build and run but it runs an empty app it just like a HellowWorld app with a cordova splachscreen logo :(

from cordova-windows.

janpio avatar janpio commented on July 17, 2024

Then seems it didn't copy over the app to the www folder of the platform.

Does emulating the app work?
What exact command are you using to build?

from cordova-windows.

ThaierAlkhateeb avatar ThaierAlkhateeb commented on July 17, 2024

You are right the www folder is empty but my src folder contains every thing.
I used VS2017 to build my app.
And also tried that from command prompt using this command
cordova build windows --appx=10-phone
the same result

from cordova-windows.

ThaierAlkhateeb avatar ThaierAlkhateeb commented on July 17, 2024

By the way it emulates and the output is too small(.appx ) and it just like hellowWorld app
it has only cordova icon in splachscreen then white screen

from cordova-windows.

ThaierAlkhateeb avatar ThaierAlkhateeb commented on July 17, 2024

here is my output
https://ibb.co/jtNNcJ

from cordova-windows.

janpio avatar janpio commented on July 17, 2024

Wunderbar.

Awesome I could be of help :)

from cordova-windows.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.