I built an express/ejs application and turned it into an electron app. I can launch the app just fine using node commandline. However, I recently packaged the app using electron-packager and built it using electron-installer-windows. When I install the executable file I get the following error:
Your main.js file may not be configured properly. You can use sample electron application official template on github.
Electron sample application
Related
Following these instructions
I tried to run a new project on macOS(desktop) using Android Studio.
I get the following error:
Launching lib/main.dart on macOS in release mode... Finished with
error: Unable to get Xcode project information: xcodebuild: error:
The directory
/Users/current.user/Work/Playground/testout/flutter_app2/macos does
not contain an Xcode project, workspace or package.
I get the same issue if I run in the terminal flutter run --release -d macOS
Running on a simulator/device, works fine.
It doesn't sound like you followed the instructions for running a project other than the FDE example. A newly created Flutter project doesn't have support for running on desktop; you need to add that.
See also flutter.dev/desktop#create for information on the state of create and run for desktop.
I have ionic2 app that already works on (Android & IOS) platforms.
After I have copied the source folder to Win7 and downloaded the requirements
I did
1) ionic cordova platform add windows#6.0.0
2) 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 an empty app with splashscreen (contains cordova icon).
Here is the end of the second command
The cordova requirements
I have solved this issue by creating a new ionic app
ionic start MyIonicProject tutorial
and replaced the src folder and every thing what I need from my app with the current .
and after that
ionic cordova platform add windows#6.0.0
cordova run windows
It works like a charm :)
I tried every thing else and didn't get any result.
To build apps for Windows Universal, download and install Visual Studio 2015 Community Edition. During the installation, Select “Tools for Cross Platform Development” as well as the SDK for Windows Universal Apps.
With everything installed, you’ll be able to add a windows platform from the command line with this command:
ionic cordova platform add windows
By default the build command produces two packages: Windows 8.1 and Windows Phone 8.1, which Ionic does not support. To upgrade Windows package to version 10 the following configuration setting must be added to configuration file (config.xml).
<preference name="windows-target-version" value="10.0" />
My environment setup is:
Eclipse luna
Mobilefirst version 7.1.0.00-20151012-1525
OS windows 7
I am working on a app in which I have added IPhone environment and to deploy app on IPhone copied native folder to mac and using xcode to deploy but having following error.
/Users/sanketkulkarni/Library/Developer/Xcode/DerivedData/DemoDemoIphone-azvbaszihidylngstqhkzbapopkq/Build/Intermediates/DemoDemoIphone.build/Debug-iphoneos/DemoDemoIphone.build/Script-427B829D1393724500F223DC.sh: /Projects/sanket/06-04-2016/native/buildtime.sh: /bin/bash^M: bad interpreter: No such file or directory
Looks to me like the app is not actually built.
Make sure you have first select Run As -> Run on MobileFirst Development Server, and then copy the iphone\native folder.
Note though that it would be better if you will do your development on your Mac to begin with.
Is there a reason why you are developing on Windows/Linux, and then moving your code to Mac?
When trying to run the sample mac app included in the github repo for libspotify, I get the following error:
Could Not untar libspotify-12.1.45-Darwin-universal.zip
I have tried to download the zip myself by going to the Spotify developer page. However, this version is not shown.
What version should I download for building the sample mac app?
I want to build a phonegap project (on windows 8.1) for windows 8 but somehow I get an error. Building a Android project goes without any errors. When I run the command 'phonegap run windows8' I get the following error:
I also tried 'phonegap install windows8', same problem. I installed phonegap last week using 'npm install -g phonegap'. Maybe a stupid question, but how do I know I use the latest release (currently 2.9.1)? When I do 'phonegap version' it returns 3.3.0-0.18.0.
I installed cordova instead of phonegap in my command-line (npm install cordova). with cordova everything went just fine. I searched in the platform list of the phonegap install and noticed phonegap doesn't support windows 8. Very confusing since the phonegap website tells us to install phonegap instead of cordova. If anyone has question about building a app phonegap for windows 8 let me know.