@batur wrote:
I use “ionic serve”, my app runs well, but when I build the app, run command “cordova build android”, it has the error below
No scripts found for hook "before_build". No scripts found for hook "before_prepare". Checking config.xml and package.json for saved platforms that haven't been added to the project Config.xml and package.json platforms are the same. No pkg.json modification. Package.json and config.xml platforms are different. Updating config.xml with most current list of platforms. PlatformApi successfully found for platform android Checking config.xml for saved plugins that haven't been added to the project Checking for any plugins added to the project that have not been installed in android platform No differences found between plugins added to project and installed in android platform. Continuing... Generating platform-specific config.xml from defaults for android at /Users/batur/Project/javascript/ionic/myApp/platforms/android/res/xml/config.xml Error: Unexpected close tag Line: 15 Column: 15 Char: >
I checked the all config.xml file, it looks fine. Did anyone have similar error?
my “ionic info” is belowcli packages: (/usr/local/lib/node_modules) @ionic/cli-utils : 1.18.0 ionic (Ionic CLI) : 3.18.0 global packages: cordova (Cordova CLI) : 7.1.0 local packages: @ionic/app-scripts : 3.0.1 Cordova Platforms : android 6.3.0 ios 4.5.2 Ionic Framework : ionic-angular 3.8.0 System: Android SDK Tools : 26.1.1 ios-deploy : 1.9.2 Node : v8.6.0 npm : 4.6.1 OS : macOS Sierra Xcode : Xcode 9.0.1 Build version 9A1004
Posts: 1
Participants: 1