Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70440

Ionic apk build errors

$
0
0

@silu44 wrote:

I’m trying to add platform so that i can build apk file for my app

C:\sudafax> cordova platform add android
Using cordova-fetch for cordova-android@^6.4.0
Adding android project...
Creating Cordova project for the Android platform:
        Path: platforms\android
        Package: com.sudafax.dailynews
        Name: ________
        Activity: MainActivity
        Android target: android-26
Subproject Path: CordovaLib
Android project created with cordova-android@6.4.0
config file *-Info.plist requested for changes not found at F:\Ionic\New\sudafax\platforms\android\*-Info.plist, ignoring
config file *-Info.plist requested for changes not found at F:\Ionic\New\sudafax\platforms\android\*-Info.plist, ignoring
Installing "cordova-admob-sdk" for android
Subproject Path: CordovaLib
Installing "cordova-android-play-services-gradle-release" for android
Subproject Path: CordovaLib
Failed to install 'cordova-android-play-services-gradle-release': CordovaError: Using "requireCordovaModule" to load non-cordova module "q" is not supported. Instead, add this module to your dependencies and use regular "require" to load it.
    at Context.requireCordovaModule (C:\Users\Codedev\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\hooks\Context.js:57:15)
    at module.exports (F:\Ionic\New\sudafax\plugins\cordova-android-play-services-gradle-release\scripts\apply-changes.js:87:20)
    at runScriptViaModuleLoader (C:\Users\Codedev\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\hooks\HooksRunner.js:181:32)
    at runScript (C:\Users\Codedev\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\hooks\HooksRunner.js:157:16)
    at C:\Users\Codedev\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\hooks\HooksRunner.js:125:20
    at process._tickCallback (internal/process/next_tick.js:68:7)
Using "requireCordovaModule" to load non-cordova module "q" is not supported. Instead, add this module to your dependencies and use regular "require" to load it.

Posts: 6

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 70440

Trending Articles



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